Home
last modified time | relevance | path

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

12

/openbmc/linux/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()
H A Dtcp_ipv6.c271 fl6.flowi6_mark = sk->sk_mark; in tcp_v6_connect()
561 err = ip6_xmit(sk, skb, fl6, skb->mark ? : READ_ONCE(sk->sk_mark), in tcp_v6_send_synack()
936 mark = READ_ONCE(sk->sk_mark); in tcp_v6_send_response()
H A Dudp.c621 READ_ONCE(sk->sk_mark), sk->sk_uid); in __udp6_lib_err()
1356 ipc6.sockc.mark = READ_ONCE(sk->sk_mark); in udpv6_sendmsg()
H A Ddatagram.c52 fl6->flowi6_mark = sk->sk_mark; in ip6_datagram_flow_key_init()
H A Daf_inet6.c838 fl6.flowi6_mark = sk->sk_mark; in inet6_sk_rebuild_header()
H A Draw.c771 fl6.flowi6_mark = READ_ONCE(sk->sk_mark); in rawv6_sendmsg()
H A Dipv6_sockglue.c693 fl6.flowi6_mark = sk->sk_mark; in do_ipv6_setsockopt()
/openbmc/linux/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()
1477 if (sk->sk_mark != ssk->sk_mark) { in sync_socket_options()
1478 ssk->sk_mark = sk->sk_mark; in sync_socket_options()
/openbmc/linux/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.c133 *dest = READ_ONCE(sk->sk_mark); in nft_socket_eval()
/openbmc/linux/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()
H A Dip.h97 ipcm->sockc.mark = READ_ONCE(inet->sk.sk_mark); in ipcm_init_sk()
/openbmc/linux/net/ipv4/
H A Dip_output.c191 skb->mark = READ_ONCE(sk->sk_mark); in ip_build_and_send_pkt()
533 skb->mark = READ_ONCE(sk->sk_mark); in __ip_queue_xmit()
1619 IP4_REPLY_MARK(net, skb->mark) ?: sk->sk_mark, in ip_send_unicast_reply()
H A Dtcp_ipv4.c834 ctl_sk->sk_mark = (sk->sk_state == TCP_TIME_WAIT) ? in tcp_v4_send_reset()
835 inet_twsk(sk)->tw_mark : sk->sk_mark; in tcp_v4_send_reset()
843 ctl_sk->sk_mark = 0; in tcp_v4_send_reset()
939 ctl_sk->sk_mark = (sk->sk_state == TCP_TIME_WAIT) ? in tcp_v4_send_ack()
940 inet_twsk(sk)->tw_mark : READ_ONCE(sk->sk_mark); in tcp_v4_send_ack()
H A Dinet_diag.c153 if (net_admin && nla_put_u32(skb, INET_DIAG_MARK, READ_ONCE(sk->sk_mark))) in inet_diag_msg_attrs_fill()
802 entry.mark = READ_ONCE(sk->sk_mark); in inet_diag_bc_sk()
H A Dtcp_minisocks.c294 tw->tw_mark = sk->sk_mark; in tcp_time_wait()
H A Dinet_connection_sock.c1202 newsk->sk_mark = inet_rsk(req)->ir_mark; in inet_csk_clone_lock()
/openbmc/linux/net/l2tp/
H A Dl2tp_ip6.c518 fl6.flowi6_mark = READ_ONCE(sk->sk_mark); in l2tp_ip6_sendmsg()
/openbmc/linux/drivers/net/ppp/
H A Dpptp.c139 flowi4_init_output(fl4, sk->sk_bound_dev_if, sk->sk_mark, 0, in pptp_route_output()
/openbmc/linux/net/can/
H A Draw.c885 skb->mark = READ_ONCE(sk->sk_mark); in raw_sendmsg()
/openbmc/linux/net/core/
H A Dsock.c995 if (val != sk->sk_mark) { in __sock_set_mark()
996 WRITE_ONCE(sk->sk_mark, val); in __sock_set_mark()
1865 v.val = READ_ONCE(sk->sk_mark); in sk_getsockopt()
/openbmc/linux/net/dccp/
H A Dipv6.c241 err = ip6_xmit(sk, skb, &fl6, READ_ONCE(sk->sk_mark), opt, in dccp_v6_send_response()
/openbmc/linux/net/sctp/
H A Dipv6.c250 res = ip6_xmit(sk, skb, fl6, sk->sk_mark, in sctp_v6_xmit()

12