Home
last modified time | relevance | path

Searched refs:pkt_ns (Results 1 – 2 of 2) sorted by relevance

/linux/net/l2tp/
H A Dtrace.h168 TP_PROTO(struct l2tp_session *session, u32 pkt_ns),
169 TP_ARGS(session, pkt_ns),
172 __field(u32, pkt_ns)
178 __entry->pkt_ns = pkt_ns,
184 __entry->pkt_ns,
190 TP_PROTO(struct l2tp_session *session, u32 pkt_ns),
191 TP_ARGS(session, pkt_ns)
195 TP_PROTO(struct l2tp_session *session, u32 pkt_ns),
196 TP_ARGS(session, pkt_ns)
200 TP_PROTO(struct l2tp_session *session, u32 pkt_ns),
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_redirect.c493 __u64 now_ns, pkt_ns; in __rcv_tstamp() local
516 pkt_ns = pkt_ts.tv_sec * NSEC_PER_SEC + pkt_ts.tv_nsec; in __rcv_tstamp()
519 *tstamp = pkt_ns; in __rcv_tstamp()
523 ASSERT_NEQ(pkt_ns, 0, "pkt rcv tstamp"); in __rcv_tstamp()
529 if (ASSERT_GE(now_ns, pkt_ns, "check rcv tstamp")) in __rcv_tstamp()
530 ASSERT_LT(now_ns - pkt_ns, 5 * NSEC_PER_SEC, in __rcv_tstamp()