/kernel/linux/linux-5.10/net/ipv6/ |
D | raw.c | 624 unsigned int flags, const struct sockcm_cookie *sockc) in rawv6_send_hdrinc() argument 653 skb->mark = sockc->mark; in rawv6_send_hdrinc() 654 skb->tstamp = sockc->transmit_time; in rawv6_send_hdrinc() 662 skb_setup_tx_timestamp(skb, sockc->tsflags); in rawv6_send_hdrinc() 816 ipc6.sockc.tsflags = sk->sk_tsflags; in rawv6_sendmsg() 817 ipc6.sockc.mark = sk->sk_mark; in rawv6_sendmsg() 900 fl6.flowi6_mark = ipc6.sockc.mark; in rawv6_sendmsg() 950 msg->msg_flags, &ipc6.sockc); in rawv6_sendmsg()
|
D | ping.c | 117 ipc6.sockc.mark = sk->sk_mark; in ping_v6_sendmsg()
|
D | icmp.c | 594 ipc6.sockc.mark = mark; in icmp6_send() 791 ipc6.sockc.mark = mark; in icmpv6_echo_reply()
|
D | udp.c | 1312 ipc6.sockc.tsflags = sk->sk_tsflags; in udpv6_sendmsg() 1313 ipc6.sockc.mark = sk->sk_mark; in udpv6_sendmsg() 1473 fl6.flowi6_mark = ipc6.sockc.mark; in udpv6_sendmsg()
|
D | ip6_output.c | 1442 cork->base.mark = ipc6->sockc.mark; in ip6_setup_cork() 1443 sock_tx_timestamp(sk, ipc6->sockc.tsflags, &cork->base.tx_flags); in ip6_setup_cork() 1449 cork->base.transmit_time = ipc6->sockc.transmit_time; in ip6_setup_cork()
|
D | datagram.c | 774 err = __sock_cmsg_send(sk, msg, cmsg, &ipc6->sockc); in ip6_datagram_send_ctl()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | raw.c | 347 const struct sockcm_cookie *sockc) in raw_send_hdrinc() argument 379 skb->mark = sockc->mark; in raw_send_hdrinc() 380 skb->tstamp = sockc->transmit_time; in raw_send_hdrinc() 390 skb_setup_tx_timestamp(skb, sockc->tsflags); in raw_send_hdrinc() 630 flowi4_init_output(&fl4, ipc.oif, ipc.sockc.mark, tos, in raw_sendmsg() 664 &rt, msg->msg_flags, &ipc.sockc); in raw_sendmsg()
|
D | ip_output.c | 1294 cork->mark = ipc->sockc.mark; in ip_setup_cork() 1296 cork->transmit_time = ipc->sockc.transmit_time; in ip_setup_cork() 1298 sock_tx_timestamp(sk, ipc->sockc.tsflags, &cork->tx_flags); in ip_setup_cork() 1704 ipc.sockc.transmit_time = transmit_time; in ip_send_unicast_reply() 1735 ipc.sockc.mark = fl4.flowi4_mark; in ip_send_unicast_reply()
|
D | icmp.c | 435 ipc.sockc.mark = mark; in icmp_reply() 740 ipc.sockc.mark = mark; in __icmp_send()
|
D | tcp.c | 1198 struct sockcm_cookie sockc; in tcp_sendmsg_locked() local 1257 sockcm_init(&sockc, sk); in tcp_sendmsg_locked() 1259 err = sock_cmsg_send(sk, msg, &sockc); in tcp_sendmsg_locked() 1420 tcp_tx_timestamp(sk, sockc.tsflags); in tcp_sendmsg_locked()
|
D | ping.c | 791 flowi4_init_output(&fl4, ipc.oif, ipc.sockc.mark, tos, in ping_v4_sendmsg()
|
D | ip_sockglue.c | 270 err = __sock_cmsg_send(sk, msg, cmsg, &ipc->sockc); in ip_cmsg_send()
|
D | udp.c | 1201 flowi4_init_output(fl4, ipc.oif, ipc.sockc.mark, tos, in udp_sendmsg()
|
/kernel/linux/linux-5.10/net/packet/ |
D | af_packet.c | 1918 struct sockcm_cookie sockc; in packet_sendmsg_spkt() local 2007 sockcm_init(&sockc, sk); in packet_sendmsg_spkt() 2009 err = sock_cmsg_send(sk, msg, &sockc); in packet_sendmsg_spkt() 2018 skb->tstamp = sockc.transmit_time; in packet_sendmsg_spkt() 2020 skb_setup_tx_timestamp(skb, sockc.tsflags); in packet_sendmsg_spkt() 2525 const struct sockcm_cookie *sockc) in tpacket_fill_skb() argument 2539 skb->tstamp = sockc->transmit_time; in tpacket_fill_skb() 2540 skb_setup_tx_timestamp(skb, sockc->tsflags); in tpacket_fill_skb() 2675 struct sockcm_cookie sockc; in tpacket_snd() local 2726 sockcm_init(&sockc, &po->sk); in tpacket_snd() [all …]
|
/kernel/linux/linux-5.10/include/net/ |
D | ip.h | 74 struct sockcm_cookie sockc; member 95 ipcm->sockc.mark = inet->sk.sk_mark; in ipcm_init_sk() 96 ipcm->sockc.tsflags = inet->sk.sk_tsflags; in ipcm_init_sk()
|
D | sock.h | 1748 static inline void sockcm_init(struct sockcm_cookie *sockc, in sockcm_init() argument 1751 *sockc = (struct sockcm_cookie) { .tsflags = sk->sk_tsflags }; in sockcm_init() 1755 struct sockcm_cookie *sockc); 1757 struct sockcm_cookie *sockc);
|
D | ipv6.h | 344 struct sockcm_cookie sockc; member
|
/kernel/linux/linux-5.10/net/core/ |
D | sock.c | 2370 struct sockcm_cookie *sockc) in __sock_cmsg_send() argument 2380 sockc->mark = *(u32 *)CMSG_DATA(cmsg); in __sock_cmsg_send() 2390 sockc->tsflags &= ~SOF_TIMESTAMPING_TX_RECORD_MASK; in __sock_cmsg_send() 2391 sockc->tsflags |= tsflags; in __sock_cmsg_send() 2398 sockc->transmit_time = get_unaligned((u64 *)CMSG_DATA(cmsg)); in __sock_cmsg_send() 2412 struct sockcm_cookie *sockc) in sock_cmsg_send() argument 2422 ret = __sock_cmsg_send(sk, msg, cmsg, sockc); in sock_cmsg_send()
|