Home
last modified time | relevance | path

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

/linux-6.1.9/include/net/
Dsock.h1902 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 …]
Dip.h96 ipcm->sockc.tsflags = inet->sk.sk_tsflags; in ipcm_init_sk()
/linux-6.1.9/net/ipv6/
Dping.c126 ipc6.sockc.tsflags = sk->sk_tsflags; in ping_v6_sendmsg()
Draw.c628 skb_setup_tx_timestamp(skb, sockc->tsflags); in rawv6_send_hdrinc()
782 ipc6.sockc.tsflags = sk->sk_tsflags; in rawv6_sendmsg()
Dudp.c1350 ipc6.sockc.tsflags = sk->sk_tsflags; in udpv6_sendmsg()
Dip6_output.c1452 sock_tx_timestamp(sk, ipc6->sockc.tsflags, &cork->base.tx_flags); in ip6_setup_cork()
/linux-6.1.9/net/core/
Dsock.c2736 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-6.1.9/net/
Dsocket.c682 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-6.1.9/net/ipv4/
Dtcp.c466 static void tcp_tx_timestamp(struct sock *sk, u16 tsflags) in tcp_tx_timestamp() argument
470 if (tsflags && skb) { in tcp_tx_timestamp()
474 sock_tx_timestamp(sk, tsflags, &shinfo->tx_flags); in tcp_tx_timestamp()
475 if (tsflags & SOF_TIMESTAMPING_TX_ACK) in tcp_tx_timestamp()
477 if (tsflags & SOF_TIMESTAMPING_TX_RECORD_MASK) in tcp_tx_timestamp()
1455 tcp_tx_timestamp(sk, sockc.tsflags); in tcp_sendmsg_locked()
Draw.c362 skb_setup_tx_timestamp(skb, sockc->tsflags); in raw_send_hdrinc()
Dtcp_output.c1497 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()
Dip_output.c1306 sock_tx_timestamp(sk, ipc->sockc.tsflags, &cork->tx_flags); in ip_setup_cork()
/linux-6.1.9/net/can/
Draw.c862 skb_setup_tx_timestamp(skb, sockc.tsflags); in raw_sendmsg()
/linux-6.1.9/net/packet/
Daf_packet.c2060 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-6.1.9/drivers/net/ethernet/broadcom/
Dtg3.c7998 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()