/kernel/linux/linux-5.10/net/netfilter/ |
H A D | xt_socket.c | 80 pskb->mark = sk->sk_mark; in socket_match() 141 pskb->mark = sk->sk_mark; in socket_mt6_v1_v2_v3()
|
H A D | nft_socket.c | 88 *dest = sk->sk_mark; in nft_socket_eval()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | inet6_connection_sock.c | 94 fl6->flowi6_mark = sk->sk_mark; in inet6_csk_route_socket() 135 res = ip6_xmit(sk, skb, &fl6, sk->sk_mark, rcu_dereference(np->opt), in inet6_csk_xmit()
|
H A D | ping.c | 111 fl6.flowi6_mark = sk->sk_mark; in ping_v6_sendmsg() 118 ipc6.sockc.mark = sk->sk_mark; in ping_v6_sendmsg()
|
H A D | raw.c | 812 fl6.flowi6_mark = sk->sk_mark; in rawv6_sendmsg() 817 ipc6.sockc.mark = sk->sk_mark; in rawv6_sendmsg()
|
H A D | tcp_ipv6.c | 276 fl6.flowi6_mark = sk->sk_mark; in tcp_v6_connect() 563 err = ip6_xmit(sk, skb, fl6, skb->mark ? : sk->sk_mark, opt, in tcp_v6_send_synack() 975 mark = sk->sk_mark; in tcp_v6_send_response()
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | inet6_connection_sock.c | 94 fl6->flowi6_mark = sk->sk_mark; in inet6_csk_route_socket() 135 res = ip6_xmit(sk, skb, &fl6, sk->sk_mark, rcu_dereference(np->opt), in inet6_csk_xmit()
|
H A D | ping.c | 123 ipc6.sockc.mark = READ_ONCE(sk->sk_mark); in ping_v6_sendmsg()
|
/kernel/linux/linux-6.6/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() 1437 if (sk->sk_mark != ssk->sk_mark) { in sync_socket_options() 1438 ssk->sk_mark = sk->sk_mark; in sync_socket_options()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | inet_sock.h | 110 if (!sk->sk_mark && in inet_request_mark() 114 return sk->sk_mark; in inet_request_mark()
|
H A D | route.h | 163 flowi4_init_output(fl4, oif, sk ? sk->sk_mark : 0, tos, in ip_route_output_ports() 301 flowi4_init_output(fl4, oif, sk->sk_mark, tos, RT_SCOPE_UNIVERSE, in ip_route_connect_init()
|
/kernel/linux/linux-6.6/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 | 110 *dest = READ_ONCE(sk->sk_mark); in nft_socket_eval()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | route.h | 171 flowi4_init_output(fl4, oif, sk ? READ_ONCE(sk->sk_mark) : 0, tos, in ip_route_output_ports() 304 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 | 110 u32 mark = READ_ONCE(sk->sk_mark); in inet_request_mark()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_ipv4.c | 808 ctl_sk->sk_mark = (sk->sk_state == TCP_TIME_WAIT) ? in tcp_v4_send_reset() 809 inet_twsk(sk)->tw_mark : sk->sk_mark; in tcp_v4_send_reset() 815 ctl_sk->sk_mark = 0; in tcp_v4_send_reset() 911 ctl_sk->sk_mark = (sk->sk_state == TCP_TIME_WAIT) ? in tcp_v4_send_ack() 912 inet_twsk(sk)->tw_mark : sk->sk_mark; in tcp_v4_send_ack()
|
H A D | inet_diag.c | 153 if (net_admin && nla_put_u32(skb, INET_DIAG_MARK, sk->sk_mark)) in inet_diag_msg_attrs_fill() 799 entry.mark = sk->sk_mark; in inet_diag_bc_sk()
|
H A D | ip_output.c | 187 skb->mark = sk->sk_mark; in ip_build_and_send_pkt() 538 skb->mark = sk->sk_mark; in __ip_queue_xmit() 1718 IP4_REPLY_MARK(net, skb->mark) ?: sk->sk_mark, in ip_send_unicast_reply()
|
H A D | tcp_minisocks.c | 268 tw->tw_mark = sk->sk_mark; in tcp_time_wait()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | ip_output.c | 189 skb->mark = READ_ONCE(sk->sk_mark); in ip_build_and_send_pkt() 531 skb->mark = READ_ONCE(sk->sk_mark); in __ip_queue_xmit() 1614 IP4_REPLY_MARK(net, skb->mark) ?: sk->sk_mark, in ip_send_unicast_reply()
|
H A D | tcp_ipv4.c | 828 ctl_sk->sk_mark = (sk->sk_state == TCP_TIME_WAIT) ? in tcp_v4_send_reset() 829 inet_twsk(sk)->tw_mark : sk->sk_mark; in tcp_v4_send_reset() 837 ctl_sk->sk_mark = 0; in tcp_v4_send_reset() 933 ctl_sk->sk_mark = (sk->sk_state == TCP_TIME_WAIT) ? in tcp_v4_send_ack() 934 inet_twsk(sk)->tw_mark : READ_ONCE(sk->sk_mark); in tcp_v4_send_ack()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/net/l2tp/ |
H A D | l2tp_ip6.c | 519 fl6.flowi6_mark = sk->sk_mark; in l2tp_ip6_sendmsg()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/net/l2tp/ |
H A D | l2tp_ip6.c | 518 fl6.flowi6_mark = READ_ONCE(sk->sk_mark); in l2tp_ip6_sendmsg()
|