Searched refs:sockc (Results 1 – 13 of 13) sorted by relevance
/Linux-v4.19/net/packet/ |
D | af_packet.c | 1866 struct sockcm_cookie sockc; in packet_sendmsg_spkt() local 1955 sockcm_init(&sockc, sk); in packet_sendmsg_spkt() 1957 err = sock_cmsg_send(sk, msg, &sockc); in packet_sendmsg_spkt() 1966 skb->tstamp = sockc.transmit_time; in packet_sendmsg_spkt() 1968 sock_tx_timestamp(sk, sockc.tsflags, &skb_shinfo(skb)->tx_flags); in packet_sendmsg_spkt() 2448 const struct sockcm_cookie *sockc) in tpacket_fill_skb() argument 2462 skb->tstamp = sockc->transmit_time; in tpacket_fill_skb() 2463 sock_tx_timestamp(&po->sk, sockc->tsflags, &skb_shinfo(skb)->tx_flags); in tpacket_fill_skb() 2600 struct sockcm_cookie sockc; in tpacket_snd() local 2639 sockcm_init(&sockc, &po->sk); in tpacket_snd() [all …]
|
/Linux-v4.19/net/ipv4/ |
D | raw.c | 351 const struct sockcm_cookie *sockc) in raw_send_hdrinc() argument 384 skb->tstamp = sockc->transmit_time; in raw_send_hdrinc() 394 sock_tx_timestamp(sk, sockc->tsflags, &skb_shinfo(skb)->tx_flags); in raw_send_hdrinc() 665 &rt, msg->msg_flags, &ipc.sockc); in raw_sendmsg()
|
D | ip_output.c | 1157 cork->transmit_time = ipc->sockc.transmit_time; in ip_setup_cork() 1159 sock_tx_timestamp(sk, ipc->sockc.tsflags, &cork->tx_flags); in ip_setup_cork()
|
D | tcp.c | 1179 struct sockcm_cookie sockc; in tcp_sendmsg_locked() local 1243 sockcm_init(&sockc, sk); in tcp_sendmsg_locked() 1245 err = sock_cmsg_send(sk, msg, &sockc); in tcp_sendmsg_locked() 1405 tcp_tx_timestamp(sk, sockc.tsflags); in tcp_sendmsg_locked()
|
D | ip_sockglue.c | 272 err = __sock_cmsg_send(sk, msg, cmsg, &ipc->sockc); in ip_cmsg_send()
|
/Linux-v4.19/net/ipv6/ |
D | raw.c | 623 unsigned int flags, const struct sockcm_cookie *sockc) in rawv6_send_hdrinc() argument 653 skb->tstamp = sockc->transmit_time; in rawv6_send_hdrinc() 805 ipc6.sockc.tsflags = sk->sk_tsflags; in rawv6_sendmsg() 933 msg->msg_flags, &ipc6.sockc); in rawv6_sendmsg()
|
D | ip6_output.c | 1224 sock_tx_timestamp(sk, ipc6->sockc.tsflags, &cork->base.tx_flags); in ip6_setup_cork() 1230 cork->base.transmit_time = ipc6->sockc.transmit_time; in ip6_setup_cork()
|
D | datagram.c | 761 err = __sock_cmsg_send(sk, msg, cmsg, &ipc6->sockc); in ip6_datagram_send_ctl()
|
D | udp.c | 1158 ipc6.sockc.tsflags = sk->sk_tsflags; in udpv6_sendmsg()
|
/Linux-v4.19/net/core/ |
D | sock.c | 2104 struct sockcm_cookie *sockc) in __sock_cmsg_send() argument 2114 sockc->mark = *(u32 *)CMSG_DATA(cmsg); in __sock_cmsg_send() 2124 sockc->tsflags &= ~SOF_TIMESTAMPING_TX_RECORD_MASK; in __sock_cmsg_send() 2125 sockc->tsflags |= tsflags; in __sock_cmsg_send() 2132 sockc->transmit_time = get_unaligned((u64 *)CMSG_DATA(cmsg)); in __sock_cmsg_send() 2146 struct sockcm_cookie *sockc) in sock_cmsg_send() argument 2156 ret = __sock_cmsg_send(sk, msg, cmsg, sockc); in sock_cmsg_send()
|
/Linux-v4.19/include/net/ |
D | ip.h | 71 struct sockcm_cookie sockc; member 91 ipcm->sockc.tsflags = inet->sk.sk_tsflags; in ipcm_init_sk()
|
D | sock.h | 1603 static inline void sockcm_init(struct sockcm_cookie *sockc, in sockcm_init() argument 1606 *sockc = (struct sockcm_cookie) { .tsflags = sk->sk_tsflags }; in sockcm_init() 1610 struct sockcm_cookie *sockc); 1612 struct sockcm_cookie *sockc);
|
D | ipv6.h | 297 struct sockcm_cookie sockc; member
|