Searched refs:hwtstamp (Results 1 – 11 of 11) sorted by relevance
/net/ |
D | socket.c | 834 ktime_t hwtstamp; in get_timestamp() local 840 hwtstamp = netdev_get_tstamp(orig_dev, shhwtstamps, cycles); in get_timestamp() 842 hwtstamp = shhwtstamps->hwtstamp; in get_timestamp() 846 return hwtstamp; in get_timestamp() 887 ktime_t hwtstamp; in __sock_recv_timestamp() local 939 hwtstamp = get_timestamp(sk, skb, &if_index); in __sock_recv_timestamp() 941 hwtstamp = shhwtstamps->hwtstamp; in __sock_recv_timestamp() 944 hwtstamp = ptp_convert_timestamp(&hwtstamp, in __sock_recv_timestamp() 947 if (ktime_to_timespec64_cond(hwtstamp, tss.ts + 2)) { in __sock_recv_timestamp()
|
/net/bpf/ |
D | test_run.c | 1021 offsetof(struct __sk_buff, hwtstamp))) in convert___skb_to_skb() 1026 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, hwtstamp), in convert___skb_to_skb() 1049 skb_shinfo(skb)->hwtstamps.hwtstamp = __skb->hwtstamp; in convert___skb_to_skb() 1069 __skb->hwtstamp = skb_shinfo(skb)->hwtstamps.hwtstamp; in convert_skb_to___skb()
|
/net/tipc/ |
D | trace.c | 144 ktime_to_ms(skb_hwtstamps(skb)->hwtstamp)); in tipc_skb_dump()
|
/net/ipv4/ |
D | tcp_ipv4.c | 1858 skb_hwtstamps(tail)->hwtstamp = skb_hwtstamps(skb)->hwtstamp; in tcp_add_backlog() 1925 skb->tstamp || skb_hwtstamps(skb)->hwtstamp; in tcp_v4_fill_cb()
|
D | tcp.c | 1867 if (skb_hwtstamps(skb)->hwtstamp) in tcp_update_recv_tstamps() 1868 tss->ts[2] = ktime_to_timespec64(skb_hwtstamps(skb)->hwtstamp); in tcp_update_recv_tstamps()
|
D | tcp_input.c | 4710 skb_hwtstamps(to)->hwtstamp = skb_hwtstamps(from)->hwtstamp; in tcp_try_coalesce()
|
/net/core/ |
D | filter.c | 8399 case bpf_ctx_range(struct __sk_buff, hwtstamp): in bpf_skb_is_valid_access() 8414 case offsetofend(struct __sk_buff, tstamp_type) ... offsetof(struct __sk_buff, hwtstamp) - 1: in bpf_skb_is_valid_access() 8445 case bpf_ctx_range(struct __sk_buff, hwtstamp): in sk_filter_is_valid_access() 8516 case bpf_ctx_range(struct __sk_buff, hwtstamp): in lwt_is_valid_access() 9086 case bpf_ctx_range(struct __sk_buff, hwtstamp): in sk_skb_is_valid_access() 9681 case offsetof(struct __sk_buff, hwtstamp): in bpf_convert_ctx_access() 9682 BUILD_BUG_ON(sizeof_field(struct skb_shared_hwtstamps, hwtstamp) != 8); in bpf_convert_ctx_access() 9683 BUILD_BUG_ON(offsetof(struct skb_shared_hwtstamps, hwtstamp) != 0); in bpf_convert_ctx_access()
|
/net/mac80211/ |
D | status.c | 658 ktime_to_ns(skb_hwtstamps(orig_skb)->hwtstamp); in ieee80211_report_ack_skb()
|
D | rx.c | 3691 info.rx_tstamp = ktime_to_ns(skb_hwtstamps(rx->skb)->hwtstamp); in ieee80211_rx_h_userspace_mgmt() 4865 shwt->hwtstamp = skb_hwtstamps(skb)->hwtstamp; in ieee80211_prepare_and_rx_handle()
|
/net/ipv6/ |
D | tcp_ipv6.c | 1588 skb->tstamp || skb_hwtstamps(skb)->hwtstamp; in tcp_v6_fill_cb()
|
/net/packet/ |
D | af_packet.c | 464 ktime_to_timespec64_cond(shhwtstamps->hwtstamp, ts)) in tpacket_get_timestamp()
|