Home
last modified time | relevance | path

Searched refs:sk_mark (Results 1 - 25 of 65) sorted by relevance

123

/kernel/linux/linux-5.10/net/netfilter/
H A Dxt_socket.c80 pskb->mark = sk->sk_mark; in socket_match()
141 pskb->mark = sk->sk_mark; in socket_mt6_v1_v2_v3()
H A Dnft_socket.c88 *dest = sk->sk_mark; in nft_socket_eval()
/kernel/linux/linux-5.10/net/ipv6/
H A Dinet6_connection_sock.c94 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 Dping.c111 fl6.flowi6_mark = sk->sk_mark; in ping_v6_sendmsg()
118 ipc6.sockc.mark = sk->sk_mark; in ping_v6_sendmsg()
H A Draw.c812 fl6.flowi6_mark = sk->sk_mark; in rawv6_sendmsg()
817 ipc6.sockc.mark = sk->sk_mark; in rawv6_sendmsg()
H A Dtcp_ipv6.c276 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 Dinet6_connection_sock.c94 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 Dping.c123 ipc6.sockc.mark = READ_ONCE(sk->sk_mark); in ping_v6_sendmsg()
/kernel/linux/linux-6.6/net/mptcp/
H A Dsockopt.c106 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 Dinet_sock.h110 if (!sk->sk_mark && in inet_request_mark()
114 return sk->sk_mark; in inet_request_mark()
H A Droute.h163 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 Dxt_socket.c80 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 Dnft_socket.c110 *dest = READ_ONCE(sk->sk_mark); in nft_socket_eval()
/kernel/linux/linux-6.6/include/net/
H A Droute.h171 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 Dinet_sock.h110 u32 mark = READ_ONCE(sk->sk_mark); in inet_request_mark()
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp_ipv4.c808 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 Dinet_diag.c153 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 Dip_output.c187 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 Dtcp_minisocks.c268 tw->tw_mark = sk->sk_mark; in tcp_time_wait()
/kernel/linux/linux-6.6/net/ipv4/
H A Dip_output.c189 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 Dtcp_ipv4.c828 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 Dpptp.c139 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 Dl2tp_ip6.c519 fl6.flowi6_mark = sk->sk_mark; in l2tp_ip6_sendmsg()
/kernel/linux/linux-6.6/drivers/net/ppp/
H A Dpptp.c139 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 Dl2tp_ip6.c518 fl6.flowi6_mark = READ_ONCE(sk->sk_mark); in l2tp_ip6_sendmsg()

Completed in 30 milliseconds

123