Home
last modified time | relevance | path

Searched refs:tstype (Results 1 – 4 of 4) 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.c79 u32 tstype, tskey; in io_process_timestamp_skb() local
89 tstype = serr->ee.ee_info; in io_process_timestamp_skb()
94 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.c5588 int tstype, in __skb_complete_tx_timestamp()
5600 serr->ee.ee_info = tstype;
5667 int tstype) in skb_tstamp_tx_report_so_timestamping()
5669 switch (tstype) {
5687 int tstype) in skb_tstamp_tx_report_bpf_timestamping()
5691 switch (tstype) { in skb_tstamp_tx_report_bpf_timestamping()
5716 struct sock *sk, int tstype) in __skb_tstamp_tx()
5727 sk, tstype); in __skb_tstamp_tx()
5729 if (!skb_tstamp_tx_report_so_timestamping(orig_skb, hwtstamps, tstype)) in __skb_tstamp_tx()
5773 __skb_complete_tx_timestamp(skb, sk, tstype, opt_stat in skb_complete_wifi_ack()
5574 __skb_complete_tx_timestamp(struct sk_buff * skb,struct sock * sk,int tstype,bool opt_stats) __skb_complete_tx_timestamp() argument
5653 skb_tstamp_tx_report_so_timestamping(struct sk_buff * skb,struct skb_shared_hwtstamps * hwtstamps,int tstype) skb_tstamp_tx_report_so_timestamping() argument
5673 skb_tstamp_tx_report_bpf_timestamping(struct sk_buff * skb,struct skb_shared_hwtstamps * hwtstamps,struct sock * sk,int tstype) skb_tstamp_tx_report_bpf_timestamping() argument
5702 __skb_tstamp_tx(struct sk_buff * orig_skb,const struct sk_buff * ack_skb,struct skb_shared_hwtstamps * hwtstamps,struct sock * sk,int tstype) __skb_tstamp_tx() argument
[all...]