Home
last modified time | relevance | path

Searched refs:tstype (Results 1 – 3 of 3) 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