/kernel/linux/linux-5.10/drivers/input/keyboard/ |
D | applespi_trace.h | 22 enum applespi_pkt_type pkt_type, 26 TP_ARGS(evt_type, pkt_type, buf, len), 30 __field(enum applespi_pkt_type, pkt_type) 37 __entry->pkt_type = pkt_type; 43 __print_symbolic(__entry->pkt_type, 54 enum applespi_pkt_type pkt_type, \ 57 TP_ARGS(evt_type, pkt_type, buf, len) \ 70 enum applespi_pkt_type pkt_type), 72 TP_ARGS(evt_type, pkt_type), 76 __field(enum applespi_pkt_type, pkt_type) [all …]
|
/kernel/linux/linux-5.10/net/mac802154/ |
D | rx.c | 49 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 52 skb->pkt_type = PACKET_HOST; in ieee802154_subif_frame() 57 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 59 skb->pkt_type = PACKET_HOST; in ieee802154_subif_frame() 61 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 66 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 68 skb->pkt_type = PACKET_HOST; in ieee802154_subif_frame() 71 skb->pkt_type = PACKET_BROADCAST; in ieee802154_subif_frame() 73 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 228 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_monitors_rx() [all …]
|
D | main.c | 29 switch (skb->pkt_type) { in ieee802154_tasklet_handler() 34 skb->pkt_type = 0; in ieee802154_tasklet_handler() 39 skb->pkt_type); in ieee802154_tasklet_handler()
|
/kernel/linux/linux-5.10/drivers/staging/vt6656/ |
D | rxtx.c | 87 u16 tx_rate, u8 pkt_type, in vnt_get_phy_field() argument 126 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 137 if (pkt_type == PK_TYPE_11B) { in vnt_get_phy_field() 192 vnt_get_phy_field(priv, frame_len, rate, tx_context->pkt_type, &buf->a); in vnt_rxtx_datahead_g() 215 tx_context->pkt_type, &buf->ab); in vnt_rxtx_datahead_ab() 245 tx_context->pkt_type, &buf->a); in vnt_rxtx_rts_g_head() 263 tx_context->pkt_type, &buf->ab); in vnt_rxtx_rts_ab_head() 511 u8 pkt_type; in vnt_tx_packet() local 519 pkt_type = PK_TYPE_11A; in vnt_tx_packet() 523 pkt_type = PK_TYPE_11GB; in vnt_tx_packet() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | kfree_skb.c | 70 char pkt_type; in BPF_PROG() local 88 bpf_probe_read_kernel(&pkt_type, sizeof(pkt_type), _(&skb->__pkt_type_offset)); in BPF_PROG() 89 pkt_type &= 7; in BPF_PROG() 96 _(skb->len), users, pkt_type); in BPF_PROG()
|
/kernel/linux/linux-5.10/net/bridge/netfilter/ |
D | ebt_dnat.c | 31 skb->pkt_type = PACKET_BROADCAST; in ebt_dnat_tg() 33 skb->pkt_type = PACKET_MULTICAST; in ebt_dnat_tg() 53 skb->pkt_type = PACKET_HOST; in ebt_dnat_tg() 55 skb->pkt_type = PACKET_OTHERHOST; in ebt_dnat_tg()
|
D | ebt_pkttype.c | 21 return (skb->pkt_type == info->pkt_type) ^ info->invert; in ebt_pkttype_mt()
|
D | ebtable_broute.c | 87 if (skb->pkt_type == PACKET_HOST && in ebt_broute() 90 skb->pkt_type = PACKET_OTHERHOST; in ebt_broute()
|
/kernel/linux/linux-5.10/drivers/staging/vt6655/ |
D | baseband.c | 1763 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy) in vnt_get_phy_field() argument 1821 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1828 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1835 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1842 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1849 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1856 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1863 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1870 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1876 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() [all …]
|
D | rxtx.c | 185 static __le16 vnt_rxtx_rsvtime_le16(struct vnt_private *priv, u8 pkt_type, in vnt_rxtx_rsvtime_le16() argument 188 return cpu_to_le16((u16)s_uGetTxRsvTime(priv, pkt_type, in vnt_rxtx_rsvtime_le16() 195 unsigned char pkt_type, in get_rtscts_time() argument 205 data_time = bb_get_frame_time(priv->byPreambleType, pkt_type, frame_length, current_rate); in get_rtscts_time() 207 rts_time = bb_get_frame_time(priv->byPreambleType, pkt_type, 20, priv->byTopCCKBasicRate); in get_rtscts_time() 208 ack_time = bb_get_frame_time(priv->byPreambleType, pkt_type, 14, priv->byTopCCKBasicRate); in get_rtscts_time() 211 rts_time = bb_get_frame_time(priv->byPreambleType, pkt_type, 20, priv->byTopCCKBasicRate); in get_rtscts_time() 212 cts_time = bb_get_frame_time(priv->byPreambleType, pkt_type, 14, priv->byTopCCKBasicRate); in get_rtscts_time() 213 ack_time = bb_get_frame_time(priv->byPreambleType, pkt_type, 14, priv->byTopOFDMBasicRate); in get_rtscts_time() 215 rts_time = bb_get_frame_time(priv->byPreambleType, pkt_type, 20, priv->byTopOFDMBasicRate); in get_rtscts_time() [all …]
|
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/ |
D | hfi_cmds.c | 16 pkt->hdr.pkt_type = HFI_CMD_SYS_INIT; in pkt_sys_init() 23 pkt->hdr.pkt_type = HFI_CMD_SYS_PC_PREP; in pkt_sys_pc_prep() 31 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_idle_indicator() 43 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_debug_config() 54 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_coverage_config() 64 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_RESOURCE; in pkt_sys_set_resource() 91 pkt->hdr.pkt_type = HFI_CMD_SYS_RELEASE_RESOURCE; in pkt_sys_unset_resource() 111 pkt->hdr.pkt_type = HFI_CMD_SYS_PING; in pkt_sys_ping() 120 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_power_control() 138 pkt->hdr.pkt_type = HFI_CMD_SYS_TEST_SSR; in pkt_sys_ssr_cmd() [all …]
|
/kernel/linux/linux-5.10/net/bridge/ |
D | br_input.c | 74 enum br_pkt_type pkt_type = BR_PKT_UNICAST; in br_handle_frame_finish() local 101 pkt_type = BR_PKT_BROADCAST; in br_handle_frame_finish() 104 pkt_type = BR_PKT_MULTICAST; in br_handle_frame_finish() 133 switch (pkt_type) { in br_handle_frame_finish() 166 br_flood(br, skb, pkt_type, local_rcv, false); in br_handle_frame_finish() 267 if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) in br_handle_frame() 354 skb->pkt_type = PACKET_HOST; in br_handle_frame()
|
D | br_netfilter_hooks.c | 363 skb->pkt_type = PACKET_OTHERHOST; in br_nf_pre_routing_finish() 408 skb->pkt_type = PACKET_HOST; in br_nf_pre_routing_finish() 450 if (skb->pkt_type == PACKET_OTHERHOST) { in setup_pre_routing() 451 skb->pkt_type = PACKET_HOST; in setup_pre_routing() 555 skb->pkt_type = PACKET_OTHERHOST; in br_nf_forward_finish() 611 if (skb->pkt_type == PACKET_OTHERHOST) { in br_nf_forward_ip() 612 skb->pkt_type = PACKET_HOST; in br_nf_forward_ip() 739 skb->pkt_type = PACKET_OTHERHOST; in br_nf_dev_queue_xmit() 842 if (skb->pkt_type == PACKET_OTHERHOST) { in br_nf_post_routing() 843 skb->pkt_type = PACKET_HOST; in br_nf_post_routing()
|
/kernel/linux/linux-5.10/net/bluetooth/ |
D | hci_conn.c | 39 u16 pkt_type; member 230 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_acl_create_connection() 274 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_add_sco() 320 cp.pkt_type = __cpu_to_le16(param->pkt_type); in hci_setup_sync() 555 conn->pkt_type = hdev->pkt_type & ACL_PTYPE_MASK; in hci_conn_add() 563 conn->pkt_type = (hdev->esco_type & SCO_ESCO_MASK) | in hci_conn_add() 566 conn->pkt_type = hdev->pkt_type & SCO_PTYPE_MASK; in hci_conn_add() 569 conn->pkt_type = hdev->esco_type & ~EDR_ESCO_MASK; in hci_conn_add() 1811 if (conn->pkt_type & (HCI_DM3 | HCI_DH3)) in hci_conn_get_phy() 1814 if (conn->pkt_type & (HCI_DM5 | HCI_DH5)) in hci_conn_get_phy() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
D | sta_tx.c | 51 u16 pkt_type, pkt_offset; in mwifiex_process_sta_txpd() local 63 pkt_type = mwifiex_is_skb_mgmt_frame(skb) ? PKT_TYPE_MGMT : 0; in mwifiex_process_sta_txpd() 110 if (pkt_type == PKT_TYPE_MGMT) { in mwifiex_process_sta_txpd() 112 local_tx_pd->tx_pkt_type = cpu_to_le16(pkt_type); in mwifiex_process_sta_txpd()
|
D | uap_txrx.c | 375 u8 ta[ETH_ALEN], pkt_type; in mwifiex_process_uap_rx_packet() local 426 pkt_type = (u8)le16_to_cpu(uap_rx_pd->rx_pkt_type); in mwifiex_process_uap_rx_packet() 428 uap_rx_pd->priority, ta, pkt_type, in mwifiex_process_uap_rx_packet() 464 u16 pkt_type, pkt_offset; in mwifiex_process_uap_txpd() local 476 pkt_type = mwifiex_is_skb_mgmt_frame(skb) ? PKT_TYPE_MGMT : 0; in mwifiex_process_uap_txpd() 509 if (pkt_type == PKT_TYPE_MGMT) { in mwifiex_process_uap_txpd() 511 txpd->tx_pkt_type = cpu_to_le16(pkt_type); in mwifiex_process_uap_txpd()
|
/kernel/linux/linux-5.10/net/802/ |
D | fddi.c | 122 skb->pkt_type = PACKET_BROADCAST; in fddi_type_trans() 124 skb->pkt_type = PACKET_MULTICAST; in fddi_type_trans() 130 skb->pkt_type = PACKET_OTHERHOST; in fddi_type_trans()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | xt_pkttype.c | 28 if (skb->pkt_type != PACKET_LOOPBACK) in pkttype_mt() 29 type = skb->pkt_type; in pkttype_mt()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_recv.c | 16 unsigned int pkt_type; in check_type_state() local 21 pkt_type = pkt->opcode & 0xe0; in check_type_state() 25 if (unlikely(pkt_type != IB_OPCODE_RC)) { in check_type_state() 31 if (unlikely(pkt_type != IB_OPCODE_UC)) { in check_type_state() 39 if (unlikely(pkt_type != IB_OPCODE_UD)) { in check_type_state()
|
/kernel/linux/linux-5.10/drivers/net/ipvlan/ |
D | ipvlan_core.c | 235 u8 pkt_type; in ipvlan_process_multicast() local 253 pkt_type = PACKET_BROADCAST; in ipvlan_process_multicast() 255 pkt_type = PACKET_MULTICAST; in ipvlan_process_multicast() 271 nskb->pkt_type = pkt_type; in ipvlan_process_multicast() 286 skb->pkt_type = pkt_type; in ipvlan_process_multicast() 340 skb->pkt_type = PACKET_HOST; in ipvlan_rcv_frame()
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
D | hci_vhci.c | 161 __u8 pkt_type, opcode; in vhci_get_user() local 176 pkt_type = *((__u8 *) skb->data); in vhci_get_user() 179 switch (pkt_type) { in vhci_get_user() 189 hci_skb_pkt_type(skb) = pkt_type; in vhci_get_user()
|
/kernel/linux/linux-5.10/drivers/net/can/ |
D | vcan.c | 79 skb->pkt_type = PACKET_BROADCAST; in vcan_rx() 99 loop = skb->pkt_type == PACKET_LOOPBACK; in vcan_tx()
|
/kernel/linux/linux-5.10/net/dccp/ |
D | options.c | 53 const u8 pkt_type = DCCP_SKB_CB(skb)->dccpd_type; in dccp_parse_options() local 109 if (pkt_type != DCCP_PKT_DATA) in dccp_parse_options() 121 if (pkt_type == DCCP_PKT_DATA) /* RFC 4340, 6 */ in dccp_parse_options() 216 pkt_type, opt, value, len)) in dccp_parse_options() 231 pkt_type, opt, value, len)) in dccp_parse_options()
|
/kernel/linux/linux-5.10/net/phonet/ |
D | af_phonet.c | 182 if (skb->pkt_type == PACKET_LOOPBACK) { in pn_send() 212 skb->pkt_type = PACKET_LOOPBACK; in pn_raw_send() 249 skb->pkt_type = PACKET_LOOPBACK; in pn_skb_send() 256 skb->pkt_type = PACKET_LOOPBACK; in pn_skb_send() 412 } else if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) in phonet_rcv()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ |
D | r819xU_cmdpkt.c | 95 if (pstx_fb->pkt_type == PACKET_MULTICAST) { in cmpk_count_txstatistic() 98 } else if (pstx_fb->pkt_type == PACKET_BROADCAST) { in cmpk_count_txstatistic() 111 if (pstx_fb->pkt_type == PACKET_MULTICAST) in cmpk_count_txstatistic() 113 else if (pstx_fb->pkt_type == PACKET_BROADCAST) in cmpk_count_txstatistic()
|