| /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 | 63 u32 tstype, tskey; in io_process_timestamp_skb() local 72 tskey = serr->ee.ee_data; in io_process_timestamp_skb() 76 cqe->res = tskey; in io_process_timestamp_skb()
|
| /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() 218 int tskey, int payload_len) in print_timestamp() argument 222 validate_key(tskey, tstype); in print_timestamp() 244 __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()
|
| /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 | 547 session->tskey == skcb->tskey && session->sk == skb->sk) in j1939_session_get_simple() 1652 session->tskey = priv->rx_tskey++; in j1939_xtp_rx_rts_session_new() 2036 skcb->tskey = atomic_inc_return(&session->sk->sk_tskey) - 1; in j1939_tp_send() 2037 session->tskey = skcb->tskey; in j1939_tp_send()
|
| H A D | socket.c | 1085 serr->ee.ee_data = session->tskey; in __j1939_sk_errqueue() 1087 netdev_dbg(session->priv->ndev, "%s: 0x%p tskey: %i, state: %s\n", in __j1939_sk_errqueue() 1088 __func__, session, session->tskey, state);
|
| /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_output.c | 1724 !before(shinfo->tskey, TCP_SKB_CB(skb2)->seq)) { in tcp_fragment_tstamp() 1730 swap(shinfo->tskey, shinfo2->tskey); in tcp_fragment_tstamp() 3384 shinfo->tskey = next_shinfo->tskey; in tcp_skb_collapse_tstamp()
|
| H A D | tcp_input.c | 3386 if (!before(shinfo->tskey, prior_snd_una) && in tcp_ack_tstamp() 3387 before(shinfo->tskey, tcp_sk(sk)->snd_una)) { in tcp_ack_tstamp()
|
| H A D | tcp.c | 512 shinfo->tskey = TCP_SKB_CB(skb)->seq + skb->len - 1; in tcp_tx_timestamp()
|
| /linux/include/net/ |
| H A D | sock.h | 2881 __u8 *tx_flags, __u32 *tskey) in _sock_tx_timestamp() argument 2887 if (tsflags & SOF_TIMESTAMPING_OPT_ID && tskey && in _sock_tx_timestamp() 2890 *tskey = sockc->ts_opt_id; in _sock_tx_timestamp() 2892 *tskey = atomic_inc_return(&sk->sk_tskey) - 1; in _sock_tx_timestamp() 2908 &skb_shinfo(skb)->tskey); in skb_setup_tx_timestamp()
|
| /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``.
|
| H A D | timestamping.rst | 391 relevant sequence number in skb_shinfo(skb)->tskey. Because an skbuff
|
| /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 | 3033 skb_shinfo(skb)->tskey = sockc->ts_opt_id; in hci_setup_tx_timestamp() 3037 skb_shinfo(skb)->tskey = key - 1; in hci_setup_tx_timestamp()
|
| /linux/net/core/ |
| H A D | skbuff.c | 5542 serr->ee.ee_data = skb_shinfo(skb)->tskey; in __skb_complete_tx_timestamp() 5690 skb_shinfo(skb)->tskey = skb_shinfo(orig_skb)->tskey; in __skb_tstamp_tx()
|
| H A D | filter.c | 12326 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
|