| /Linux-v5.15/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 …]
|
| /Linux-v5.15/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()
|
| /Linux-v5.15/drivers/staging/vt6656/ |
| D | rxtx.c | 85 u16 tx_rate, u8 pkt_type, in vnt_get_phy_field() argument 124 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 135 if (pkt_type == PK_TYPE_11B) { in vnt_get_phy_field() 190 vnt_get_phy_field(priv, frame_len, rate, tx_context->pkt_type, &buf->a); in vnt_rxtx_datahead_g() 213 tx_context->pkt_type, &buf->ab); in vnt_rxtx_datahead_ab() 243 tx_context->pkt_type, &buf->a); in vnt_rxtx_rts_g_head() 261 tx_context->pkt_type, &buf->ab); in vnt_rxtx_rts_ab_head() 509 u8 pkt_type; in vnt_tx_packet() local 517 pkt_type = PK_TYPE_11A; in vnt_tx_packet() 521 pkt_type = PK_TYPE_11GB; in vnt_tx_packet() [all …]
|
| /Linux-v5.15/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()
|
| /Linux-v5.15/drivers/staging/vt6655/ |
| D | baseband.c | 1761 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy) in vnt_get_phy_field() argument 1819 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1826 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1833 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1840 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1847 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1854 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1861 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1868 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1874 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() [all …]
|
| D | rxtx.c | 183 static __le16 vnt_rxtx_rsvtime_le16(struct vnt_private *priv, u8 pkt_type, in vnt_rxtx_rsvtime_le16() argument 186 return cpu_to_le16((u16)s_uGetTxRsvTime(priv, pkt_type, in vnt_rxtx_rsvtime_le16() 193 unsigned char pkt_type, in get_rtscts_time() argument 203 data_time = bb_get_frame_time(priv->byPreambleType, pkt_type, frame_length, current_rate); in get_rtscts_time() 205 rts_time = bb_get_frame_time(priv->byPreambleType, pkt_type, 20, priv->byTopCCKBasicRate); in get_rtscts_time() 206 ack_time = bb_get_frame_time(priv->byPreambleType, pkt_type, 14, priv->byTopCCKBasicRate); in get_rtscts_time() 209 rts_time = bb_get_frame_time(priv->byPreambleType, pkt_type, 20, priv->byTopCCKBasicRate); in get_rtscts_time() 210 cts_time = bb_get_frame_time(priv->byPreambleType, pkt_type, 14, priv->byTopCCKBasicRate); in get_rtscts_time() 211 ack_time = bb_get_frame_time(priv->byPreambleType, pkt_type, 14, priv->byTopOFDMBasicRate); in get_rtscts_time() 213 rts_time = bb_get_frame_time(priv->byPreambleType, pkt_type, 20, priv->byTopOFDMBasicRate); in get_rtscts_time() [all …]
|
| /Linux-v5.15/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 | 86 if (skb->pkt_type == PACKET_HOST && in ebt_broute() 89 skb->pkt_type = PACKET_OTHERHOST; in ebt_broute()
|
| /Linux-v5.15/drivers/media/platform/qcom/venus/ |
| D | hfi_cmds.c | 17 pkt->hdr.pkt_type = HFI_CMD_SYS_INIT; in pkt_sys_init() 24 pkt->hdr.pkt_type = HFI_CMD_SYS_PC_PREP; in pkt_sys_pc_prep() 32 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_idle_indicator() 44 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_debug_config() 55 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_coverage_config() 65 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_RESOURCE; in pkt_sys_set_resource() 92 pkt->hdr.pkt_type = HFI_CMD_SYS_RELEASE_RESOURCE; in pkt_sys_unset_resource() 112 pkt->hdr.pkt_type = HFI_CMD_SYS_PING; in pkt_sys_ping() 121 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_power_control() 139 pkt->hdr.pkt_type = HFI_CMD_SYS_TEST_SSR; in pkt_sys_ssr_cmd() [all …]
|
| /Linux-v5.15/net/bluetooth/ |
| D | hci_conn.c | 39 u16 pkt_type; member 247 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_acl_create_connection() 291 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_add_sco() 301 (esco_param[conn->attempt - 1].pkt_type & ESCO_2EV3)) in find_next_esco_param() 353 cp.pkt_type = __cpu_to_le16(param->pkt_type); in hci_setup_sync() 588 conn->pkt_type = hdev->pkt_type & ACL_PTYPE_MASK; in hci_conn_add() 596 conn->pkt_type = (hdev->esco_type & SCO_ESCO_MASK) | in hci_conn_add() 599 conn->pkt_type = hdev->pkt_type & SCO_PTYPE_MASK; in hci_conn_add() 602 conn->pkt_type = hdev->esco_type & ~EDR_ESCO_MASK; in hci_conn_add() 1862 if (conn->pkt_type & (HCI_DM3 | HCI_DH3)) in hci_conn_get_phy() [all …]
|
| /Linux-v5.15/net/bridge/ |
| D | br_input.c | 70 enum br_pkt_type pkt_type = BR_PKT_UNICAST; in br_handle_frame_finish() local 102 pkt_type = BR_PKT_BROADCAST; in br_handle_frame_finish() 105 pkt_type = BR_PKT_MULTICAST; in br_handle_frame_finish() 134 switch (pkt_type) { in br_handle_frame_finish() 168 br_flood(br, skb, pkt_type, local_rcv, false); in br_handle_frame_finish() 284 if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) in br_handle_frame() 368 skb->pkt_type = PACKET_HOST; in br_handle_frame()
|
| /Linux-v5.15/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()
|
| /Linux-v5.15/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()
|
| /Linux-v5.15/drivers/net/can/dev/ |
| D | skb.c | 113 if (skb->pkt_type == PACKET_LOOPBACK) { in __can_get_echo_skb() 114 skb->pkt_type = PACKET_BROADCAST; in __can_get_echo_skb() 193 skb->pkt_type = PACKET_BROADCAST; in alloc_can_skb() 224 skb->pkt_type = PACKET_BROADCAST; in alloc_canfd_skb()
|
| /Linux-v5.15/net/netfilter/ |
| D | xt_pkttype.c | 28 if (skb->pkt_type != PACKET_LOOPBACK) in pkttype_mt() 29 type = skb->pkt_type; in pkttype_mt()
|
| /Linux-v5.15/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()
|
| /Linux-v5.15/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()
|
| /Linux-v5.15/drivers/bluetooth/ |
| D | hci_vhci.c | 159 __u8 pkt_type, opcode; in vhci_get_user() local 174 pkt_type = *((__u8 *) skb->data); in vhci_get_user() 177 switch (pkt_type) { in vhci_get_user() 187 hci_skb_pkt_type(skb) = pkt_type; in vhci_get_user()
|
| D | virtio_bt.c | 192 __u8 pkt_type; in virtbt_rx_handle() local 194 pkt_type = *((__u8 *) skb->data); in virtbt_rx_handle() 197 switch (pkt_type) { in virtbt_rx_handle() 202 hci_skb_pkt_type(skb) = pkt_type; in virtbt_rx_handle()
|
| /Linux-v5.15/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()
|
| /Linux-v5.15/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()
|
| /Linux-v5.15/include/linux/can/ |
| D | skb.h | 116 skb->pkt_type = PACKET_LOOPBACK; in can_skb_headroom_valid() 118 skb->pkt_type = PACKET_HOST; in can_skb_headroom_valid()
|