Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/net/
A Dsock.h1878 u32 tsflags; member
1884 *sockc = (struct sockcm_cookie) { .tsflags = sk->sk_tsflags }; in sockcm_init()
2725 void __sock_tx_timestamp(__u16 tsflags, __u8 *tx_flags);
2736 static inline void _sock_tx_timestamp(struct sock *sk, __u16 tsflags, in _sock_tx_timestamp() argument
2739 if (unlikely(tsflags)) { in _sock_tx_timestamp()
2740 __sock_tx_timestamp(tsflags, tx_flags); in _sock_tx_timestamp()
2741 if (tsflags & SOF_TIMESTAMPING_OPT_ID && tskey && in _sock_tx_timestamp()
2742 tsflags & SOF_TIMESTAMPING_TX_RECORD_MASK) in _sock_tx_timestamp()
2749 static inline void sock_tx_timestamp(struct sock *sk, __u16 tsflags, in sock_tx_timestamp() argument
2752 _sock_tx_timestamp(sk, tsflags, tx_flags, NULL); in sock_tx_timestamp()
[all …]
A Dip.h96 ipcm->sockc.tsflags = inet->sk.sk_tsflags; in ipcm_init_sk()
/linux-6.3-rc2/net/ipv6/
A Dping.c121 ipc6.sockc.tsflags = sk->sk_tsflags; in ping_v6_sendmsg()
A Draw.c630 skb_setup_tx_timestamp(skb, sockc->tsflags); in rawv6_send_hdrinc()
784 ipc6.sockc.tsflags = sk->sk_tsflags; in rawv6_sendmsg()
A Dudp.c1354 ipc6.sockc.tsflags = sk->sk_tsflags; in udpv6_sendmsg()
A Dip6_output.c1452 sock_tx_timestamp(sk, ipc6->sockc.tsflags, &cork->base.tx_flags); in ip6_setup_cork()
/linux-6.3-rc2/net/core/
A Dsock.c2751 u32 tsflags; in __sock_cmsg_send() local
2766 tsflags = *(u32 *)CMSG_DATA(cmsg); in __sock_cmsg_send()
2767 if (tsflags & ~SOF_TIMESTAMPING_TX_RECORD_MASK) in __sock_cmsg_send()
2770 sockc->tsflags &= ~SOF_TIMESTAMPING_TX_RECORD_MASK; in __sock_cmsg_send()
2771 sockc->tsflags |= tsflags; in __sock_cmsg_send()
/linux-6.3-rc2/net/
A Dsocket.c685 void __sock_tx_timestamp(__u16 tsflags, __u8 *tx_flags) in __sock_tx_timestamp() argument
689 if (tsflags & SOF_TIMESTAMPING_TX_HARDWARE) { in __sock_tx_timestamp()
697 if (tsflags & SOF_TIMESTAMPING_BIND_PHC) in __sock_tx_timestamp()
701 if (tsflags & SOF_TIMESTAMPING_TX_SOFTWARE) in __sock_tx_timestamp()
704 if (tsflags & SOF_TIMESTAMPING_TX_SCHED) in __sock_tx_timestamp()
/linux-6.3-rc2/net/ipv4/
A 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()
A Draw.c365 skb_setup_tx_timestamp(skb, sockc->tsflags); in raw_send_hdrinc()
A Dtcp_output.c1494 u8 tsflags = shinfo->tx_flags & SKBTX_ANY_TSTAMP; in tcp_fragment_tstamp() local
1496 shinfo->tx_flags &= ~tsflags; in tcp_fragment_tstamp()
1497 shinfo2->tx_flags |= tsflags; in tcp_fragment_tstamp()
A Dip_output.c1306 sock_tx_timestamp(sk, ipc->sockc.tsflags, &cork->tx_flags); in ip_setup_cork()
/linux-6.3-rc2/net/can/
A Draw.c879 skb_setup_tx_timestamp(skb, sockc.tsflags); in raw_sendmsg()
/linux-6.3-rc2/net/packet/
A Daf_packet.c2059 skb_setup_tx_timestamp(skb, sockc.tsflags); in packet_sendmsg_spkt()
2583 skb_setup_tx_timestamp(skb, sockc->tsflags); in tpacket_fill_skb()
3046 skb_setup_tx_timestamp(skb, sockc.tsflags); in packet_snd()
/linux-6.3-rc2/drivers/net/ethernet/broadcom/
A Dtg3.c7990 int tsflags; in tg3_start_xmit() local
7992 tsflags = (iph->ihl - 5) + (tcp_opt_len >> 2); in tg3_start_xmit()
7993 mss |= (tsflags << 11); in tg3_start_xmit()
7997 int tsflags; in tg3_start_xmit() local
7999 tsflags = (iph->ihl - 5) + (tcp_opt_len >> 2); in tg3_start_xmit()
8000 base_flags |= tsflags << 12; in tg3_start_xmit()

Completed in 81 milliseconds