| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | mptcp_subflow.c | 74 if (ssk->sk_mark != ++i) { in _check_getsockopt_subflow_mark() 95 if (ssk->sk_mark == 2 && in _check_getsockopt_subflow_cc()
|
| /linux-6.15/net/ipv6/ |
| H A D | inet6_connection_sock.c | 80 fl6->flowi6_mark = sk->sk_mark; in inet6_csk_route_socket() 121 res = ip6_xmit(sk, skb, &fl6, sk->sk_mark, rcu_dereference(np->opt), in inet6_csk_xmit()
|
| H A D | tcp_ipv6.c | 267 fl6.flowi6_mark = sk->sk_mark; in tcp_v6_connect() 565 err = ip6_xmit(sk, skb, fl6, skb->mark ? : READ_ONCE(sk->sk_mark), in tcp_v6_send_synack() 978 mark = READ_ONCE(sk->sk_mark); in tcp_v6_send_response()
|
| H A D | datagram.c | 52 fl6->flowi6_mark = sk->sk_mark; in ip6_datagram_flow_key_init()
|
| H A D | af_inet6.c | 841 fl6.flowi6_mark = sk->sk_mark; in inet6_sk_rebuild_header()
|
| H A D | ipv6_sockglue.c | 841 fl6.flowi6_mark = sk->sk_mark; in do_ipv6_setsockopt()
|
| /linux-6.15/net/netfilter/ |
| H A D | xt_socket.c | 80 pskb->mark = READ_ONCE(sk->sk_mark); in socket_match() 141 pskb->mark = READ_ONCE(sk->sk_mark); in socket_mt6_v1_v2_v3()
|
| H A D | nft_socket.c | 133 *dest = READ_ONCE(sk->sk_mark); in nft_socket_eval()
|
| /linux-6.15/include/net/ |
| H A D | route.h | 152 flowi4_init_output(fl4, sk->sk_bound_dev_if, READ_ONCE(sk->sk_mark), in inet_sk_init_flowi4() 207 flowi4_init_output(fl4, oif, sk ? READ_ONCE(sk->sk_mark) : 0, tos, in ip_route_output_ports() 329 flowi4_init_output(fl4, oif, READ_ONCE(sk->sk_mark), ip_sock_rt_tos(sk), in ip_route_connect_init()
|
| H A D | inet_sock.h | 111 u32 mark = READ_ONCE(sk->sk_mark); in inet_request_mark()
|
| H A D | sock.h | 480 u32 sk_mark; member 1861 .mark = READ_ONCE(sk->sk_mark), in sockcm_init()
|
| /linux-6.15/net/mptcp/ |
| H A D | sockopt.c | 106 if (READ_ONCE(ssk->sk_mark) != sk->sk_mark) { in mptcp_sol_socket_sync_intval() 107 WRITE_ONCE(ssk->sk_mark, sk->sk_mark); in mptcp_sol_socket_sync_intval() 1542 if (sk->sk_mark != ssk->sk_mark) { in sync_socket_options() 1543 ssk->sk_mark = sk->sk_mark; in sync_socket_options()
|
| /linux-6.15/net/ipv4/ |
| H A D | ip_output.c | 191 skb->mark = READ_ONCE(sk->sk_mark); in ip_build_and_send_pkt() 525 skb->mark = READ_ONCE(sk->sk_mark); in __ip_queue_xmit() 1630 IP4_REPLY_MARK(net, skb->mark) ?: sk->sk_mark, in ip_send_unicast_reply()
|
| H A D | tcp_ipv4.c | 900 ctl_sk->sk_mark = (sk->sk_state == TCP_TIME_WAIT) ? in tcp_v4_send_reset() 901 inet_twsk(sk)->tw_mark : READ_ONCE(sk->sk_mark); in tcp_v4_send_reset() 909 ctl_sk->sk_mark = 0; in tcp_v4_send_reset() 1021 ctl_sk->sk_mark = (sk->sk_state == TCP_TIME_WAIT) ? in tcp_v4_send_ack() 1022 inet_twsk(sk)->tw_mark : READ_ONCE(sk->sk_mark); in tcp_v4_send_ack()
|
| H A D | inet_diag.c | 156 if (net_admin && nla_put_u32(skb, INET_DIAG_MARK, READ_ONCE(sk->sk_mark))) in inet_diag_msg_attrs_fill() 814 entry.mark = READ_ONCE(sk->sk_mark); in inet_diag_bc_sk()
|
| H A D | tcp_minisocks.c | 319 tw->tw_mark = sk->sk_mark; in tcp_time_wait()
|
| H A D | inet_connection_sock.c | 1272 newsk->sk_mark = inet_rsk(req)->ir_mark; in inet_csk_clone_lock()
|
| H A D | route.c | 514 mark = READ_ONCE(sk->sk_mark); in __build_flow_key() 549 flowi4_init_output(fl4, sk->sk_bound_dev_if, READ_ONCE(sk->sk_mark), in build_sk_flow_key()
|
| /linux-6.15/drivers/net/ppp/ |
| H A D | pptp.c | 139 flowi4_init_output(fl4, sk->sk_bound_dev_if, sk->sk_mark, 0, in pptp_route_output()
|
| /linux-6.15/net/l2tp/ |
| H A D | l2tp_ip6.c | 547 fl6.flowi6_mark = READ_ONCE(sk->sk_mark); in l2tp_ip6_sendmsg()
|
| /linux-6.15/net/core/ |
| H A D | sock.c | 1007 if (val != sk->sk_mark) { in __sock_set_mark() 1008 WRITE_ONCE(sk->sk_mark, val); in __sock_set_mark() 1965 v.val = READ_ONCE(sk->sk_mark); in sk_getsockopt() 4453 CACHELINE_ASSERT_GROUP_MEMBER(struct sock, sock_read_tx, sk_mark); in sock_struct_check()
|
| /linux-6.15/net/dccp/ |
| H A D | ipv6.c | 242 err = ip6_xmit(sk, skb, &fl6, READ_ONCE(sk->sk_mark), opt, in dccp_v6_send_response()
|
| /linux-6.15/net/sctp/ |
| H A D | ipv6.c | 248 res = ip6_xmit(sk, skb, fl6, sk->sk_mark, in sctp_v6_xmit()
|
| /linux-6.15/net/xdp/ |
| H A D | xsk.c | 755 skb->mark = READ_ONCE(xs->sk.sk_mark); in xsk_build_skb()
|
| /linux-6.15/net/smc/ |
| H A D | af_smc.c | 491 nsk->sk_mark = READ_ONCE(osk->sk_mark); in smc_copy_sock_settings()
|