/Linux-v4.19/drivers/staging/vt6656/ |
D | rxtx.c | 106 static u32 vnt_get_rsvtime(struct vnt_private *priv, u8 pkt_type, in vnt_get_rsvtime() argument 111 data_time = vnt_get_frame_time(priv->preamble_type, pkt_type, in vnt_get_rsvtime() 114 if (pkt_type == PK_TYPE_11B) in vnt_get_rsvtime() 115 ack_time = vnt_get_frame_time(priv->preamble_type, pkt_type, in vnt_get_rsvtime() 118 ack_time = vnt_get_frame_time(priv->preamble_type, pkt_type, in vnt_get_rsvtime() 127 static __le16 vnt_rxtx_rsvtime_le16(struct vnt_private *priv, u8 pkt_type, in vnt_rxtx_rsvtime_le16() argument 130 return cpu_to_le16((u16)vnt_get_rsvtime(priv, pkt_type, in vnt_rxtx_rsvtime_le16() 135 u8 pkt_type, u32 frame_length, in vnt_get_rtscts_rsvtime_le() argument 145 data_time = vnt_get_frame_time(priv->preamble_type, pkt_type, in vnt_get_rtscts_rsvtime_le() 149 rts_time = vnt_get_frame_time(priv->preamble_type, pkt_type, in vnt_get_rtscts_rsvtime_le() [all …]
|
D | baseband.c | 130 unsigned int vnt_get_frame_time(u8 preamble_type, u8 pkt_type, in vnt_get_frame_time() argument 165 if (pkt_type != PK_TYPE_11A) in vnt_get_frame_time() 188 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy) in vnt_get_phy_field() argument 246 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 253 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 260 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 267 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 274 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 281 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 288 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() [all …]
|
D | baseband.h | 76 unsigned int vnt_get_frame_time(u8 preamble_type, u8 pkt_type, 80 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy);
|
/Linux-v4.19/net/mac802154/ |
D | rx.c | 57 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 60 skb->pkt_type = PACKET_HOST; in ieee802154_subif_frame() 65 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 67 skb->pkt_type = PACKET_HOST; in ieee802154_subif_frame() 69 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 74 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 76 skb->pkt_type = PACKET_HOST; in ieee802154_subif_frame() 79 skb->pkt_type = PACKET_BROADCAST; in ieee802154_subif_frame() 81 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 236 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_monitors_rx() [all …]
|
D | main.c | 37 switch (skb->pkt_type) { in ieee802154_tasklet_handler() 42 skb->pkt_type = 0; in ieee802154_tasklet_handler() 47 skb->pkt_type); in ieee802154_tasklet_handler()
|
/Linux-v4.19/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() 41 skb->pkt_type = PACKET_HOST; in ebt_dnat_tg() 43 skb->pkt_type = PACKET_OTHERHOST; in ebt_dnat_tg()
|
D | ebt_pkttype.c | 20 return (skb->pkt_type == info->pkt_type) ^ info->invert; in ebt_pkttype_mt()
|
/Linux-v4.19/drivers/staging/vt6655/ |
D | baseband.c | 1769 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy) in vnt_get_phy_field() argument 1827 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1834 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1841 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1848 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1855 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1862 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1869 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1876 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1882 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() [all …]
|
/Linux-v4.19/drivers/media/platform/qcom/venus/ |
D | hfi_cmds.c | 25 pkt->hdr.pkt_type = HFI_CMD_SYS_INIT; in pkt_sys_init() 32 pkt->hdr.pkt_type = HFI_CMD_SYS_PC_PREP; in pkt_sys_pc_prep() 40 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_idle_indicator() 52 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_debug_config() 63 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_coverage_config() 73 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_RESOURCE; in pkt_sys_set_resource() 100 pkt->hdr.pkt_type = HFI_CMD_SYS_RELEASE_RESOURCE; in pkt_sys_unset_resource() 120 pkt->hdr.pkt_type = HFI_CMD_SYS_PING; in pkt_sys_ping() 129 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_power_control() 147 pkt->hdr.pkt_type = HFI_CMD_SYS_TEST_SSR; in pkt_sys_ssr_cmd() [all …]
|
/Linux-v4.19/net/bridge/ |
D | br_input.c | 78 enum br_pkt_type pkt_type = BR_PKT_UNICAST; in br_handle_frame_finish() local 104 pkt_type = BR_PKT_BROADCAST; in br_handle_frame_finish() 107 pkt_type = BR_PKT_MULTICAST; in br_handle_frame_finish() 136 switch (pkt_type) { in br_handle_frame_finish() 169 br_flood(br, skb, pkt_type, local_rcv, false); in br_handle_frame_finish() 218 if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) in br_handle_frame() 301 skb->pkt_type = PACKET_HOST; in br_handle_frame()
|
D | br_netfilter_hooks.c | 364 skb->pkt_type = PACKET_OTHERHOST; in br_nf_pre_routing_finish() 409 skb->pkt_type = PACKET_HOST; in br_nf_pre_routing_finish() 447 if (skb->pkt_type == PACKET_OTHERHOST) { in setup_pre_routing() 448 skb->pkt_type = PACKET_HOST; in setup_pre_routing() 543 skb->pkt_type = PACKET_OTHERHOST; in br_nf_forward_finish() 596 if (skb->pkt_type == PACKET_OTHERHOST) { in br_nf_forward_ip() 597 skb->pkt_type = PACKET_HOST; in br_nf_forward_ip() 813 if (skb->pkt_type == PACKET_OTHERHOST) { in br_nf_post_routing() 814 skb->pkt_type = PACKET_HOST; in br_nf_post_routing()
|
/Linux-v4.19/drivers/bluetooth/ |
D | btwilink.c | 60 static inline void ti_st_tx_complete(struct ti_st *hst, int pkt_type) in ti_st_tx_complete() argument 65 switch (pkt_type) { in ti_st_tx_complete() 248 int pkt_type; in ti_st_send_frame() local 262 pkt_type = hci_skb_pkt_type(skb); in ti_st_send_frame() 272 ti_st_tx_complete(hst, pkt_type); in ti_st_send_frame()
|
D | hci_vhci.c | 174 __u8 pkt_type, opcode; in vhci_get_user() local 189 pkt_type = *((__u8 *) skb->data); in vhci_get_user() 192 switch (pkt_type) { in vhci_get_user() 201 hci_skb_pkt_type(skb) = pkt_type; in vhci_get_user()
|
/Linux-v4.19/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 | 380 u8 ta[ETH_ALEN], pkt_type; in mwifiex_process_uap_rx_packet() local 435 pkt_type = (u8)le16_to_cpu(uap_rx_pd->rx_pkt_type); in mwifiex_process_uap_rx_packet() 437 uap_rx_pd->priority, ta, pkt_type, in mwifiex_process_uap_rx_packet() 473 u16 pkt_type, pkt_offset; in mwifiex_process_uap_txpd() local 485 pkt_type = mwifiex_is_skb_mgmt_frame(skb) ? PKT_TYPE_MGMT : 0; in mwifiex_process_uap_txpd() 518 if (pkt_type == PKT_TYPE_MGMT) { in mwifiex_process_uap_txpd() 520 txpd->tx_pkt_type = cpu_to_le16(pkt_type); in mwifiex_process_uap_txpd()
|
/Linux-v4.19/net/802/ |
D | fddi.c | 126 skb->pkt_type = PACKET_BROADCAST; in fddi_type_trans() 128 skb->pkt_type = PACKET_MULTICAST; in fddi_type_trans() 134 skb->pkt_type = PACKET_OTHERHOST; in fddi_type_trans()
|
/Linux-v4.19/net/netfilter/ |
D | xt_pkttype.c | 31 if (skb->pkt_type != PACKET_LOOPBACK) in pkttype_mt() 32 type = skb->pkt_type; in pkttype_mt()
|
D | nft_meta.c | 157 if (skb->pkt_type != PACKET_LOOPBACK) { in nft_meta_get_eval() 158 nft_reg_store8(dest, skb->pkt_type); in nft_meta_get_eval() 277 if (skb->pkt_type != value8 && in nft_meta_set_eval() 279 skb_pkt_type_ok(skb->pkt_type)) in nft_meta_set_eval() 280 skb->pkt_type = value8; in nft_meta_set_eval()
|
D | xt_cluster.c | 108 skb->pkt_type == PACKET_MULTICAST) { in xt_cluster_mt() 109 pskb->pkt_type = PACKET_HOST; in xt_cluster_mt()
|
/Linux-v4.19/net/hsr/ |
D | hsr_forward.c | 212 was_multicast_frame = (skb->pkt_type == PACKET_MULTICAST); in hsr_deliver_master() 305 skb->pkt_type = PACKET_HOST; in check_local_dest() 310 if ((skb->pkt_type == PACKET_HOST) || in check_local_dest() 311 (skb->pkt_type == PACKET_MULTICAST) || in check_local_dest() 312 (skb->pkt_type == PACKET_BROADCAST)) { in check_local_dest()
|
/Linux-v4.19/drivers/net/can/ |
D | vcan.c | 80 skb->pkt_type = PACKET_BROADCAST; in vcan_rx() 100 loop = skb->pkt_type == PACKET_LOOPBACK; in vcan_tx()
|
/Linux-v4.19/drivers/net/ipvlan/ |
D | ipvlan_core.c | 240 u8 pkt_type; in ipvlan_process_multicast() local 258 pkt_type = PACKET_BROADCAST; in ipvlan_process_multicast() 260 pkt_type = PACKET_MULTICAST; in ipvlan_process_multicast() 276 nskb->pkt_type = pkt_type; in ipvlan_process_multicast() 291 skb->pkt_type = pkt_type; in ipvlan_process_multicast() 344 skb->pkt_type = PACKET_HOST; in ipvlan_rcv_frame()
|
/Linux-v4.19/net/dccp/ |
D | options.c | 56 const u8 pkt_type = DCCP_SKB_CB(skb)->dccpd_type; in dccp_parse_options() local 112 if (pkt_type != DCCP_PKT_DATA) in dccp_parse_options() 124 if (pkt_type == DCCP_PKT_DATA) /* RFC 4340, 6 */ in dccp_parse_options() 219 pkt_type, opt, value, len)) in dccp_parse_options() 234 pkt_type, opt, value, len)) in dccp_parse_options()
|
/Linux-v4.19/net/phonet/ |
D | af_phonet.c | 195 if (skb->pkt_type == PACKET_LOOPBACK) { in pn_send() 225 skb->pkt_type = PACKET_LOOPBACK; in pn_raw_send() 262 skb->pkt_type = PACKET_LOOPBACK; in pn_skb_send() 269 skb->pkt_type = PACKET_LOOPBACK; in pn_skb_send() 425 } else if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) in phonet_rcv()
|
/Linux-v4.19/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()
|