Searched refs:tsflags (Results 1 – 13 of 13) sorted by relevance
/kernel/linux/linux-5.10/include/net/ |
D | sock.h | 1733 u16 tsflags; member 1739 *sockc = (struct sockcm_cookie) { .tsflags = sk->sk_tsflags }; in sockcm_init() 2537 void __sock_tx_timestamp(__u16 tsflags, __u8 *tx_flags); 2548 static inline void _sock_tx_timestamp(struct sock *sk, __u16 tsflags, in _sock_tx_timestamp() argument 2551 if (unlikely(tsflags)) { in _sock_tx_timestamp() 2552 __sock_tx_timestamp(tsflags, tx_flags); in _sock_tx_timestamp() 2553 if (tsflags & SOF_TIMESTAMPING_OPT_ID && tskey && in _sock_tx_timestamp() 2554 tsflags & SOF_TIMESTAMPING_TX_RECORD_MASK) in _sock_tx_timestamp() 2561 static inline void sock_tx_timestamp(struct sock *sk, __u16 tsflags, in sock_tx_timestamp() argument 2564 _sock_tx_timestamp(sk, tsflags, tx_flags, NULL); in sock_tx_timestamp() [all …]
|
D | ip.h | 95 ipcm->sockc.tsflags = inet->sk.sk_tsflags; in ipcm_init_sk()
|
/kernel/linux/linux-5.10/net/core/ |
D | sock.c | 2372 u32 tsflags; in __sock_cmsg_send() local 2386 tsflags = *(u32 *)CMSG_DATA(cmsg); in __sock_cmsg_send() 2387 if (tsflags & ~SOF_TIMESTAMPING_TX_RECORD_MASK) in __sock_cmsg_send() 2390 sockc->tsflags &= ~SOF_TIMESTAMPING_TX_RECORD_MASK; in __sock_cmsg_send() 2391 sockc->tsflags |= tsflags; in __sock_cmsg_send()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | tcp.c | 462 static void tcp_tx_timestamp(struct sock *sk, u16 tsflags) in tcp_tx_timestamp() argument 466 if (tsflags && skb) { in tcp_tx_timestamp() 470 sock_tx_timestamp(sk, tsflags, &shinfo->tx_flags); in tcp_tx_timestamp() 471 if (tsflags & SOF_TIMESTAMPING_TX_ACK) in tcp_tx_timestamp() 473 if (tsflags & SOF_TIMESTAMPING_TX_RECORD_MASK) in tcp_tx_timestamp() 1417 tcp_tx_timestamp(sk, sockc.tsflags); in tcp_sendmsg_locked()
|
D | raw.c | 390 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 | 1298 sock_tx_timestamp(sk, ipc->sockc.tsflags, &cork->tx_flags); in ip_setup_cork()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | raw.c | 662 skb_setup_tx_timestamp(skb, sockc->tsflags); in rawv6_send_hdrinc() 816 ipc6.sockc.tsflags = sk->sk_tsflags; in rawv6_sendmsg()
|
D | udp.c | 1299 ipc6.sockc.tsflags = sk->sk_tsflags; in udpv6_sendmsg()
|
D | ip6_output.c | 1443 sock_tx_timestamp(sk, ipc6->sockc.tsflags, &cork->base.tx_flags); in ip6_setup_cork()
|
/kernel/linux/linux-5.10/net/ |
D | socket.c | 628 void __sock_tx_timestamp(__u16 tsflags, __u8 *tx_flags) in __sock_tx_timestamp() argument 632 if (tsflags & SOF_TIMESTAMPING_TX_HARDWARE) in __sock_tx_timestamp() 635 if (tsflags & SOF_TIMESTAMPING_TX_SOFTWARE) in __sock_tx_timestamp() 638 if (tsflags & SOF_TIMESTAMPING_TX_SCHED) in __sock_tx_timestamp()
|
/kernel/linux/linux-5.10/net/packet/ |
D | af_packet.c | 2021 skb_setup_tx_timestamp(skb, sockc.tsflags); in packet_sendmsg_spkt() 2541 skb_setup_tx_timestamp(skb, sockc->tsflags); in tpacket_fill_skb() 3004 skb_setup_tx_timestamp(skb, sockc.tsflags); in packet_snd()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
D | tg3.c | 8009 int tsflags; in tg3_start_xmit() local 8011 tsflags = (iph->ihl - 5) + (tcp_opt_len >> 2); in tg3_start_xmit() 8012 mss |= (tsflags << 11); in tg3_start_xmit() 8016 int tsflags; in tg3_start_xmit() local 8018 tsflags = (iph->ihl - 5) + (tcp_opt_len >> 2); in tg3_start_xmit() 8019 base_flags |= tsflags << 12; in tg3_start_xmit()
|