Home
last modified time | relevance | path

Searched refs:pkt_type (Results 1 – 25 of 235) sorted by relevance

12345678910

/Linux-v4.19/drivers/staging/vt6656/
Drxtx.c106 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 …]
Dbaseband.c130 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 …]
Dbaseband.h76 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/
Drx.c57 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 …]
Dmain.c37 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/
Debt_dnat.c31 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()
Debt_pkttype.c20 return (skb->pkt_type == info->pkt_type) ^ info->invert; in ebt_pkttype_mt()
/Linux-v4.19/drivers/staging/vt6655/
Dbaseband.c1769 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/
Dhfi_cmds.c25 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/
Dbr_input.c78 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()
Dbr_netfilter_hooks.c364 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/
Dbtwilink.c60 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()
Dhci_vhci.c174 __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/
Dsta_tx.c51 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()
Duap_txrx.c380 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/
Dfddi.c126 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/
Dxt_pkttype.c31 if (skb->pkt_type != PACKET_LOOPBACK) in pkttype_mt()
32 type = skb->pkt_type; in pkttype_mt()
Dnft_meta.c157 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()
Dxt_cluster.c108 skb->pkt_type == PACKET_MULTICAST) { in xt_cluster_mt()
109 pskb->pkt_type = PACKET_HOST; in xt_cluster_mt()
/Linux-v4.19/net/hsr/
Dhsr_forward.c212 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/
Dvcan.c80 skb->pkt_type = PACKET_BROADCAST; in vcan_rx()
100 loop = skb->pkt_type == PACKET_LOOPBACK; in vcan_tx()
/Linux-v4.19/drivers/net/ipvlan/
Dipvlan_core.c240 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/
Doptions.c56 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/
Daf_phonet.c195 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/
Dr819xU_cmdpkt.c95 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()

12345678910