Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dtc_redirect.c401 struct __kernel_timespec pkt_ts = {}; in rcv_tstamp() local
402 char ctl[CMSG_SPACE(sizeof(pkt_ts))]; in rcv_tstamp()
426 memcpy(&pkt_ts, CMSG_DATA(cmsg), sizeof(pkt_ts)); in rcv_tstamp()
428 pkt_ns = pkt_ts.tv_sec * NSEC_PER_SEC + pkt_ts.tv_nsec; in rcv_tstamp()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ptp.h145 int bnxt_get_rx_ts_p5(struct bnxt *bp, u64 *ts, u32 pkt_ts);
Dbnxt_ptp.c741 int bnxt_get_rx_ts_p5(struct bnxt *bp, u64 *ts, u32 pkt_ts) in bnxt_get_rx_ts_p5() argument
750 *ts = (time & BNXT_HI_TIMER_MASK) | pkt_ts; in bnxt_get_rx_ts_p5()
751 if (pkt_ts < (time & BNXT_LO_TIMER_MASK)) in bnxt_get_rx_ts_p5()