Home
last modified time | relevance | path

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

12345678910

/linux/drivers/input/keyboard/
A Dapplespi_trace.h22 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/net/mac802154/
A Drx.c49 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 …]
A Dmain.c29 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/drivers/staging/vt6656/
A Drxtx.c85 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()
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()
523 pkt_type = PK_TYPE_11GA; in vnt_tx_packet()
525 pkt_type = PK_TYPE_11A; in vnt_tx_packet()
529 pkt_type = PK_TYPE_11B; in vnt_tx_packet()
541 tx_context->pkt_type = pkt_type; in vnt_tx_packet()
[all …]
/linux/drivers/staging/vt6655/
A Dbaseband.c1761 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 …]
A Drxtx.c186 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
1231 u8 pkt_type; in vnt_generate_fifo_header() local
1251 pkt_type = PK_TYPE_11A; in vnt_generate_fifo_header()
1254 pkt_type = PK_TYPE_11GB; in vnt_generate_fifo_header()
1256 pkt_type = PK_TYPE_11GA; in vnt_generate_fifo_header()
1259 pkt_type = PK_TYPE_11B; in vnt_generate_fifo_header()
1263 if (pkt_type == PK_TYPE_11A) in vnt_generate_fifo_header()
1265 else if (pkt_type == PK_TYPE_11B) in vnt_generate_fifo_header()
1267 else if (pkt_type == PK_TYPE_11GB) in vnt_generate_fifo_header()
[all …]
/linux/tools/testing/selftests/bpf/progs/
A Dkfree_skb.c70 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/drivers/media/platform/qcom/venus/
A Dhfi_cmds.c17 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()
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()
148 pkt->hdr.pkt_type = HFI_CMD_SYS_GET_PROPERTY; in pkt_sys_image_version()
[all …]
/linux/net/bridge/netfilter/
A Debt_dnat.c31 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()
A Debt_pkttype.c21 return (skb->pkt_type == info->pkt_type) ^ info->invert; in ebt_pkttype_mt()
A Debtable_broute.c86 if (skb->pkt_type == PACKET_HOST && in ebt_broute()
89 skb->pkt_type = PACKET_OTHERHOST; in ebt_broute()
/linux/net/bluetooth/
A Dhci_conn.c39 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()
421 cp.pkt_type = __cpu_to_le16(param->pkt_type); in hci_enhanced_setup_sync_conn()
473 cp.pkt_type = __cpu_to_le16(param->pkt_type); in hci_setup_sync_conn()
716 conn->pkt_type = hdev->pkt_type & ACL_PTYPE_MASK; in hci_conn_add()
727 conn->pkt_type = hdev->pkt_type & SCO_PTYPE_MASK; in hci_conn_add()
2005 if (!(conn->pkt_type & HCI_2DH1)) in hci_conn_get_phy()
2008 if (!(conn->pkt_type & HCI_2DH3)) in hci_conn_get_phy()
2011 if (!(conn->pkt_type & HCI_2DH5)) in hci_conn_get_phy()
[all …]
/linux/net/bridge/
A Dbr_input.c70 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()
A Dbr_netfilter_hooks.c363 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()
843 if (skb->pkt_type == PACKET_OTHERHOST) { in br_nf_post_routing()
844 skb->pkt_type = PACKET_HOST; in br_nf_post_routing()
/linux/drivers/net/wireless/marvell/mwifiex/
A 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()
A Duap_txrx.c375 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/drivers/net/can/dev/
A Dskb.c113 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/net/802/
A Dfddi.c122 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/drivers/infiniband/sw/rxe/
A Drxe_recv.c16 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/net/netfilter/
A Dxt_pkttype.c28 if (skb->pkt_type != PACKET_LOOPBACK) in pkttype_mt()
29 type = skb->pkt_type; in pkttype_mt()
/linux/drivers/net/ipvlan/
A Dipvlan_core.c235 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/drivers/staging/rtl8192u/
A 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()
/linux/drivers/bluetooth/
A Dvirtio_bt.c192 __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/net/phonet/
A Daf_phonet.c182 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/net/dccp/
A Doptions.c53 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()

Completed in 36 milliseconds

12345678910