/linux/net/ipv6/ |
A D | raw.c | 620 unsigned int flags, const struct sockcm_cookie *sockc) in rawv6_send_hdrinc() argument 649 skb->mark = sockc->mark; in rawv6_send_hdrinc() 650 skb->tstamp = sockc->transmit_time; in rawv6_send_hdrinc() 658 skb_setup_tx_timestamp(skb, sockc->tsflags); in rawv6_send_hdrinc() 812 ipc6.sockc.tsflags = sk->sk_tsflags; in rawv6_sendmsg() 813 ipc6.sockc.mark = sk->sk_mark; in rawv6_sendmsg() 895 fl6.flowi6_mark = ipc6.sockc.mark; in rawv6_sendmsg() 945 msg->msg_flags, &ipc6.sockc); in rawv6_sendmsg()
|
A D | ping.c | 117 ipc6.sockc.mark = sk->sk_mark; in ping_v6_sendmsg()
|
A D | icmp.c | 595 ipc6.sockc.mark = mark; in icmp6_send() 798 ipc6.sockc.mark = mark; in icmpv6_echo_reply()
|
A D | udp.c | 1315 ipc6.sockc.tsflags = sk->sk_tsflags; in udpv6_sendmsg() 1316 ipc6.sockc.mark = sk->sk_mark; in udpv6_sendmsg() 1474 fl6.flowi6_mark = ipc6.sockc.mark; in udpv6_sendmsg()
|
A D | ip6_output.c | 1416 cork->base.mark = ipc6->sockc.mark; in ip6_setup_cork() 1417 sock_tx_timestamp(sk, ipc6->sockc.tsflags, &cork->base.tx_flags); in ip6_setup_cork() 1423 cork->base.transmit_time = ipc6->sockc.transmit_time; in ip6_setup_cork()
|
A D | datagram.c | 774 err = __sock_cmsg_send(sk, msg, cmsg, &ipc6->sockc); in ip6_datagram_send_ctl()
|
/linux/net/ipv4/ |
A 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() 627 flowi4_init_output(&fl4, ipc.oif, ipc.sockc.mark, tos, in raw_sendmsg() 661 &rt, msg->msg_flags, &ipc.sockc); in raw_sendmsg()
|
A D | ip_output.c | 1269 cork->mark = ipc->sockc.mark; in ip_setup_cork() 1271 cork->transmit_time = ipc->sockc.transmit_time; in ip_setup_cork() 1273 sock_tx_timestamp(sk, ipc->sockc.tsflags, &cork->tx_flags); in ip_setup_cork() 1669 ipc.sockc.transmit_time = transmit_time; in ip_send_unicast_reply() 1700 ipc.sockc.mark = fl4.flowi4_mark; in ip_send_unicast_reply()
|
A D | icmp.c | 433 ipc.sockc.mark = mark; in icmp_reply() 738 ipc.sockc.mark = mark; in __icmp_send()
|
A D | tcp.c | 1180 struct sockcm_cookie sockc; in tcp_sendmsg_locked() local 1239 sockcm_init(&sockc, sk); in tcp_sendmsg_locked() 1241 err = sock_cmsg_send(sk, msg, &sockc); in tcp_sendmsg_locked() 1411 tcp_tx_timestamp(sk, sockc.tsflags); in tcp_sendmsg_locked()
|
A D | ping.c | 775 flowi4_init_output(&fl4, ipc.oif, ipc.sockc.mark, tos, in ping_v4_sendmsg()
|
A D | ip_sockglue.c | 270 err = __sock_cmsg_send(sk, msg, cmsg, &ipc->sockc); in ip_cmsg_send()
|
A D | udp.c | 1212 flowi4_init_output(fl4, ipc.oif, ipc.sockc.mark, tos, in udp_sendmsg()
|
/linux/net/packet/ |
A D | af_packet.c | 1943 struct sockcm_cookie sockc; in packet_sendmsg_spkt() local 2032 sockcm_init(&sockc, sk); in packet_sendmsg_spkt() 2043 skb->tstamp = sockc.transmit_time; in packet_sendmsg_spkt() 2548 const struct sockcm_cookie *sockc) in tpacket_fill_skb() argument 2698 struct sockcm_cookie sockc; in tpacket_snd() local 2749 sockcm_init(&sockc, &po->sk); in tpacket_snd() 2922 struct sockcm_cookie sockc; in packet_snd() local 2960 sockcm_init(&sockc, sk); in packet_snd() 2961 sockc.mark = sk->sk_mark; in packet_snd() 3036 skb->mark = sockc.mark; in packet_snd() [all …]
|
/linux/include/net/ |
A D | ip.h | 74 struct sockcm_cookie sockc; member 94 ipcm->sockc.mark = inet->sk.sk_mark; in ipcm_init_sk() 95 ipcm->sockc.tsflags = inet->sk.sk_tsflags; in ipcm_init_sk()
|
A D | sock.h | 1796 static inline void sockcm_init(struct sockcm_cookie *sockc, in sockcm_init() argument 1799 *sockc = (struct sockcm_cookie) { .tsflags = sk->sk_tsflags }; in sockcm_init() 1803 struct sockcm_cookie *sockc); 1805 struct sockcm_cookie *sockc);
|
A D | ipv6.h | 345 struct sockcm_cookie sockc; member
|
/linux/net/core/ |
A D | sock.c | 2597 struct sockcm_cookie *sockc) in __sock_cmsg_send() argument 2607 sockc->mark = *(u32 *)CMSG_DATA(cmsg); in __sock_cmsg_send() 2617 sockc->tsflags &= ~SOF_TIMESTAMPING_TX_RECORD_MASK; in __sock_cmsg_send() 2618 sockc->tsflags |= tsflags; in __sock_cmsg_send() 2625 sockc->transmit_time = get_unaligned((u64 *)CMSG_DATA(cmsg)); in __sock_cmsg_send() 2639 struct sockcm_cookie *sockc) in sock_cmsg_send() argument 2649 ret = __sock_cmsg_send(sk, msg, cmsg, sockc); in sock_cmsg_send()
|