Home
last modified time | relevance | path

Searched refs:sockc (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/net/packet/
Daf_packet.c1866 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/
Draw.c351 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()
Dip_output.c1157 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()
Dtcp.c1179 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()
Dip_sockglue.c272 err = __sock_cmsg_send(sk, msg, cmsg, &ipc->sockc); in ip_cmsg_send()
/Linux-v4.19/net/ipv6/
Draw.c623 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()
Dip6_output.c1224 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()
Ddatagram.c761 err = __sock_cmsg_send(sk, msg, cmsg, &ipc6->sockc); in ip6_datagram_send_ctl()
Dudp.c1158 ipc6.sockc.tsflags = sk->sk_tsflags; in udpv6_sendmsg()
/Linux-v4.19/net/core/
Dsock.c2104 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/
Dip.h71 struct sockcm_cookie sockc; member
91 ipcm->sockc.tsflags = inet->sk.sk_tsflags; in ipcm_init_sk()
Dsock.h1603 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);
Dipv6.h297 struct sockcm_cookie sockc; member