Home
last modified time | relevance | path

Searched refs:tsflags (Results 1 - 25 of 30) sorted by relevance

12

/kernel/linux/linux-6.6/include/net/
H A Dsock.h1901 u32 tsflags; member
1908 .tsflags = READ_ONCE(sk->sk_tsflags) in sockcm_init()
2717 u32 tsflags = READ_ONCE(sk->sk_tsflags); in sock_recv_timestamp() local
2726 (tsflags & SOF_TIMESTAMPING_RX_SOFTWARE) || in sock_recv_timestamp()
2727 (kt && tsflags & SOF_TIMESTAMPING_SOFTWARE) || in sock_recv_timestamp()
2729 (tsflags & SOF_TIMESTAMPING_RAW_HARDWARE))) in sock_recv_timestamp()
2760 void __sock_tx_timestamp(__u16 tsflags, __u8 *tx_flags);
2765 * @tsflags: timestamping flags to use
2771 static inline void _sock_tx_timestamp(struct sock *sk, __u16 tsflags, in _sock_tx_timestamp() argument
2774 if (unlikely(tsflags)) { in _sock_tx_timestamp()
2784 sock_tx_timestamp(struct sock *sk, __u16 tsflags, __u8 *tx_flags) sock_tx_timestamp() argument
2790 skb_setup_tx_timestamp(struct sk_buff *skb, __u16 tsflags) skb_setup_tx_timestamp() argument
[all...]
H A Dip.h98 ipcm->sockc.tsflags = READ_ONCE(inet->sk.sk_tsflags); in ipcm_init_sk()
/kernel/linux/linux-5.10/include/net/
H A Dsock.h1761 u16 tsflags; member
1767 *sockc = (struct sockcm_cookie) { .tsflags = sk->sk_tsflags }; in sockcm_init()
2584 void __sock_tx_timestamp(__u16 tsflags, __u8 *tx_flags);
2589 * @tsflags: timestamping flags to use
2595 static inline void _sock_tx_timestamp(struct sock *sk, __u16 tsflags, in _sock_tx_timestamp() argument
2598 if (unlikely(tsflags)) { in _sock_tx_timestamp()
2599 __sock_tx_timestamp(tsflags, tx_flags); in _sock_tx_timestamp()
2600 if (tsflags & SOF_TIMESTAMPING_OPT_ID && tskey && in _sock_tx_timestamp()
2601 tsflags & SOF_TIMESTAMPING_TX_RECORD_MASK) in _sock_tx_timestamp()
2608 static inline void sock_tx_timestamp(struct sock *sk, __u16 tsflags, in sock_tx_timestamp() argument
2614 skb_setup_tx_timestamp(struct sk_buff *skb, __u16 tsflags) skb_setup_tx_timestamp() argument
[all...]
H A Dip.h97 ipcm->sockc.tsflags = inet->sk.sk_tsflags; in ipcm_init_sk()
/kernel/linux/linux-6.6/net/can/j1939/
H A Dsocket.c991 u32 tsflags; in __j1939_sk_errqueue() local
999 tsflags = READ_ONCE(sk->sk_tsflags); in __j1939_sk_errqueue()
1002 if (!(tsflags & SOF_TIMESTAMPING_TX_ACK)) in __j1939_sk_errqueue()
1006 if (!(tsflags & SOF_TIMESTAMPING_TX_SCHED)) in __j1939_sk_errqueue()
1016 if (!(tsflags & SOF_TIMESTAMPING_RX_SOFTWARE)) in __j1939_sk_errqueue()
1073 if (tsflags & SOF_TIMESTAMPING_OPT_ID) in __j1939_sk_errqueue()
/kernel/linux/linux-6.6/net/
H A Dsocket.c691 void __sock_tx_timestamp(__u16 tsflags, __u8 *tx_flags) in __sock_tx_timestamp() argument
695 if (tsflags & SOF_TIMESTAMPING_TX_HARDWARE) { in __sock_tx_timestamp()
703 if (tsflags & SOF_TIMESTAMPING_BIND_PHC) in __sock_tx_timestamp()
707 if (tsflags & SOF_TIMESTAMPING_TX_SOFTWARE) in __sock_tx_timestamp()
710 if (tsflags & SOF_TIMESTAMPING_TX_SCHED) in __sock_tx_timestamp()
906 u32 tsflags; in __sock_recv_timestamp() local
948 tsflags = READ_ONCE(sk->sk_tsflags); in __sock_recv_timestamp()
949 if ((tsflags & SOF_TIMESTAMPING_SOFTWARE) && in __sock_recv_timestamp()
953 (tsflags & SOF_TIMESTAMPING_RAW_HARDWARE) && in __sock_recv_timestamp()
961 if (tsflags in __sock_recv_timestamp()
[all...]
/kernel/linux/linux-6.6/net/ipv6/
H A Dping.c122 ipc6.sockc.tsflags = READ_ONCE(sk->sk_tsflags); in ping_v6_sendmsg()
H A Draw.c626 skb_setup_tx_timestamp(skb, sockc->tsflags); in rawv6_send_hdrinc()
775 ipc6.sockc.tsflags = READ_ONCE(sk->sk_tsflags); in rawv6_sendmsg()
/kernel/linux/linux-5.10/net/core/
H A Dsock.c2387 u32 tsflags; in __sock_cmsg_send() local
2402 tsflags = *(u32 *)CMSG_DATA(cmsg); in __sock_cmsg_send()
2403 if (tsflags & ~SOF_TIMESTAMPING_TX_RECORD_MASK) in __sock_cmsg_send()
2406 sockc->tsflags &= ~SOF_TIMESTAMPING_TX_RECORD_MASK; in __sock_cmsg_send()
2407 sockc->tsflags |= tsflags; in __sock_cmsg_send()
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp.c476 static void tcp_tx_timestamp(struct sock *sk, u16 tsflags) in tcp_tx_timestamp() argument
480 if (tsflags && skb) { in tcp_tx_timestamp()
484 sock_tx_timestamp(sk, tsflags, &shinfo->tx_flags); in tcp_tx_timestamp()
485 if (tsflags & SOF_TIMESTAMPING_TX_ACK) in tcp_tx_timestamp()
487 if (tsflags & SOF_TIMESTAMPING_TX_RECORD_MASK) in tcp_tx_timestamp()
1434 tcp_tx_timestamp(sk, sockc.tsflags); in tcp_sendmsg_locked()
H A Dtcp_output.c1498 u8 tsflags = shinfo->tx_flags & SKBTX_ANY_TSTAMP; in tcp_fragment_tstamp() local
1500 shinfo->tx_flags &= ~tsflags; in tcp_fragment_tstamp()
1501 shinfo2->tx_flags |= tsflags; in tcp_fragment_tstamp()
H A Draw.c390 skb_setup_tx_timestamp(skb, sockc->tsflags); in raw_send_hdrinc()
H A Dip_output.c1298 sock_tx_timestamp(sk, ipc->sockc.tsflags, &cork->tx_flags); in ip_setup_cork()
/kernel/linux/linux-6.6/net/core/
H A Dsock.c2820 u32 tsflags; in __sock_cmsg_send() local
2836 tsflags = *(u32 *)CMSG_DATA(cmsg); in __sock_cmsg_send()
2837 if (tsflags & ~SOF_TIMESTAMPING_TX_RECORD_MASK) in __sock_cmsg_send()
2840 sockc->tsflags &= ~SOF_TIMESTAMPING_TX_RECORD_MASK; in __sock_cmsg_send()
2841 sockc->tsflags |= tsflags; in __sock_cmsg_send()
H A Dskbuff.c5282 u32 tsflags; in __skb_tstamp_tx() local
5287 tsflags = READ_ONCE(sk->sk_tsflags); in __skb_tstamp_tx()
5288 if (!hwtstamps && !(tsflags & SOF_TIMESTAMPING_OPT_TX_SWHW) && in __skb_tstamp_tx()
5292 tsonly = tsflags & SOF_TIMESTAMPING_OPT_TSONLY; in __skb_tstamp_tx()
5298 if ((tsflags & SOF_TIMESTAMPING_OPT_STATS) && in __skb_tstamp_tx()
/kernel/linux/linux-5.10/net/ipv6/
H A Draw.c662 skb_setup_tx_timestamp(skb, sockc->tsflags); in rawv6_send_hdrinc()
816 ipc6.sockc.tsflags = sk->sk_tsflags; in rawv6_sendmsg()
H A Dudp.c1321 ipc6.sockc.tsflags = sk->sk_tsflags; in udpv6_sendmsg()
H A Dip6_output.c1449 sock_tx_timestamp(sk, ipc6->sockc.tsflags, &cork->base.tx_flags); in ip6_setup_cork()
/kernel/linux/linux-6.6/net/ipv4/
H A Dtcp.c467 static void tcp_tx_timestamp(struct sock *sk, u16 tsflags) in tcp_tx_timestamp() argument
471 if (tsflags && skb) { in tcp_tx_timestamp()
475 sock_tx_timestamp(sk, tsflags, &shinfo->tx_flags); in tcp_tx_timestamp()
476 if (tsflags & SOF_TIMESTAMPING_TX_ACK) in tcp_tx_timestamp()
478 if (tsflags & SOF_TIMESTAMPING_TX_RECORD_MASK) in tcp_tx_timestamp()
1308 tcp_tx_timestamp(sk, sockc.tsflags); in tcp_sendmsg_locked()
H A Dtcp_output.c1510 u8 tsflags = shinfo->tx_flags & SKBTX_ANY_TSTAMP; in tcp_fragment_tstamp() local
1512 shinfo->tx_flags &= ~tsflags; in tcp_fragment_tstamp()
1513 shinfo2->tx_flags |= tsflags; in tcp_fragment_tstamp()
H A Draw.c366 skb_setup_tx_timestamp(skb, sockc->tsflags); in raw_send_hdrinc()
/kernel/linux/linux-5.10/net/
H A Dsocket.c628 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-6.6/net/can/
H A Draw.c888 skb_setup_tx_timestamp(skb, sockc.tsflags); in raw_sendmsg()
/kernel/linux/linux-5.10/net/packet/
H A Daf_packet.c2024 skb_setup_tx_timestamp(skb, sockc.tsflags); in packet_sendmsg_spkt()
2544 skb_setup_tx_timestamp(skb, sockc->tsflags); in tpacket_fill_skb()
3008 skb_setup_tx_timestamp(skb, sockc.tsflags); in packet_snd()
/kernel/linux/linux-6.6/net/packet/
H A Daf_packet.c2061 skb_setup_tx_timestamp(skb, sockc.tsflags); in packet_sendmsg_spkt()
2595 skb_setup_tx_timestamp(skb, sockc->tsflags); in tpacket_fill_skb()
3060 skb_setup_tx_timestamp(skb, sockc.tsflags); in packet_snd()

Completed in 81 milliseconds

12