Searched refs:tsflags (Results 1 – 15 of 15) sorted by relevance
/Linux-v6.1/include/net/ |
D | sock.h | 1902 u16 tsflags; member 1908 *sockc = (struct sockcm_cookie) { .tsflags = sk->sk_tsflags }; in sockcm_init() 2733 void __sock_tx_timestamp(__u16 tsflags, __u8 *tx_flags); 2744 static inline void _sock_tx_timestamp(struct sock *sk, __u16 tsflags, in _sock_tx_timestamp() argument 2747 if (unlikely(tsflags)) { in _sock_tx_timestamp() 2748 __sock_tx_timestamp(tsflags, tx_flags); in _sock_tx_timestamp() 2749 if (tsflags & SOF_TIMESTAMPING_OPT_ID && tskey && in _sock_tx_timestamp() 2750 tsflags & SOF_TIMESTAMPING_TX_RECORD_MASK) in _sock_tx_timestamp() 2757 static inline void sock_tx_timestamp(struct sock *sk, __u16 tsflags, in sock_tx_timestamp() argument 2760 _sock_tx_timestamp(sk, tsflags, tx_flags, NULL); in sock_tx_timestamp() [all …]
|
D | ip.h | 96 ipcm->sockc.tsflags = inet->sk.sk_tsflags; in ipcm_init_sk()
|
/Linux-v6.1/net/ipv6/ |
D | ping.c | 126 ipc6.sockc.tsflags = sk->sk_tsflags; in ping_v6_sendmsg()
|
D | raw.c | 624 skb_setup_tx_timestamp(skb, sockc->tsflags); in rawv6_send_hdrinc() 778 ipc6.sockc.tsflags = sk->sk_tsflags; in rawv6_sendmsg()
|
D | udp.c | 1346 ipc6.sockc.tsflags = sk->sk_tsflags; in udpv6_sendmsg()
|
D | ip6_output.c | 1439 sock_tx_timestamp(sk, ipc6->sockc.tsflags, &cork->base.tx_flags); in ip6_setup_cork()
|
/Linux-v6.1/net/core/ |
D | sock.c | 2736 u32 tsflags; in __sock_cmsg_send() local 2751 tsflags = *(u32 *)CMSG_DATA(cmsg); in __sock_cmsg_send() 2752 if (tsflags & ~SOF_TIMESTAMPING_TX_RECORD_MASK) in __sock_cmsg_send() 2755 sockc->tsflags &= ~SOF_TIMESTAMPING_TX_RECORD_MASK; in __sock_cmsg_send() 2756 sockc->tsflags |= tsflags; in __sock_cmsg_send()
|
/Linux-v6.1/net/ |
D | socket.c | 682 void __sock_tx_timestamp(__u16 tsflags, __u8 *tx_flags) in __sock_tx_timestamp() argument 686 if (tsflags & SOF_TIMESTAMPING_TX_HARDWARE) { in __sock_tx_timestamp() 694 if (tsflags & SOF_TIMESTAMPING_BIND_PHC) in __sock_tx_timestamp() 698 if (tsflags & SOF_TIMESTAMPING_TX_SOFTWARE) in __sock_tx_timestamp() 701 if (tsflags & SOF_TIMESTAMPING_TX_SCHED) in __sock_tx_timestamp()
|
/Linux-v6.1/net/ipv4/ |
D | tcp.c | 465 static void tcp_tx_timestamp(struct sock *sk, u16 tsflags) in tcp_tx_timestamp() argument 469 if (tsflags && skb) { in tcp_tx_timestamp() 473 sock_tx_timestamp(sk, tsflags, &shinfo->tx_flags); in tcp_tx_timestamp() 474 if (tsflags & SOF_TIMESTAMPING_TX_ACK) in tcp_tx_timestamp() 476 if (tsflags & SOF_TIMESTAMPING_TX_RECORD_MASK) in tcp_tx_timestamp() 1454 tcp_tx_timestamp(sk, sockc.tsflags); in tcp_sendmsg_locked()
|
D | raw.c | 362 skb_setup_tx_timestamp(skb, sockc->tsflags); in raw_send_hdrinc()
|
D | tcp_output.c | 1497 u8 tsflags = shinfo->tx_flags & SKBTX_ANY_TSTAMP; in tcp_fragment_tstamp() local 1499 shinfo->tx_flags &= ~tsflags; in tcp_fragment_tstamp() 1500 shinfo2->tx_flags |= tsflags; in tcp_fragment_tstamp()
|
D | ip_output.c | 1306 sock_tx_timestamp(sk, ipc->sockc.tsflags, &cork->tx_flags); in ip_setup_cork()
|
/Linux-v6.1/net/can/ |
D | raw.c | 862 skb_setup_tx_timestamp(skb, sockc.tsflags); in raw_sendmsg()
|
/Linux-v6.1/net/packet/ |
D | af_packet.c | 2060 skb_setup_tx_timestamp(skb, sockc.tsflags); in packet_sendmsg_spkt() 2582 skb_setup_tx_timestamp(skb, sockc->tsflags); in tpacket_fill_skb() 3045 skb_setup_tx_timestamp(skb, sockc.tsflags); in packet_snd()
|
/Linux-v6.1/drivers/net/ethernet/broadcom/ |
D | tg3.c | 7998 int tsflags; in tg3_start_xmit() local 8000 tsflags = (iph->ihl - 5) + (tcp_opt_len >> 2); in tg3_start_xmit() 8001 mss |= (tsflags << 11); in tg3_start_xmit() 8005 int tsflags; in tg3_start_xmit() local 8007 tsflags = (iph->ihl - 5) + (tcp_opt_len >> 2); in tg3_start_xmit() 8008 base_flags |= tsflags << 12; in tg3_start_xmit()
|