Home
last modified time | relevance | path

Searched refs:pkt_ts (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dtc_redirect.c489 struct timespec pkt_ts = {}; in __rcv_tstamp() local
490 char ctl[CMSG_SPACE(sizeof(pkt_ts))]; in __rcv_tstamp()
514 memcpy(&pkt_ts, CMSG_DATA(cmsg), sizeof(pkt_ts)); in __rcv_tstamp()
516 pkt_ns = pkt_ts.tv_sec * NSEC_PER_SEC + pkt_ts.tv_nsec; in __rcv_tstamp()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ptp.h178 int bnxt_get_rx_ts_p5(struct bnxt *bp, u64 *ts, u32 pkt_ts);
Dbnxt_ptp.c808 int bnxt_get_rx_ts_p5(struct bnxt *bp, u64 *ts, u32 pkt_ts) in bnxt_get_rx_ts_p5() argument
817 *ts = (time & BNXT_HI_TIMER_MASK) | pkt_ts; in bnxt_get_rx_ts_p5()
818 if (pkt_ts < (time & BNXT_LO_TIMER_MASK)) in bnxt_get_rx_ts_p5()