Home
last modified time | relevance | path

Searched refs:sk_mark (Results 1 – 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/net/ipv6/
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()
Dping.c115 fl6.flowi6_mark = sk->sk_mark; in ping_v6_sendmsg()
122 ipc6.sockc.mark = sk->sk_mark; in ping_v6_sendmsg()
Draw.c812 fl6.flowi6_mark = sk->sk_mark; in rawv6_sendmsg()
817 ipc6.sockc.mark = sk->sk_mark; in rawv6_sendmsg()
Dtcp_ipv6.c275 fl6.flowi6_mark = sk->sk_mark; in tcp_v6_connect()
562 err = ip6_xmit(sk, skb, fl6, skb->mark ? : sk->sk_mark, opt, in tcp_v6_send_synack()
974 mark = sk->sk_mark; in tcp_v6_send_response()
Dudp.c597 sk->sk_mark, sk->sk_uid); in __udp6_lib_err()
1300 ipc6.sockc.mark = sk->sk_mark; in udpv6_sendmsg()
Ddatagram.c51 fl6->flowi6_mark = sk->sk_mark; in ip6_datagram_flow_key_init()
Daf_inet6.c828 fl6.flowi6_mark = sk->sk_mark; in inet6_sk_rebuild_header()
Dipv6_sockglue.c701 fl6.flowi6_mark = sk->sk_mark; in do_ipv6_setsockopt()
/kernel/linux/linux-5.10/net/netfilter/
Dxt_socket.c80 pskb->mark = sk->sk_mark; in socket_match()
141 pskb->mark = sk->sk_mark; in socket_mt6_v1_v2_v3()
Dnft_socket.c88 *dest = sk->sk_mark; in nft_socket_eval()
/kernel/linux/linux-5.10/include/net/
Dinet_sock.h110 if (!sk->sk_mark && in inet_request_mark()
114 return sk->sk_mark; in inet_request_mark()
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()
Dip.h94 ipcm->sockc.mark = inet->sk.sk_mark; in ipcm_init_sk()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_ipv4.c799 ctl_sk->sk_mark = (sk->sk_state == TCP_TIME_WAIT) ? in tcp_v4_send_reset()
800 inet_twsk(sk)->tw_mark : sk->sk_mark; in tcp_v4_send_reset()
811 ctl_sk->sk_mark = 0; in tcp_v4_send_reset()
896 ctl_sk->sk_mark = (sk->sk_state == TCP_TIME_WAIT) ? in tcp_v4_send_ack()
897 inet_twsk(sk)->tw_mark : sk->sk_mark; in tcp_v4_send_ack()
907 ctl_sk->sk_mark = 0; in tcp_v4_send_ack()
Dip_output.c187 skb->mark = sk->sk_mark; in ip_build_and_send_pkt()
538 skb->mark = sk->sk_mark; in __ip_queue_xmit()
1708 IP4_REPLY_MARK(net, skb->mark) ?: sk->sk_mark, in ip_send_unicast_reply()
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()
Dtcp_minisocks.c268 tw->tw_mark = sk->sk_mark; in tcp_time_wait()
Dinet_connection_sock.c858 newsk->sk_mark = inet_rsk(req)->ir_mark; in inet_csk_clone_lock()
/kernel/linux/linux-5.10/net/l2tp/
Dl2tp_ip6.c522 fl6.flowi6_mark = sk->sk_mark; in l2tp_ip6_sendmsg()
/kernel/linux/linux-5.10/net/core/
Dsock.c812 if (val != sk->sk_mark) { in __sock_set_mark()
813 sk->sk_mark = val; in __sock_set_mark()
1504 v.val = sk->sk_mark; in sock_getsockopt()
/kernel/linux/linux-5.10/net/dccp/
Dipv6.c233 err = ip6_xmit(sk, skb, &fl6, sk->sk_mark, opt, np->tclass, in dccp_v6_send_response()
/kernel/linux/linux-5.10/net/sctp/
Dipv6.c217 res = ip6_xmit(sk, skb, fl6, sk->sk_mark, rcu_dereference(np->opt), in sctp_v6_xmit()
/kernel/linux/linux-5.10/net/smc/
Daf_smc.c315 nsk->sk_mark = osk->sk_mark; in smc_copy_sock_settings()
/kernel/linux/linux-5.10/net/xdp/
Dxsk.c429 skb->mark = sk->sk_mark; in xsk_generic_xmit()
/kernel/linux/linux-5.10/net/packet/
Daf_packet.c2018 skb->mark = sk->sk_mark; in packet_sendmsg_spkt()
2539 skb->mark = po->sk.sk_mark; in tpacket_fill_skb()
2940 sockc.mark = sk->sk_mark; in packet_snd()

12