Searched refs:sk_tsflags (Results 1 – 14 of 14) sorted by relevance
496 u16 sk_tsflags; member1739 *sockc = (struct sockcm_cookie) { .tsflags = sk->sk_tsflags }; in sockcm_init()2505 (sk->sk_tsflags & SOF_TIMESTAMPING_RX_SOFTWARE) || in sock_recv_timestamp()2506 (kt && sk->sk_tsflags & SOF_TIMESTAMPING_SOFTWARE) || in sock_recv_timestamp()2508 (sk->sk_tsflags & SOF_TIMESTAMPING_RAW_HARDWARE))) in sock_recv_timestamp()2529 if (sk->sk_flags & FLAGS_TS_OR_DROPS || sk->sk_tsflags & TSFLAGS_ANY) in sock_recv_ts_and_drops()
95 ipcm->sockc.tsflags = inet->sk.sk_tsflags; in ipcm_init_sk()
971 if (!(sk->sk_tsflags & SOF_TIMESTAMPING_TX_ACK)) { in j1939_sk_errqueue()982 if (!(sk->sk_tsflags & SOF_TIMESTAMPING_TX_SCHED)) { in j1939_sk_errqueue()1003 if (sk->sk_tsflags & SOF_TIMESTAMPING_OPT_ID) in j1939_sk_errqueue()
816 skb_setup_tx_timestamp(skb, sk->sk_tsflags); in raw_sendmsg()
820 if ((sk->sk_tsflags & SOF_TIMESTAMPING_SOFTWARE) && in __sock_recv_timestamp()824 (sk->sk_tsflags & SOF_TIMESTAMPING_RAW_HARDWARE) && in __sock_recv_timestamp()828 if ((sk->sk_tsflags & SOF_TIMESTAMPING_OPT_PKTINFO) && in __sock_recv_timestamp()
1011 !(sk->sk_tsflags & SOF_TIMESTAMPING_OPT_ID)) { in sock_setsockopt()1031 sk->sk_tsflags = val; in sock_setsockopt()1411 v.val = sk->sk_tsflags; in sock_getsockopt()
4676 if (sk->sk_tsflags & SOF_TIMESTAMPING_OPT_ID) { in __skb_complete_tx_timestamp()4736 if (!hwtstamps && !(sk->sk_tsflags & SOF_TIMESTAMPING_OPT_TX_SWHW) && in __skb_tstamp_tx()4740 tsonly = sk->sk_tsflags & SOF_TIMESTAMPING_OPT_TSONLY; in __skb_tstamp_tx()4746 if ((sk->sk_tsflags & SOF_TIMESTAMPING_OPT_STATS) && in __skb_tstamp_tx()
1089 tcp_tx_timestamp(sk, sk->sk_tsflags); in do_tcp_sendpages()2043 if (sk->sk_tsflags & SOF_TIMESTAMPING_SOFTWARE) in tcp_recv_timestamp()2050 if (sk->sk_tsflags & SOF_TIMESTAMPING_RAW_HARDWARE) in tcp_recv_timestamp()
505 if (!(sk->sk_tsflags & SOF_TIMESTAMPING_OPT_CMSG) || in ipv4_datagram_support_cmsg()
1002 sk->sk_tsflags & SOF_TIMESTAMPING_OPT_ID) in __ip_append_data()
816 ipc6.sockc.tsflags = sk->sk_tsflags; in rawv6_sendmsg()
1299 ipc6.sockc.tsflags = sk->sk_tsflags; in udpv6_sendmsg()
1493 sk->sk_tsflags & SOF_TIMESTAMPING_OPT_ID) in __ip6_append_data()
9187 newsk->sk_tsflags = sk->sk_tsflags; in sctp_copy_sock()