/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/staging/vt6655/ |
D | baseband.c | 1760 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy) in vnt_get_phy_field() argument 1818 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1825 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1832 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1839 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1846 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1853 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1860 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1867 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1873 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->preamble_type, pkt_type, frame_length, current_rate); in get_rtscts_time() 205 rts_time = bb_get_frame_time(priv->preamble_type, pkt_type, 20, priv->byTopCCKBasicRate); in get_rtscts_time() 206 ack_time = bb_get_frame_time(priv->preamble_type, pkt_type, 14, priv->byTopCCKBasicRate); in get_rtscts_time() 209 rts_time = bb_get_frame_time(priv->preamble_type, pkt_type, 20, priv->byTopCCKBasicRate); in get_rtscts_time() 210 cts_time = bb_get_frame_time(priv->preamble_type, pkt_type, 14, priv->byTopCCKBasicRate); in get_rtscts_time() 211 ack_time = bb_get_frame_time(priv->preamble_type, pkt_type, 14, priv->byTopOFDMBasicRate); in get_rtscts_time() 213 rts_time = bb_get_frame_time(priv->preamble_type, pkt_type, 20, priv->byTopOFDMBasicRate); in get_rtscts_time() [all …]
|
/linux-6.1.9/drivers/staging/vt6656/ |
D | rxtx.c | 83 u16 tx_rate, u8 pkt_type, in vnt_get_phy_field() argument 122 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 133 if (pkt_type == PK_TYPE_11B) { in vnt_get_phy_field() 188 vnt_get_phy_field(priv, frame_len, rate, tx_context->pkt_type, &buf->a); in vnt_rxtx_datahead_g() 211 tx_context->pkt_type, &buf->ab); in vnt_rxtx_datahead_ab() 241 tx_context->pkt_type, &buf->a); in vnt_rxtx_rts_g_head() 259 tx_context->pkt_type, &buf->ab); in vnt_rxtx_rts_ab_head() 505 u8 pkt_type; in vnt_tx_packet() local 513 pkt_type = PK_TYPE_11A; in vnt_tx_packet() 517 pkt_type = PK_TYPE_11GB; in vnt_tx_packet() [all …]
|
/linux-6.1.9/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-6.1.9/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 | 78 if (skb->pkt_type == PACKET_HOST && in ebt_broute() 81 skb->pkt_type = PACKET_OTHERHOST; in ebt_broute()
|
/linux-6.1.9/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() 64 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_ubwc_config() 74 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_RESOURCE; in pkt_sys_set_resource() 101 pkt->hdr.pkt_type = HFI_CMD_SYS_RELEASE_RESOURCE; in pkt_sys_unset_resource() 121 pkt->hdr.pkt_type = HFI_CMD_SYS_PING; in pkt_sys_ping() 130 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_power_control() [all …]
|
/linux-6.1.9/net/bridge/ |
D | br_input.c | 77 enum br_pkt_type pkt_type = BR_PKT_UNICAST; in br_handle_frame_finish() local 127 pkt_type = BR_PKT_BROADCAST; in br_handle_frame_finish() 130 pkt_type = BR_PKT_MULTICAST; in br_handle_frame_finish() 159 switch (pkt_type) { in br_handle_frame_finish() 193 br_flood(br, skb, pkt_type, local_rcv, false); in br_handle_frame_finish() 309 if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) in br_handle_frame() 397 skb->pkt_type = PACKET_HOST; in br_handle_frame()
|
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/ |
D | sta_tx.c | 39 u16 pkt_type, pkt_offset; in mwifiex_process_sta_txpd() local 51 pkt_type = mwifiex_is_skb_mgmt_frame(skb) ? PKT_TYPE_MGMT : 0; in mwifiex_process_sta_txpd() 98 if (pkt_type == PKT_TYPE_MGMT) { in mwifiex_process_sta_txpd() 100 local_tx_pd->tx_pkt_type = cpu_to_le16(pkt_type); in mwifiex_process_sta_txpd()
|
D | uap_txrx.c | 363 u8 ta[ETH_ALEN], pkt_type; in mwifiex_process_uap_rx_packet() local 414 pkt_type = (u8)le16_to_cpu(uap_rx_pd->rx_pkt_type); in mwifiex_process_uap_rx_packet() 416 uap_rx_pd->priority, ta, pkt_type, in mwifiex_process_uap_rx_packet() 452 u16 pkt_type, pkt_offset; in mwifiex_process_uap_txpd() local 464 pkt_type = mwifiex_is_skb_mgmt_frame(skb) ? PKT_TYPE_MGMT : 0; in mwifiex_process_uap_txpd() 497 if (pkt_type == PKT_TYPE_MGMT) { in mwifiex_process_uap_txpd() 499 txpd->tx_pkt_type = cpu_to_le16(pkt_type); in mwifiex_process_uap_txpd()
|
/linux-6.1.9/drivers/net/can/dev/ |
D | skb.c | 122 if (skb->pkt_type == PACKET_LOOPBACK) { in __can_get_echo_skb() 123 skb->pkt_type = PACKET_BROADCAST; in __can_get_echo_skb() 192 skb->pkt_type = PACKET_BROADCAST; in init_can_skb_reserve() 316 skb->pkt_type = PACKET_LOOPBACK; in can_skb_headroom_valid() 318 skb->pkt_type = PACKET_HOST; in can_skb_headroom_valid()
|
/linux-6.1.9/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-6.1.9/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-6.1.9/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() 29 if (unlikely(pkt_type != IB_OPCODE_UC)) in check_type_state() 34 if (unlikely(pkt_type != IB_OPCODE_UD)) in check_type_state()
|
/linux-6.1.9/net/bluetooth/ |
D | hci_conn.c | 42 u16 pkt_type; member 261 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_acl_create_connection() 305 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_add_sco() 315 (esco_param[conn->attempt - 1].pkt_type & ESCO_2EV3)) in find_next_esco_param() 478 cp.pkt_type = __cpu_to_le16(param->pkt_type); in hci_enhanced_setup_sync() 530 cp.pkt_type = __cpu_to_le16(param->pkt_type); in hci_setup_sync_conn() 995 conn->pkt_type = hdev->pkt_type & ACL_PTYPE_MASK; in hci_conn_add() 1014 conn->pkt_type = (hdev->esco_type & SCO_ESCO_MASK) | in hci_conn_add() 1017 conn->pkt_type = hdev->pkt_type & SCO_PTYPE_MASK; in hci_conn_add() 1020 conn->pkt_type = hdev->esco_type & ~EDR_ESCO_MASK; in hci_conn_add() [all …]
|
/linux-6.1.9/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() 339 skb->pkt_type = PACKET_HOST; in ipvlan_rcv_frame()
|
/linux-6.1.9/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-6.1.9/drivers/bluetooth/ |
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-6.1.9/drivers/net/can/ |
D | vcan.c | 79 skb->pkt_type = PACKET_BROADCAST; in vcan_rx() 100 loop = skb->pkt_type == PACKET_LOOPBACK; in vcan_tx()
|
/linux-6.1.9/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() 411 } else if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) in phonet_rcv()
|
/linux-6.1.9/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()
|