| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | net_timestamping.c | 24 u32 tskey; member 146 key.tskey = shinfo->tskey; in bpf_test_delay() 147 if (!key.tskey) in bpf_test_delay() 153 key.tskey = shinfo->tskey; in bpf_test_delay() 154 if (!key.tskey) in bpf_test_delay()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | net_timestamping.c | 26 static void validate_key(int tskey, int tstype) in validate_key() argument 33 ASSERT_EQ(expected_tskey, tskey, "tskey mismatch"); in validate_key() 35 expected_tskey = tskey; in validate_key() 49 int tskey) in test_socket_timestamp() argument 53 validate_key(tskey, tstype); in test_socket_timestamp()
|
| /linux/io_uring/ |
| H A D | cmd_net.c | 64 u32 tstype, tskey; in io_process_timestamp_skb() 73 tskey = serr->ee.ee_data; in io_process_timestamp_skb() 77 cqe->res = tskey; in io_process_timestamp_skb() 63 u32 tstype, tskey; io_process_timestamp_skb() local
|
| /linux/tools/testing/selftests/net/ |
| H A D | txtimestamp.c | 134 static void validate_key(int tskey, int tstype) in validate_key() argument 148 if (tskey != saved_tskey + stepsize) { in validate_key() 150 tskey, saved_tskey + stepsize); in validate_key() 154 saved_tskey = tskey; in validate_key() 216 int tskey, int payload_len) 220 validate_key(tskey, tstype); in print_timestamp() 242 __print_timestamp(tsname, &tss->ts[0], tskey, payload_len); in print_timestamp() 705 " -o N: use SCM_TS_OPT_ID control message to provide N as tskey\n" in usage() 218 print_timestamp(struct scm_timestamping * tss,int tstype,int tskey,int payload_len) print_timestamp() argument
|
| /linux/net/can/j1939/ |
| H A D | j1939-priv.h | 161 u32 tskey; member 262 u32 tskey; member
|
| H A D | main.c | 72 skcb->tskey = iskcb->tskey; in j1939_can_recv()
|
| H A D | transport.c | 548 session->tskey == skcb->tskey && session->sk == skb->sk) in j1939_session_get_simple() 1673 session->tskey = priv->rx_tskey++; in j1939_xtp_rx_rts_session_new() 2065 skcb->tskey = atomic_inc_return(&session->sk->sk_tskey) - 1; in j1939_tp_send() 2066 session->tskey = skcb->tskey; in j1939_tp_send()
|
| H A D | socket.c | 1091 serr->ee.ee_data = session->tskey; in __j1939_sk_errqueue() 1094 __func__, session, session->tskey, state); in __j1939_sk_errqueue()
|
| /linux/net/ipv4/ |
| H A D | ip_output.c | 976 u32 tskey = 0; in __ip_append_data() local 1054 tskey = cork->ts_opt_id; in __ip_append_data() 1056 tskey = atomic_inc_return(&sk->sk_tskey) - 1; in __ip_append_data() 1191 skb_shinfo(skb)->tskey = tskey; in __ip_append_data() 1192 tskey = 0; in __ip_append_data()
|
| H A D | tcp_offload.c | 20 u32 ts_seq = skb_shinfo(gso_skb)->tskey; in tcp_gso_tstamp() 25 skb_shinfo(skb)->tskey = ts_seq; in tcp_gso_tstamp()
|
| H A D | udp_offload.c | 572 skb_shinfo(seg)->tskey = skb_shinfo(gso_skb)->tskey; in __udp_gso_segment()
|
| H A D | tcp_output.c | 1786 !before(shinfo->tskey, TCP_SKB_CB(skb2)->seq)) { in tcp_fragment() 1792 swap(shinfo->tskey, shinfo2->tskey); in tcp_fragment() 3446 shinfo->tskey = next_shinfo->tskey;
|
| H A D | tcp_input.c | 3590 if (!before(shinfo->tskey, prior_snd_una) && in tcp_ack_tstamp() 3591 before(shinfo->tskey, tcp_sk(sk)->snd_una)) { in tcp_ack_tstamp()
|
| H A D | tcp.c | 506 shinfo->tskey = TCP_SKB_CB(skb)->seq + skb->len - 1; in tcp_tx_timestamp()
|
| /linux/net/ipv6/ |
| H A D | ip6_output.c | 1440 u32 tskey = 0; in __ip6_append_data() local 1556 tskey = cork->ts_opt_id; in __ip6_append_data() 1558 tskey = atomic_inc_return(&sk->sk_tskey) - 1; in __ip6_append_data() 1723 skb_shinfo(skb)->tskey = tskey; in __ip6_append_data() 1724 tskey = 0; in __ip6_append_data()
|
| /linux/include/net/ |
| H A D | sock.h | 2884 * @tskey: filled in with next sk_tskey (not for TCP, which uses seqno) in _sock_tx_timestamp() 2890 __u8 *tx_flags, __u32 *tskey) in _sock_tx_timestamp() 2896 if (tsflags & SOF_TIMESTAMPING_OPT_ID && tskey && 2899 *tskey = sockc->ts_opt_id; in sock_tx_timestamp() 2901 *tskey = atomic_inc_return(&sk->sk_tskey) - 1; in sock_tx_timestamp() 2917 &skb_shinfo(skb)->tskey); 2881 _sock_tx_timestamp(struct sock * sk,const struct sockcm_cookie * sockc,__u8 * tx_flags,__u32 * tskey) _sock_tx_timestamp() argument
|
| /linux/Documentation/translations/zh_CN/networking/ |
| H A D | timestamping.rst | 313 节。它存储相关的序列号在 skb_shinfo(skb)->tskey。因为一个 skbuff 只有一
|
| /linux/Documentation/networking/ |
| H A D | j1939.rst | 633 sessions using the session ID (``tskey``). The session ID is assigned via the 660 // Enable timestamping with session tracking via tskey 808 will be set to the session’s unique identifier (``session->tskey``). This 839 (``tskey``) for each transfer. This identifier helps track message transfers 841 ``serr->ee_data`` will be set to ``session->tskey``.
|
| /linux/drivers/net/arcnet/ |
| H A D | arcnet.c | 458 serr->ee.ee_data = skb_shinfo(skb)->tskey; in arcnet_reply_work()
|
| /linux/drivers/net/ethernet/freescale/dpaa/ |
| H A D | dpaa_eth.c | 2194 skb_shinfo(new_skb)->tskey = skb_shinfo(skb)->tskey; in dpaa_a050385_wa_skb()
|
| /linux/net/bluetooth/ |
| H A D | hci_conn.c | 3145 skb_shinfo(skb)->tskey = sockc->ts_opt_id; in hci_setup_tx_timestamp() 3149 skb_shinfo(skb)->tskey = key - 1; in hci_setup_tx_timestamp()
|
| /linux/net/core/ |
| H A D | skbuff.c | 5580 serr->ee.ee_data = skb_shinfo(skb)->tskey; in __skb_complete_tx_timestamp() 5728 skb_shinfo(skb)->tskey = skb_shinfo(orig_skb)->tskey; in __skb_tstamp_tx()
|
| H A D | filter.c | 12327 skb_shinfo(skb)->tskey = TCP_SKB_CB(skb)->seq + skb->len - 1; in bpf_sock_ops_enable_tx_tstamp()
|
| /linux/include/linux/ |
| H A D | skbuff.h | 607 u32 tskey; member
|