Home
last modified time | relevance | path

Searched refs:tstype (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dnet_timestamping.c26 static void validate_key(int tskey, int tstype) in validate_key() argument
30 if (tstype == SCM_TSTAMP_SCHED) in validate_key()
48 static void test_socket_timestamp(struct scm_timestamping *tss, int tstype, in test_socket_timestamp() argument
53 validate_key(tskey, tstype); in test_socket_timestamp()
55 switch (tstype) { in test_socket_timestamp()
/linux/io_uring/
H A Dcmd_net.c64 u32 tstype, tskey; in io_process_timestamp_skb() local
74 tstype = serr->ee.ee_info; in io_process_timestamp_skb()
79 cqe->flags |= tstype << IORING_TIMESTAMP_TYPE_SHIFT; in io_process_timestamp_skb()
/linux/tools/testing/selftests/net/
H A Dtxtimestamp.c134 static void validate_key(int tskey, int tstype) in validate_key() argument
142 saved_tskey_type = tstype; in validate_key()
143 else if (saved_tskey_type != tstype) in validate_key()
215 static void print_timestamp(struct scm_timestamping *tss, int tstype, in print_timestamp_usr()
220 validate_key(tskey, tstype); in print_timestamp()
222 switch (tstype) { in print_timestamp()
240 tstype); in print_timestamp()
217 print_timestamp(struct scm_timestamping * tss,int tstype,int tskey,int payload_len) print_timestamp() argument
/linux/net/core/
H A Dskbuff.c5564 int tstype, in __skb_complete_tx_timestamp() argument
5576 serr->ee.ee_info = tstype; in __skb_complete_tx_timestamp()
5643 int tstype) in skb_tstamp_tx_report_so_timestamping() argument
5645 switch (tstype) { in skb_tstamp_tx_report_so_timestamping()
5663 int tstype) in skb_tstamp_tx_report_bpf_timestamping() argument
5667 switch (tstype) { in skb_tstamp_tx_report_bpf_timestamping()
5692 struct sock *sk, int tstype) in __skb_tstamp_tx() argument
5703 sk, tstype); in __skb_tstamp_tx()
5705 if (!skb_tstamp_tx_report_so_timestamping(orig_skb, hwtstamps, tstype)) in __skb_tstamp_tx()
5749 __skb_complete_tx_timestamp(skb, sk, tstype, opt_stats); in __skb_tstamp_tx()
/linux/include/linux/
H A Dskbuff.h4692 struct sock *sk, int tstype);