Home
last modified time | relevance | path

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

/Linux-v4.19/include/net/
Dsock.h1600 u16 tsflags; member
1606 *sockc = (struct sockcm_cookie) { .tsflags = sk->sk_tsflags }; in sockcm_init()
2336 void __sock_tx_timestamp(__u16 tsflags, __u8 *tx_flags);
2346 static inline void sock_tx_timestamp(const struct sock *sk, __u16 tsflags, in sock_tx_timestamp() argument
2349 if (unlikely(tsflags)) in sock_tx_timestamp()
2350 __sock_tx_timestamp(tsflags, tx_flags); in sock_tx_timestamp()
Dip.h91 ipcm->sockc.tsflags = inet->sk.sk_tsflags; in ipcm_init_sk()
/Linux-v4.19/net/core/
Dsock.c2106 u32 tsflags; in __sock_cmsg_send() local
2120 tsflags = *(u32 *)CMSG_DATA(cmsg); in __sock_cmsg_send()
2121 if (tsflags & ~SOF_TIMESTAMPING_TX_RECORD_MASK) in __sock_cmsg_send()
2124 sockc->tsflags &= ~SOF_TIMESTAMPING_TX_RECORD_MASK; in __sock_cmsg_send()
2125 sockc->tsflags |= tsflags; in __sock_cmsg_send()
/Linux-v4.19/net/ipv4/
Dtcp.c472 static void tcp_tx_timestamp(struct sock *sk, u16 tsflags) in tcp_tx_timestamp() argument
476 if (tsflags && skb) { in tcp_tx_timestamp()
480 sock_tx_timestamp(sk, tsflags, &shinfo->tx_flags); in tcp_tx_timestamp()
481 if (tsflags & SOF_TIMESTAMPING_TX_ACK) in tcp_tx_timestamp()
483 if (tsflags & SOF_TIMESTAMPING_TX_RECORD_MASK) in tcp_tx_timestamp()
1405 tcp_tx_timestamp(sk, sockc.tsflags); in tcp_sendmsg_locked()
Dtcp_output.c1252 u8 tsflags = shinfo->tx_flags & SKBTX_ANY_TSTAMP; in tcp_fragment_tstamp() local
1254 shinfo->tx_flags &= ~tsflags; in tcp_fragment_tstamp()
1255 shinfo2->tx_flags |= tsflags; in tcp_fragment_tstamp()
Draw.c394 sock_tx_timestamp(sk, sockc->tsflags, &skb_shinfo(skb)->tx_flags); in raw_send_hdrinc()
Dip_output.c1159 sock_tx_timestamp(sk, ipc->sockc.tsflags, &cork->tx_flags); in ip_setup_cork()
/Linux-v4.19/net/
Dsocket.c602 void __sock_tx_timestamp(__u16 tsflags, __u8 *tx_flags) in __sock_tx_timestamp() argument
606 if (tsflags & SOF_TIMESTAMPING_TX_HARDWARE) in __sock_tx_timestamp()
609 if (tsflags & SOF_TIMESTAMPING_TX_SOFTWARE) in __sock_tx_timestamp()
612 if (tsflags & SOF_TIMESTAMPING_TX_SCHED) in __sock_tx_timestamp()
/Linux-v4.19/net/ipv6/
Draw.c805 ipc6.sockc.tsflags = sk->sk_tsflags; in rawv6_sendmsg()
Dudp.c1158 ipc6.sockc.tsflags = sk->sk_tsflags; in udpv6_sendmsg()
Dip6_output.c1224 sock_tx_timestamp(sk, ipc6->sockc.tsflags, &cork->base.tx_flags); in ip6_setup_cork()
/Linux-v4.19/net/packet/
Daf_packet.c1968 sock_tx_timestamp(sk, sockc.tsflags, &skb_shinfo(skb)->tx_flags); in packet_sendmsg_spkt()
2463 sock_tx_timestamp(&po->sk, sockc->tsflags, &skb_shinfo(skb)->tx_flags); in tpacket_fill_skb()
2901 sock_tx_timestamp(sk, sockc.tsflags, &skb_shinfo(skb)->tx_flags); in packet_snd()
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dtg3.c8010 int tsflags; in tg3_start_xmit() local
8012 tsflags = (iph->ihl - 5) + (tcp_opt_len >> 2); in tg3_start_xmit()
8013 mss |= (tsflags << 11); in tg3_start_xmit()
8017 int tsflags; in tg3_start_xmit() local
8019 tsflags = (iph->ihl - 5) + (tcp_opt_len >> 2); in tg3_start_xmit()
8020 base_flags |= tsflags << 12; in tg3_start_xmit()