Searched refs:tsflags (Results 1 – 10 of 10) sorted by relevance
754 void __sock_tx_timestamp(__u32 tsflags, __u8 *tx_flags) in __sock_tx_timestamp() argument758 if (tsflags & SOF_TIMESTAMPING_TX_HARDWARE) in __sock_tx_timestamp()761 if (tsflags & SOF_TIMESTAMPING_TX_SOFTWARE) in __sock_tx_timestamp()764 if (tsflags & SOF_TIMESTAMPING_TX_SCHED) in __sock_tx_timestamp()767 if (tsflags & SOF_TIMESTAMPING_TX_COMPLETION) in __sock_tx_timestamp()924 u32 tsflags = READ_ONCE(sk->sk_tsflags); in skb_has_tx_timestamp() local931 if ((tsflags & SOF_TIMESTAMPING_SOFTWARE) && skb->tstamp) in skb_has_tx_timestamp()934 return (tsflags & SOF_TIMESTAMPING_RAW_HARDWARE) && in skb_has_tx_timestamp()941 u32 tsflags = READ_ONCE(sk->sk_tsflags); in skb_get_tx_timestamp() local945 if ((tsflags & SOF_TIMESTAMPING_SOFTWARE) && in skb_get_tx_timestamp()[all …]
1917 u32 tsflags; member1928 .tsflags = READ_ONCE(sk->sk_tsflags), in sockcm_init()2847 u32 tsflags = READ_ONCE(sk->sk_tsflags); in sock_recv_timestamp() local2856 (tsflags & SOF_TIMESTAMPING_RX_SOFTWARE) || in sock_recv_timestamp()2857 (kt && tsflags & SOF_TIMESTAMPING_SOFTWARE) || in sock_recv_timestamp()2859 (tsflags & SOF_TIMESTAMPING_RAW_HARDWARE))) in sock_recv_timestamp()2891 void __sock_tx_timestamp(__u32 tsflags, __u8 *tx_flags);2906 __u32 tsflags = sockc->tsflags; in _sock_tx_timestamp() local2908 if (unlikely(tsflags)) { in _sock_tx_timestamp()2909 __sock_tx_timestamp(tsflags, tx_flags); in _sock_tx_timestamp()[all …]
485 u32 tsflags = sockc->tsflags; in tcp_tx_timestamp() local490 if (tsflags && skb) { in tcp_tx_timestamp()495 if (tsflags & SOF_TIMESTAMPING_TX_ACK) in tcp_tx_timestamp()497 if (tsflags & SOF_TIMESTAMPING_TX_RECORD_MASK) in tcp_tx_timestamp()1133 sockc = (struct sockcm_cookie){ .tsflags = READ_ONCE(sk->sk_tsflags) }; in tcp_sendmsg_locked()2351 u32 tsflags = READ_ONCE(sk->sk_tsflags); in tcp_recv_timestamp() local2392 if (!(tsflags & SOF_TIMESTAMPING_SOFTWARE && in tcp_recv_timestamp()2393 (tsflags & SOF_TIMESTAMPING_RX_SOFTWARE || in tcp_recv_timestamp()2394 !(tsflags & SOF_TIMESTAMPING_OPT_RX_FILTER)))) in tcp_recv_timestamp()2399 if (!(tsflags & SOF_TIMESTAMPING_RAW_HARDWARE && in tcp_recv_timestamp()[all …]
1810 u8 tsflags = shinfo->tx_flags & SKBTX_ANY_TSTAMP; in tcp_fragment_tstamp() local1812 shinfo->tx_flags &= ~tsflags; in tcp_fragment_tstamp()1813 shinfo2->tx_flags |= tsflags; in tcp_fragment_tstamp()
1340 if (ipc->sockc.tsflags & SOCKCM_FLAG_TS_OPT_ID) { in ip_setup_cork()
3236 if (sockc->tsflags & SOF_TIMESTAMPING_OPT_ID && in hci_setup_tx_timestamp()3237 sockc->tsflags & SOF_TIMESTAMPING_TX_RECORD_MASK) { in hci_setup_tx_timestamp()3238 if (sockc->tsflags & SOCKCM_FLAG_TS_OPT_ID) { in hci_setup_tx_timestamp()
5697 u32 tsflags; in __skb_tstamp_tx() local5709 tsflags = READ_ONCE(sk->sk_tsflags); in __skb_tstamp_tx()5710 if (!hwtstamps && !(tsflags & SOF_TIMESTAMPING_OPT_TX_SWHW) && in __skb_tstamp_tx()5714 tsonly = tsflags & SOF_TIMESTAMPING_OPT_TSONLY; in __skb_tstamp_tx()5720 if ((tsflags & SOF_TIMESTAMPING_OPT_STATS) && in __skb_tstamp_tx()
1440 if (ipc6->sockc.tsflags & SOCKCM_FLAG_TS_OPT_ID) { in ip6_setup_cork()
8065 int tsflags; in __tg3_start_xmit() local8067 tsflags = (iph->ihl - 5) + (tcp_opt_len >> 2); in __tg3_start_xmit()8068 mss |= (tsflags << 11); in __tg3_start_xmit()8072 int tsflags; in __tg3_start_xmit() local8074 tsflags = (iph->ihl - 5) + (tcp_opt_len >> 2); in __tg3_start_xmit()8075 base_flags |= tsflags << 12; in __tg3_start_xmit()
1640 .tsflags = READ_ONCE(sk->sk_tsflags), in hci_sockcm_init()