/linux-4.1.27/drivers/staging/vt6656/ |
D | rxtx.c | 113 static u32 vnt_get_rsvtime(struct vnt_private *priv, u8 pkt_type, in vnt_get_rsvtime() argument 118 data_time = vnt_get_frame_time(priv->preamble_type, pkt_type, in vnt_get_rsvtime() 121 if (pkt_type == PK_TYPE_11B) in vnt_get_rsvtime() 122 ack_time = vnt_get_frame_time(priv->preamble_type, pkt_type, in vnt_get_rsvtime() 125 ack_time = vnt_get_frame_time(priv->preamble_type, pkt_type, in vnt_get_rsvtime() 134 static __le16 vnt_rxtx_rsvtime_le16(struct vnt_private *priv, u8 pkt_type, in vnt_rxtx_rsvtime_le16() argument 137 return cpu_to_le16((u16)vnt_get_rsvtime(priv, pkt_type, in vnt_rxtx_rsvtime_le16() 142 u8 rsv_type, u8 pkt_type, u32 frame_length, u16 current_rate) in vnt_get_rtscts_rsvtime_le() argument 148 data_time = vnt_get_frame_time(priv->preamble_type, pkt_type, in vnt_get_rtscts_rsvtime_le() 153 pkt_type, 20, priv->top_cck_basic_rate); in vnt_get_rtscts_rsvtime_le() [all …]
|
D | baseband.c | 144 unsigned int vnt_get_frame_time(u8 preamble_type, u8 pkt_type, in vnt_get_frame_time() argument 179 if (pkt_type != PK_TYPE_11A) in vnt_get_frame_time() 202 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy) in vnt_get_phy_field() argument 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() 295 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 302 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() [all …]
|
D | baseband.h | 90 unsigned int vnt_get_frame_time(u8 preamble_type, u8 pkt_type, 94 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *);
|
D | device.h | 240 u8 pkt_type; member
|
/linux-4.1.27/net/mac802154/ |
D | rx.c | 59 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 62 skb->pkt_type = PACKET_HOST; in ieee802154_subif_frame() 67 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 69 skb->pkt_type = PACKET_HOST; in ieee802154_subif_frame() 71 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 76 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 78 skb->pkt_type = PACKET_HOST; in ieee802154_subif_frame() 81 skb->pkt_type = PACKET_BROADCAST; in ieee802154_subif_frame() 83 skb->pkt_type = PACKET_OTHERHOST; in ieee802154_subif_frame() 231 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-4.1.27/drivers/staging/vt6655/ |
D | baseband.c | 1781 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy) in vnt_get_phy_field() argument 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() 1874 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1881 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1888 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() 1894 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field() [all …]
|
D | rxtx.c | 190 static __le16 vnt_rxtx_rsvtime_le16(struct vnt_private *priv, u8 pkt_type, in vnt_rxtx_rsvtime_le16() argument 193 return cpu_to_le16((u16)s_uGetTxRsvTime(priv, pkt_type, in vnt_rxtx_rsvtime_le16() 1290 u8 pkt_type; in vnt_generate_fifo_header() local 1310 pkt_type = PK_TYPE_11A; in vnt_generate_fifo_header() 1313 pkt_type = PK_TYPE_11GB; in vnt_generate_fifo_header() 1315 pkt_type = PK_TYPE_11GA; in vnt_generate_fifo_header() 1318 pkt_type = PK_TYPE_11B; in vnt_generate_fifo_header() 1322 if (pkt_type == PK_TYPE_11A) in vnt_generate_fifo_header() 1324 else if (pkt_type == PK_TYPE_11B) in vnt_generate_fifo_header() 1326 else if (pkt_type == PK_TYPE_11GB) in vnt_generate_fifo_header() [all …]
|
D | baseband.h | 78 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *);
|
/linux-4.1.27/drivers/bluetooth/ |
D | hci_h5.c | 110 bt_cb(nskb)->pkt_type = HCI_3WIRE_LINK_PKT; in h5_link_control() 363 bt_cb(h5->rx_skb)->pkt_type = H5_HDR_PKT_TYPE(hdr); in h5_complete_rx_pkt() 565 switch (bt_cb(skb)->pkt_type) { in h5_enqueue() 576 BT_ERR("Unknown packet type %u", bt_cb(skb)->pkt_type); in h5_enqueue() 622 static struct sk_buff *h5_prepare_pkt(struct hci_uart *hu, u8 pkt_type, in h5_prepare_pkt() argument 630 if (!valid_packet_type(pkt_type)) { in h5_prepare_pkt() 631 BT_ERR("Unknown packet type %u", pkt_type); in h5_prepare_pkt() 645 bt_cb(nskb)->pkt_type = pkt_type; in h5_prepare_pkt() 653 if (pkt_type == HCI_ACLDATA_PKT || pkt_type == HCI_COMMAND_PKT) { in h5_prepare_pkt() 659 hdr[1] = pkt_type | ((len & 0x0f) << 4); in h5_prepare_pkt() [all …]
|
D | hci_vhci.c | 92 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in vhci_send_frame() 155 bt_cb(skb)->pkt_type = HCI_VENDOR_PKT; in __vhci_create_device() 182 __u8 pkt_type, opcode; in vhci_get_user() local 197 pkt_type = *((__u8 *) skb->data); in vhci_get_user() 200 switch (pkt_type) { in vhci_get_user() 209 bt_cb(skb)->pkt_type = pkt_type; in vhci_get_user() 255 switch (bt_cb(skb)->pkt_type) { in vhci_put_user()
|
D | hci_bcsp.c | 158 switch (bt_cb(skb)->pkt_type) { in bcsp_enqueue() 178 int len, int pkt_type) in bcsp_prepare_pkt() argument 185 switch (pkt_type) { in bcsp_prepare_pkt() 234 bt_cb(nskb)->pkt_type = pkt_type; in bcsp_prepare_pkt() 294 struct sk_buff *nskb = bcsp_prepare_pkt(bcsp, skb->data, skb->len, bt_cb(skb)->pkt_type); in bcsp_dequeue() 314 bt_cb(skb)->pkt_type); in bcsp_dequeue() 415 bt_cb(nskb)->pkt_type = BCSP_LE_PKT; in bcsp_handle_le_pkt() 497 bt_cb(bcsp->rx_skb)->pkt_type = HCI_ACLDATA_PKT; in bcsp_complete_rx_pkt() 501 bt_cb(bcsp->rx_skb)->pkt_type = HCI_EVENT_PKT; in bcsp_complete_rx_pkt() 504 bt_cb(bcsp->rx_skb)->pkt_type = HCI_SCODATA_PKT; in bcsp_complete_rx_pkt() [all …]
|
D | bluecard_cs.c | 264 if (bt_cb(skb)->pkt_type & 0x80) { in bluecard_write_wakeup() 282 if (bt_cb(skb)->pkt_type & 0x80) { in bluecard_write_wakeup() 288 switch (bt_cb(skb)->pkt_type) { in bluecard_write_wakeup() 405 bt_cb(info->rx_skb)->pkt_type = buf[i]; in bluecard_receive() 407 switch (bt_cb(info->rx_skb)->pkt_type) { in bluecard_receive() 439 BT_ERR("Unknown HCI packet with type 0x%02x received", bt_cb(info->rx_skb)->pkt_type); in bluecard_receive() 581 bt_cb(skb)->pkt_type = PKT_BAUD_RATE_460800; in bluecard_hci_set_baud_rate() 585 bt_cb(skb)->pkt_type = PKT_BAUD_RATE_230400; in bluecard_hci_set_baud_rate() 589 bt_cb(skb)->pkt_type = PKT_BAUD_RATE_115200; in bluecard_hci_set_baud_rate() 595 bt_cb(skb)->pkt_type = PKT_BAUD_RATE_57600; in bluecard_hci_set_baud_rate() [all …]
|
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() 265 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in ti_st_send_frame() 267 BT_DBG("%s: type %d len %d", hdev->name, bt_cb(skb)->pkt_type, in ti_st_send_frame() 284 ti_st_tx_complete(hst, bt_cb(skb)->pkt_type); in ti_st_send_frame()
|
D | bfusb.c | 273 unsigned char pkt_type; in bfusb_recv_block() local 287 pkt_type = *buf++; len--; in bfusb_recv_block() 289 switch (pkt_type) { in bfusb_recv_block() 327 bt_cb(skb)->pkt_type = pkt_type; in bfusb_recv_block() 480 BT_DBG("hdev %p skb %p type %d len %d", hdev, skb, bt_cb(skb)->pkt_type, skb->len); in bfusb_send_frame() 485 switch (bt_cb(skb)->pkt_type) { in bfusb_send_frame() 498 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in bfusb_send_frame()
|
D | hci_h4.c | 111 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in h4_enqueue() 186 bt_cb(skb)->pkt_type = (&pkts[i])->type; in h4_recv_buf() 210 if (bt_cb(skb)->pkt_type == (&pkts[i])->type) in h4_recv_buf()
|
D | hci_ath.c | 207 if (bt_cb(skb)->pkt_type == HCI_SCODATA_PKT) { in ath_enqueue() 215 if (bt_cb(skb)->pkt_type == HCI_COMMAND_PKT) { in ath_enqueue() 225 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in ath_enqueue()
|
D | dtl1_cs.c | 242 bt_cb(info->rx_skb)->pkt_type = nsh->type; in dtl1_receive() 253 switch (bt_cb(info->rx_skb)->pkt_type) { in dtl1_receive() 262 bt_cb(info->rx_skb)->pkt_type &= 0x0f; in dtl1_receive() 267 BT_ERR("Unknown HCI packet with type 0x%02x received", bt_cb(info->rx_skb)->pkt_type); in dtl1_receive() 394 switch (bt_cb(skb)->pkt_type) { in dtl1_hci_send_frame()
|
D | btuart_cs.c | 203 bt_cb(info->rx_skb)->pkt_type = inb(iobase + UART_RX); in btuart_receive() 205 switch (bt_cb(info->rx_skb)->pkt_type) { in btuart_receive() 224 BT_ERR("Unknown HCI packet with type 0x%02x received", bt_cb(info->rx_skb)->pkt_type); in btuart_receive() 433 switch (bt_cb(skb)->pkt_type) { in btuart_hci_send_frame() 446 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in btuart_hci_send_frame()
|
D | bt3c_cs.c | 250 bt_cb(info->rx_skb)->pkt_type = inb(iobase + DATA_L); in bt3c_receive() 253 switch (bt_cb(info->rx_skb)->pkt_type) { in bt3c_receive() 272 BT_ERR("Unknown HCI packet with type 0x%02x received", bt_cb(info->rx_skb)->pkt_type); in bt3c_receive() 421 switch (bt_cb(skb)->pkt_type) { in bt3c_hci_send_frame() 434 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in bt3c_hci_send_frame()
|
D | btsdio.c | 89 skb->data[3] = bt_cb(skb)->pkt_type; in btsdio_tx_packet() 161 bt_cb(skb)->pkt_type = hdr[3]; in btsdio_rx_packet() 267 switch (bt_cb(skb)->pkt_type) { in btsdio_send_frame()
|
D | hci_ldisc.c | 91 static inline void hci_uart_tx_complete(struct hci_uart *hu, int pkt_type) in hci_uart_tx_complete() argument 96 switch (pkt_type) { in hci_uart_tx_complete() 164 hci_uart_tx_complete(hu, bt_cb(skb)->pkt_type); in hci_uart_write_work() 259 BT_DBG("%s: type %d len %d", hdev->name, bt_cb(skb)->pkt_type, skb->len); in hci_uart_send_frame()
|
D | bpa10x.c | 155 bt_cb(skb)->pkt_type = scb->type; in bpa10x_recv() 373 *skb_push(skb, 1) = bt_cb(skb)->pkt_type; in bpa10x_send_frame() 375 switch (bt_cb(skb)->pkt_type) { in bpa10x_send_frame()
|
D | btmrvl_main.c | 199 bt_cb(skb)->pkt_type = MRVL_VENDOR_PKT; in btmrvl_send_sync_cmd() 404 skb->data[3] = bt_cb(skb)->pkt_type; in btmrvl_tx_pkt() 451 BT_DBG("type=%d, len=%d", skb->pkt_type, skb->len); in btmrvl_send_frame() 460 switch (bt_cb(skb)->pkt_type) { in btmrvl_send_frame()
|
D | hci_bcm.c | 120 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in bcm_enqueue()
|
D | hci_ll.c | 310 memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); in ll_enqueue() 496 bt_cb(ll->rx_skb)->pkt_type = type; in ll_recv()
|
D | btusb.c | 427 bt_cb(skb)->pkt_type = HCI_EVENT_PKT; in btusb_recv_intr() 482 bt_cb(skb)->pkt_type = HCI_ACLDATA_PKT; in btusb_recv_bulk() 539 bt_cb(skb)->pkt_type = HCI_SCODATA_PKT; in btusb_recv_isoc() 1164 switch (bt_cb(skb)->pkt_type) { in btusb_send_frame() 2145 bt_cb(skb)->pkt_type = HCI_EVENT_PKT; in inject_cmd_complete() 2240 switch (bt_cb(skb)->pkt_type) { in btusb_send_frame_intel()
|
D | btmrvl_sdio.c | 666 bt_cb(skb)->pkt_type = type; in btmrvl_sdio_card_to_host() 681 bt_cb(skb)->pkt_type = HCI_VENDOR_PKT; in btmrvl_sdio_card_to_host()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | uap_txrx.c | 268 u8 ta[ETH_ALEN], pkt_type; in mwifiex_process_uap_rx_packet() local 314 pkt_type = (u8)le16_to_cpu(uap_rx_pd->rx_pkt_type); in mwifiex_process_uap_rx_packet() 316 uap_rx_pd->priority, ta, pkt_type, in mwifiex_process_uap_rx_packet() 352 u16 pkt_type, pkt_offset; in mwifiex_process_uap_txpd() local 364 pkt_type = mwifiex_is_skb_mgmt_frame(skb) ? PKT_TYPE_MGMT : 0; in mwifiex_process_uap_txpd() 397 if (pkt_type == PKT_TYPE_MGMT) { in mwifiex_process_uap_txpd() 399 txpd->tx_pkt_type = cpu_to_le16(pkt_type); in mwifiex_process_uap_txpd()
|
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 | sdio.c | 1055 u32 pkt_type; in mwifiex_deaggr_sdio_pkt() local 1075 pkt_type = le16_to_cpu(*(__le16 *)(data + SDIO_HEADER_OFFSET + in mwifiex_deaggr_sdio_pkt() 1208 u32 pkt_len, pkt_type, mport, pind; in mwifiex_sdio_card_to_host_mp_aggr() local 1314 pkt_type = le16_to_cpu(*(__le16 *) &curr_ptr[2]); in mwifiex_sdio_card_to_host_mp_aggr() 1322 pkt_len, pkt_type); in mwifiex_sdio_card_to_host_mp_aggr() 1329 if ((pkt_type == MWIFIEX_TYPE_DATA || in mwifiex_sdio_card_to_host_mp_aggr() 1330 (pkt_type == MWIFIEX_TYPE_AGGR_DATA && in mwifiex_sdio_card_to_host_mp_aggr() 1340 pkt_type); in mwifiex_sdio_card_to_host_mp_aggr() 1346 pkt_type, pkt_len, in mwifiex_sdio_card_to_host_mp_aggr() 1364 if (mwifiex_sdio_card_to_host(adapter, &pkt_type, in mwifiex_sdio_card_to_host_mp_aggr() [all …]
|
D | 11n_rxreorder.c | 546 u8 *ta, u8 pkt_type, void *payload) in mwifiex_11n_rx_reorder_pkt() argument 556 if (pkt_type != PKT_TYPE_BAR) in mwifiex_11n_rx_reorder_pkt() 561 if ((pkt_type == PKT_TYPE_AMSDU) && !tbl->amsdu) { in mwifiex_11n_rx_reorder_pkt() 609 if (pkt_type == PKT_TYPE_BAR) in mwifiex_11n_rx_reorder_pkt() 624 if (pkt_type != PKT_TYPE_BAR) { in mwifiex_11n_rx_reorder_pkt()
|
D | cfg80211.c | 123 u32 tx_control = 0, pkt_type = PKT_TYPE_MGMT; in mwifiex_form_mgmt_frame() local 134 memcpy(skb_push(skb, sizeof(pkt_type)), &pkt_type, sizeof(pkt_type)); in mwifiex_form_mgmt_frame() 3049 u8 pkt_type; in mwifiex_fill_coalesce_rule_info() local 3051 pkt_type = mwifiex_get_coalesce_pkt_type(byte_seq); in mwifiex_fill_coalesce_rule_info() 3052 if (pkt_type && mrule->pkt_type) { in mwifiex_fill_coalesce_rule_info() 3056 } else if (pkt_type) { in mwifiex_fill_coalesce_rule_info() 3057 mrule->pkt_type = pkt_type; in mwifiex_fill_coalesce_rule_info() 3076 if (!mrule->pkt_type) { in mwifiex_fill_coalesce_rule_info()
|
D | tdls.c | 760 u32 pkt_type, tx_control; in mwifiex_send_tdls_action_frame() local 791 pkt_type = PKT_TYPE_MGMT; in mwifiex_send_tdls_action_frame() 795 memcpy(pos, &pkt_type, sizeof(pkt_type)); in mwifiex_send_tdls_action_frame() 796 memcpy(pos + sizeof(pkt_type), &tx_control, sizeof(tx_control)); in mwifiex_send_tdls_action_frame()
|
D | ioctl.h | 442 u8 pkt_type; member
|
D | sta_cmd.c | 1505 rule->pkt_type = cfg->rule[cnt].pkt_type; in mwifiex_cmd_coalesce_cfg()
|
D | fw.h | 1900 u8 pkt_type; member
|
/linux-4.1.27/net/bridge/netfilter/ |
D | ebt_pkttype.c | 20 return (skb->pkt_type == info->pkt_type) ^ info->invert; in ebt_pkttype_mt()
|
D | ebt_redirect.c | 32 skb->pkt_type = PACKET_HOST; in ebt_redirect_tg()
|
/linux-4.1.27/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()
|
D | mrp.c | 784 if (unlikely(skb->pkt_type == PACKET_OTHERHOST)) in mrp_rcv()
|
/linux-4.1.27/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 | xt_cluster.c | 116 skb->pkt_type == PACKET_MULTICAST) { in xt_cluster_mt() 117 pskb->pkt_type = PACKET_HOST; in xt_cluster_mt()
|
D | nft_meta.c | 133 if (skb->pkt_type != PACKET_LOOPBACK) { in nft_meta_get_eval() 134 *dest = skb->pkt_type; in nft_meta_get_eval()
|
/linux-4.1.27/net/hsr/ |
D | hsr_forward.c | 192 was_multicast_frame = (skb->pkt_type == PACKET_MULTICAST); in hsr_deliver_master() 289 skb->pkt_type = PACKET_HOST; in check_local_dest() 294 if ((skb->pkt_type == PACKET_HOST) || in check_local_dest() 295 (skb->pkt_type == PACKET_MULTICAST) || in check_local_dest() 296 (skb->pkt_type == PACKET_BROADCAST)) { in check_local_dest()
|
/linux-4.1.27/net/bluetooth/ |
D | hci_sock.c | 123 if (bt_cb(skb)->pkt_type == HCI_VENDOR_PKT) in is_filtered_packet() 126 flt_type = bt_cb(skb)->pkt_type & HCI_FLT_TYPE_BITS; in is_filtered_packet() 132 if (bt_cb(skb)->pkt_type != HCI_EVENT_PKT) in is_filtered_packet() 181 if (bt_cb(skb)->pkt_type != HCI_EVENT_PKT && in hci_send_to_sock() 182 bt_cb(skb)->pkt_type != HCI_ACLDATA_PKT && in hci_send_to_sock() 183 bt_cb(skb)->pkt_type != HCI_SCODATA_PKT) in hci_send_to_sock() 197 memcpy(skb_push(skb_copy, 1), &bt_cb(skb)->pkt_type, 1); in hci_send_to_sock() 263 switch (bt_cb(skb)->pkt_type) { in hci_send_to_monitor() 388 bt_cb(skb)->pkt_type = HCI_EVENT_PKT; in hci_si_event() 1141 bt_cb(skb)->pkt_type = *((unsigned char *) skb->data); in hci_sock_sendmsg() [all …]
|
D | hci_conn.c | 39 u16 pkt_type; member 101 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_acl_create_connection() 187 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_add_sco() 233 cp.pkt_type = __cpu_to_le16(param->pkt_type); in hci_setup_sync() 466 conn->pkt_type = hdev->pkt_type & ACL_PTYPE_MASK; in hci_conn_add() 474 conn->pkt_type = (hdev->esco_type & SCO_ESCO_MASK) | in hci_conn_add() 477 conn->pkt_type = hdev->pkt_type & SCO_PTYPE_MASK; in hci_conn_add() 480 conn->pkt_type = hdev->esco_type & ~EDR_ESCO_MASK; in hci_conn_add()
|
D | hci_core.c | 1901 hdev->pkt_type = (__u16) dr.dev_opt; in hci_dev_cmd() 2001 di.pkt_type = hdev->pkt_type; in hci_get_dev_info() 3014 hdev->pkt_type = (HCI_DM1 | HCI_DH1 | HCI_HV1); in hci_alloc_dev() 3293 bt_cb(skb)->pkt_type = HCI_EVENT_PKT; in hci_reset_dev() 3353 BT_DBG("%s type %d len %d", hdev->name, bt_cb(skb)->pkt_type, skb->len); in hci_send_frame() 3442 bt_cb(skb)->pkt_type = HCI_ACLDATA_PKT; in hci_queue_acl() 3482 bt_cb(skb)->pkt_type = HCI_ACLDATA_PKT; in hci_queue_acl() 3520 bt_cb(skb)->pkt_type = HCI_SCODATA_PKT; in hci_send_sco() 4179 switch (bt_cb(skb)->pkt_type) { in hci_rx_work() 4188 switch (bt_cb(skb)->pkt_type) { in hci_rx_work()
|
D | sco.c | 739 cp.pkt_type = cpu_to_le16(conn->pkt_type); in sco_conn_defer_accept() 747 if (conn->pkt_type & ESCO_2EV3) in sco_conn_defer_accept()
|
D | hci_event.c | 592 hdev->pkt_type |= (HCI_DM3 | HCI_DH3); in hci_cc_read_local_features() 595 hdev->pkt_type |= (HCI_DM5 | HCI_DH5); in hci_cc_read_local_features() 598 hdev->pkt_type |= (HCI_HV2); in hci_cc_read_local_features() 603 hdev->pkt_type |= (HCI_HV3); in hci_cc_read_local_features() 2275 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_conn_complete_evt() 2389 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_conn_request_evt() 3588 conn->pkt_type = __le16_to_cpu(ev->pkt_type); in hci_pkt_type_change_evt() 3778 conn->pkt_type = (hdev->esco_type & SCO_ESCO_MASK) | in hci_sync_conn_complete_evt()
|
D | hci_request.c | 101 bt_cb(skb)->pkt_type = HCI_COMMAND_PKT; in hci_prepare_cmd()
|
D | 6lowpan.c | 336 local_skb->pkt_type = PACKET_HOST; in recv_pkt() 365 local_skb->pkt_type = PACKET_HOST; in recv_pkt()
|
/linux-4.1.27/drivers/net/can/ |
D | vcan.c | 77 skb->pkt_type = PACKET_BROADCAST; in vcan_rx() 97 loop = skb->pkt_type == PACKET_LOOPBACK; in vcan_tx()
|
D | dev.c | 397 if (!(dev->flags & IFF_ECHO) || skb->pkt_type != PACKET_LOOPBACK || in can_put_echo_skb() 411 skb->pkt_type = PACKET_BROADCAST; in can_put_echo_skb() 579 skb->pkt_type = PACKET_BROADCAST; in alloc_can_skb() 608 skb->pkt_type = PACKET_BROADCAST; in alloc_canfd_skb()
|
D | slcan.c | 212 skb->pkt_type = PACKET_BROADCAST; in slc_bump()
|
D | janz-ican3.c | 1159 if (skb->pkt_type != PACKET_LOOPBACK) { in ican3_get_echo_skb() 1165 skb->pkt_type = PACKET_BROADCAST; in ican3_get_echo_skb()
|
/linux-4.1.27/net/bridge/ |
D | br_netfilter.c | 282 skb->pkt_type = PACKET_OTHERHOST; in br_nf_pre_routing_finish_ipv6() 407 skb->pkt_type = PACKET_OTHERHOST; in br_nf_pre_routing_finish() 453 skb->pkt_type = PACKET_HOST; in br_nf_pre_routing_finish() 493 if (skb->pkt_type == PACKET_OTHERHOST) { in setup_pre_routing() 494 skb->pkt_type = PACKET_HOST; in setup_pre_routing() 704 skb->pkt_type = PACKET_OTHERHOST; in br_nf_forward_finish() 757 if (skb->pkt_type == PACKET_OTHERHOST) { in br_nf_forward_ip() 758 skb->pkt_type = PACKET_HOST; in br_nf_forward_ip() 912 if (skb->pkt_type == PACKET_OTHERHOST) { in br_nf_post_routing() 913 skb->pkt_type = PACKET_HOST; in br_nf_post_routing()
|
D | br_input.c | 233 if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) in br_handle_frame() 304 skb->pkt_type = PACKET_HOST; in br_handle_frame()
|
/linux-4.1.27/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()
|
D | output.c | 629 const enum dccp_pkt_type pkt_type) in dccp_send_sync() argument 640 DCCP_CRIT("could not send %s", dccp_packet_name(pkt_type)); in dccp_send_sync() 646 DCCP_SKB_CB(skb)->dccpd_type = pkt_type; in dccp_send_sync()
|
D | dccp.h | 236 const enum dccp_pkt_type pkt_type);
|
D | ipv4.c | 742 if (skb->pkt_type != PACKET_HOST) in dccp_invalid_packet()
|
/linux-4.1.27/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-4.1.27/drivers/staging/rtl8192u/ |
D | r819xU_cmdpkt.c | 110 if (pstx_fb->pkt_type == PACKET_MULTICAST) { in cmpk_count_txstatistic() 113 } else if (pstx_fb->pkt_type == PACKET_BROADCAST) { in cmpk_count_txstatistic() 126 if (pstx_fb->pkt_type == PACKET_MULTICAST) in cmpk_count_txstatistic() 128 else if (pstx_fb->pkt_type == PACKET_BROADCAST) in cmpk_count_txstatistic()
|
D | r819xU_cmdpkt.h | 32 u8 pkt_type:2; member
|
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_cmdpkt.c | 114 if (pstx_fb->pkt_type == PACKET_MULTICAST) { in cmpk_count_txstatistic() 117 } else if (pstx_fb->pkt_type == PACKET_BROADCAST) { in cmpk_count_txstatistic() 129 if (pstx_fb->pkt_type == PACKET_MULTICAST) in cmpk_count_txstatistic() 131 else if (pstx_fb->pkt_type == PACKET_BROADCAST) in cmpk_count_txstatistic()
|
D | r8192E_cmdpkt.h | 40 u8 pkt_type:2; member
|
/linux-4.1.27/include/uapi/linux/netfilter_bridge/ |
D | ebt_pkttype.h | 7 __u8 pkt_type; member
|
/linux-4.1.27/net/ieee802154/6lowpan/ |
D | rx.c | 26 skb->pkt_type = PACKET_HOST; in lowpan_give_skb_to_devices() 99 if (skb->pkt_type == PACKET_OTHERHOST) in lowpan_rcv()
|
/linux-4.1.27/include/net/ |
D | x25device.h | 13 skb->pkt_type = PACKET_HOST; in x25_type_trans()
|
D | ax25.h | 269 skb->pkt_type = PACKET_HOST; in ax25_type_trans()
|
/linux-4.1.27/samples/bpf/ |
D | sockex1_kern.c | 20 if (skb->pkt_type != PACKET_OUTGOING) in bpf_prog1()
|
D | test_verifier.c | 656 offsetof(struct __sk_buff, pkt_type)), 696 offsetof(struct __sk_buff, pkt_type)), 708 offsetof(struct __sk_buff, pkt_type)),
|
/linux-4.1.27/net/ethernet/ |
D | eth.c | 164 skb->pkt_type = PACKET_BROADCAST; in eth_type_trans() 166 skb->pkt_type = PACKET_MULTICAST; in eth_type_trans() 170 skb->pkt_type = PACKET_OTHERHOST; in eth_type_trans()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/btcoexist/ |
D | rtl_btc.c | 170 void rtl_btc_special_packet_notify(struct rtl_priv *rtlpriv, u8 pkt_type) in rtl_btc_special_packet_notify() argument 172 return exhalbtc_special_packet_notify(&gl_bt_coexist, pkt_type); in rtl_btc_special_packet_notify()
|
D | rtl_btc.h | 45 void rtl_btc_special_packet_notify(struct rtl_priv *rtlpriv, u8 pkt_type);
|
D | halbtcoutsrc.h | 522 void exhalbtc_special_packet_notify(struct btc_coexist *btcoexist, u8 pkt_type);
|
D | halbtcoutsrc.c | 806 void exhalbtc_special_packet_notify(struct btc_coexist *btcoexist, u8 pkt_type) in exhalbtc_special_packet_notify() argument
|
/linux-4.1.27/net/8021q/ |
D | vlan_core.c | 25 if (unlikely(skb->pkt_type == PACKET_OTHERHOST)) { in vlan_do_receive() 30 skb->pkt_type = PACKET_HOST; in vlan_do_receive() 58 if (skb->pkt_type == PACKET_MULTICAST) in vlan_do_receive()
|
/linux-4.1.27/drivers/net/ipvlan/ |
D | ipvlan_core.c | 221 nskb->pkt_type = PACKET_BROADCAST; in ipvlan_multicast_frame() 223 nskb->pkt_type = PACKET_MULTICAST; in ipvlan_multicast_frame() 243 nskb->pkt_type = PACKET_BROADCAST; in ipvlan_multicast_frame() 245 nskb->pkt_type = PACKET_MULTICAST; in ipvlan_multicast_frame() 272 skb->pkt_type = PACKET_HOST; in ipvlan_rcv_frame()
|
/linux-4.1.27/drivers/net/arcnet/ |
D | rfc1051.c | 101 skb->pkt_type = PACKET_BROADCAST; in type_trans() 105 skb->pkt_type = PACKET_OTHERHOST; in type_trans()
|
D | rfc1201.c | 103 skb->pkt_type = PACKET_BROADCAST; in type_trans() 107 skb->pkt_type = PACKET_OTHERHOST; in type_trans()
|
/linux-4.1.27/net/ax25/ |
D | ax25_in.c | 130 skb->pkt_type = PACKET_HOST; in ax25_rx_iframe() 248 skb->pkt_type = PACKET_HOST; in ax25_rcv() 258 skb->pkt_type = PACKET_HOST; in ax25_rcv()
|
/linux-4.1.27/drivers/media/usb/gspca/ |
D | t613.c | 841 int pkt_type; in sd_pkt_scan() local 863 pkt_type = FIRST_PACKET; in sd_pkt_scan() 865 pkt_type = LAST_PACKET; in sd_pkt_scan() 867 pkt_type = INTER_PACKET; in sd_pkt_scan() 868 gspca_frame_add(gspca_dev, pkt_type, data, len); in sd_pkt_scan()
|
D | stk1135.c | 501 enum gspca_packet_type pkt_type = INTER_PACKET; in sd_pkt_scan() local 539 pkt_type = FIRST_PACKET; in sd_pkt_scan() 541 gspca_frame_add(gspca_dev, pkt_type, data + skip, len - skip); in sd_pkt_scan()
|
/linux-4.1.27/drivers/staging/octeon/ |
D | ethernet-tx.c | 652 work->word2.s.is_bcast = (skb->pkt_type == PACKET_BROADCAST); in cvm_oct_xmit_pow() 653 work->word2.s.is_mcast = (skb->pkt_type == PACKET_MULTICAST); in cvm_oct_xmit_pow() 680 (skb->pkt_type == PACKET_BROADCAST); in cvm_oct_xmit_pow() 682 (skb->pkt_type == PACKET_MULTICAST); in cvm_oct_xmit_pow()
|
/linux-4.1.27/net/ipv6/ |
D | ip6_input.c | 71 if (skb->pkt_type == PACKET_OTHERHOST) { in ipv6_rcv() 130 if (!(skb->pkt_type == PACKET_LOOPBACK || in ipv6_rcv()
|
D | ip6_output.c | 376 if (skb->pkt_type != PACKET_HOST) in ip6_forward() 531 to->pkt_type = from->pkt_type; in ip6_copy_metadata()
|
D | ndisc.c | 804 skb->pkt_type != PACKET_HOST && in ndisc_recv_ns() 905 if (skb->pkt_type != PACKET_LOOPBACK in ndisc_recv_na() 919 if (skb->pkt_type != PACKET_LOOPBACK) in ndisc_recv_na()
|
D | exthdrs.c | 321 skb->pkt_type != PACKET_HOST) { in ipv6_rthdr_rcv()
|
D | mcast.c | 1426 if (skb->pkt_type == PACKET_LOOPBACK) in igmp6_event_report() 1430 if (skb->pkt_type != PACKET_MULTICAST && in igmp6_event_report() 1431 skb->pkt_type != PACKET_BROADCAST) in igmp6_event_report()
|
D | icmp.c | 429 if (addr_type & IPV6_ADDR_MULTICAST || skb->pkt_type != PACKET_HOST) { in icmp6_send()
|
D | tcp_ipv6.c | 1376 if (skb->pkt_type != PACKET_HOST) in tcp_v6_rcv() 1523 if (skb->pkt_type != PACKET_HOST) in tcp_v6_early_demux()
|
/linux-4.1.27/drivers/input/mouse/ |
D | synaptics.c | 1081 int idx, unsigned char pkt_type) in synaptics_validate_byte() argument 1093 switch (pkt_type) { in synaptics_validate_byte() 1106 psmouse_err(psmouse, "unknown packet type %d\n", pkt_type); in synaptics_validate_byte() 1129 if (unlikely(priv->pkt_type == SYN_NEWABS)) in synaptics_process_byte() 1130 priv->pkt_type = synaptics_detect_pkt_type(psmouse); in synaptics_process_byte() 1143 return synaptics_validate_byte(psmouse, psmouse->pktcnt - 1, priv->pkt_type) ? in synaptics_process_byte() 1485 priv->pkt_type = SYN_MODEL_NEWABS(priv->model_id) ? SYN_NEWABS : SYN_OLDABS; in __synaptics_init()
|
D | synaptics.h | 178 unsigned char pkt_type; /* packet type - old, new, etc */ member
|
/linux-4.1.27/include/uapi/linux/ |
D | bpf.h | 221 __u32 pkt_type; member
|
/linux-4.1.27/include/net/bluetooth/ |
D | hci_sock.h | 118 __u32 pkt_type; member
|
D | hci.h | 504 __le16 pkt_type; member 520 __le16 pkt_type; member 574 __le16 pkt_type; member 635 __le16 pkt_type; member 646 __le16 pkt_type; member 1632 __le16 pkt_type; member
|
D | bluetooth.h | 291 __u8 pkt_type; member
|
D | hci_core.h | 257 __u16 pkt_type; member 418 __u16 pkt_type; member
|
/linux-4.1.27/net/dsa/ |
D | tag_brcm.c | 151 skb->pkt_type = PACKET_HOST; in brcm_tag_rcv()
|
D | tag_trailer.c | 98 skb->pkt_type = PACKET_HOST; in trailer_rcv()
|
D | tag_dsa.c | 170 skb->pkt_type = PACKET_HOST; in dsa_rcv()
|
D | tag_edsa.c | 189 skb->pkt_type = PACKET_HOST; in edsa_rcv()
|
/linux-4.1.27/net/ipv4/ |
D | ip_forward.c | 82 if (skb->pkt_type != PACKET_HOST) in ip_forward()
|
D | arp.c | 785 skb->pkt_type == PACKET_HOST || in arp_process() 836 skb->pkt_type != PACKET_HOST) in arp_process() 865 skb->pkt_type == PACKET_OTHERHOST || in arp_rcv() 866 skb->pkt_type == PACKET_LOOPBACK) in arp_rcv()
|
D | ip_tunnel_core.c | 116 skb->pkt_type = PACKET_HOST; in iptunnel_pull_header()
|
D | ip_input.c | 385 if (skb->pkt_type == PACKET_OTHERHOST) in ip_rcv()
|
D | ip_options.c | 622 if (skb->pkt_type != PACKET_HOST) in ip_options_rcv_srr()
|
D | ip_output.c | 461 to->pkt_type = from->pkt_type; in ip_copy_metadata()
|
D | udp.c | 1975 if (skb->pkt_type == PACKET_BROADCAST || in udp_v4_early_demux() 1976 skb->pkt_type == PACKET_MULTICAST) { in udp_v4_early_demux() 1988 } else if (skb->pkt_type == PACKET_HOST) { in udp_v4_early_demux()
|
D | icmp.c | 577 if (skb_in->pkt_type != PACKET_HOST) in icmp_send()
|
D | tcp_ipv4.c | 1457 if (skb->pkt_type != PACKET_HOST) in tcp_v4_early_demux() 1555 if (skb->pkt_type != PACKET_HOST) in tcp_v4_rcv()
|
D | ipconfig.c | 959 if (skb->pkt_type == PACKET_OTHERHOST) in ic_bootp_recv()
|
D | ip_tunnel.c | 431 skb->pkt_type = PACKET_BROADCAST; in ip_tunnel_rcv()
|
D | igmp.c | 1004 if (skb->pkt_type == PACKET_MULTICAST || in igmp_rcv() 1005 skb->pkt_type == PACKET_BROADCAST) in igmp_rcv()
|
/linux-4.1.27/net/netrom/ |
D | nr_dev.c | 61 skb->pkt_type = PACKET_HOST; in nr_rx_ip()
|
/linux-4.1.27/net/can/ |
D | af_can.c | 274 skb->pkt_type = PACKET_LOOPBACK; in can_send() 298 newskb->pkt_type = PACKET_BROADCAST; in can_send() 302 skb->pkt_type = PACKET_HOST; in can_send()
|
/linux-4.1.27/net/llc/ |
D | llc_input.c | 172 if (unlikely(skb->pkt_type == PACKET_OTHERHOST)) { in llc_rcv()
|
/linux-4.1.27/net/mac80211/ |
D | agg-rx.c | 401 skb->pkt_type = IEEE80211_SDATA_QUEUE_RX_AGG_START; in ieee80211_start_rx_ba_session_offl() 422 skb->pkt_type = IEEE80211_SDATA_QUEUE_RX_AGG_STOP; in ieee80211_stop_rx_ba_session_offl()
|
D | main.c | 228 switch (skb->pkt_type) { in ieee80211_tasklet_handler() 232 skb->pkt_type = 0; in ieee80211_tasklet_handler() 236 skb->pkt_type = 0; in ieee80211_tasklet_handler() 241 skb->pkt_type); in ieee80211_tasklet_handler()
|
D | iface.c | 1195 if (skb->pkt_type == IEEE80211_SDATA_QUEUE_AGG_START) { in ieee80211_iface_work() 1199 } else if (skb->pkt_type == IEEE80211_SDATA_QUEUE_AGG_STOP) { in ieee80211_iface_work() 1203 } else if (skb->pkt_type == IEEE80211_SDATA_QUEUE_RX_AGG_START) { in ieee80211_iface_work() 1213 } else if (skb->pkt_type == IEEE80211_SDATA_QUEUE_RX_AGG_STOP) { in ieee80211_iface_work() 1223 } else if (skb->pkt_type == IEEE80211_SDATA_QUEUE_TDLS_CHSW) { in ieee80211_iface_work()
|
D | status.c | 31 skb->pkt_type = IEEE80211_TX_STATUS_MSG; in ieee80211_tx_status_irqsafe() 870 skb->pkt_type = PACKET_OTHERHOST; in ieee80211_tx_status()
|
D | rx.c | 510 skb->pkt_type = PACKET_OTHERHOST; in ieee80211_rx_monitor() 1032 skb->pkt_type = IEEE80211_SDATA_QUEUE_TYPE_FRAME; in ieee80211_rx_reorder_ampdu() 2416 rx->skb->pkt_type = IEEE80211_SDATA_QUEUE_TDLS_CHSW; in ieee80211_rx_h_data() 2885 rx->skb->pkt_type = IEEE80211_SDATA_QUEUE_TYPE_FRAME; in ieee80211_rx_h_action() 3031 rx->skb->pkt_type = IEEE80211_SDATA_QUEUE_TYPE_FRAME; in ieee80211_rx_h_mgmt() 3078 skb->pkt_type = PACKET_OTHERHOST; in ieee80211_rx_cooked_monitor() 3686 skb->pkt_type = IEEE80211_RX_MSG; in ieee80211_rx_irqsafe()
|
D | agg-tx.c | 775 skb->pkt_type = IEEE80211_SDATA_QUEUE_AGG_START; in ieee80211_start_tx_ba_cb_irqsafe() 906 skb->pkt_type = IEEE80211_SDATA_QUEUE_AGG_STOP; in ieee80211_stop_tx_ba_cb_irqsafe()
|
/linux-4.1.27/net/openvswitch/ |
D | vport-netdev.c | 70 if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) in netdev_frame_hook()
|
D | vport-internal_dev.c | 239 skb->pkt_type = PACKET_HOST; in internal_dev_recv()
|
/linux-4.1.27/drivers/message/fusion/ |
D | mptlan.c | 1517 skb->pkt_type = PACKET_BROADCAST; in mpt_lan_type_trans() 1519 skb->pkt_type = PACKET_MULTICAST; in mpt_lan_type_trans() 1523 skb->pkt_type = PACKET_OTHERHOST; in mpt_lan_type_trans() 1525 skb->pkt_type = PACKET_HOST; in mpt_lan_type_trans()
|
/linux-4.1.27/net/decnet/ |
D | dn_route.c | 458 skb->pkt_type = PACKET_OUTGOING; in dn_return_short() 504 skb->pkt_type = PACKET_OUTGOING; in dn_return_long() 531 err, skb->pkt_type); in dn_route_rx_packet() 534 if ((skb->pkt_type == PACKET_HOST) && (cb->rt_flags & DN_RT_F_RQR)) { in dn_route_rx_packet() 796 if (skb->pkt_type != PACKET_HOST) in dn_forward()
|
D | dn_nsp_out.c | 127 skb->pkt_type = PACKET_OUTGOING; in dn_alloc_skb()
|
D | af_decnet.c | 1906 skb->pkt_type = PACKET_OUTGOING; in dn_alloc_send_pskb()
|
/linux-4.1.27/drivers/infiniband/ulp/ipoib/ |
D | ipoib_ib.c | 236 skb->pkt_type = PACKET_HOST; in ipoib_ib_handle_rx_wc() 238 skb->pkt_type = PACKET_BROADCAST; in ipoib_ib_handle_rx_wc() 240 skb->pkt_type = PACKET_MULTICAST; in ipoib_ib_handle_rx_wc()
|
D | ipoib_cm.c | 674 skb->pkt_type = PACKET_HOST; in ipoib_cm_handle_rx_wc()
|
/linux-4.1.27/drivers/net/ |
D | macvlan.c | 209 skb->pkt_type = PACKET_BROADCAST; in macvlan_broadcast_one() 211 skb->pkt_type = PACKET_MULTICAST; in macvlan_broadcast_one() 379 nskb->pkt_type = PACKET_HOST; in macvlan_forward_source_one() 460 skb->pkt_type = PACKET_HOST; in macvlan_handle_frame()
|
D | vxlan.c | 1402 reply->pkt_type = PACKET_HOST; in arp_reduce() 1845 skb->pkt_type = PACKET_HOST; in vxlan_encap_bypass()
|
D | virtio_net.c | 484 ntohs(skb->protocol), skb->len, skb->pkt_type); in receive_buf()
|
/linux-4.1.27/drivers/isdn/hisax/ |
D | jade_irq.c | 179 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in jade_interrupt()
|
D | hscx_irq.c | 201 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in hscx_interrupt()
|
D | elsa_ser.c | 288 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in modem_fill()
|
D | hfc_2bs0.c | 303 if (PACKET_NOACK == bcs->tx_skb->pkt_type) in hfc_fill_fifo()
|
D | ipacx.c | 670 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in bch_int()
|
D | hfc_pci.c | 651 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in hfcpci_fill_fifo() 714 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in hfcpci_fill_fifo()
|
D | avm_pci.c | 422 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in HDLC_irq()
|
D | netjet.c | 714 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in write_raw()
|
D | w6692.c | 378 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in W6692B_interrupt()
|
D | hfc_2bds0.c | 320 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in hfc_fill_fifo()
|
D | diva.c | 543 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in Memhscx_interrupt()
|
D | hfc_sx.c | 543 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in hfcsx_fill_fifo()
|
D | callc.c | 1779 nskb->pkt_type = PACKET_NOACK; in HiSax_writebuf_skb()
|
D | isdnl2.c | 410 if (PACKET_NOACK == l2->windowar[l2->sow]->pkt_type) in setva()
|
D | isar.c | 766 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in send_frames()
|
/linux-4.1.27/net/packet/ |
D | af_packet.c | 1569 if (skb->pkt_type == PACKET_LOOPBACK) in packet_rcv_spkt() 1768 if (skb->pkt_type == PACKET_LOOPBACK) in packet_rcv() 1789 else if (skb->pkt_type == PACKET_OUTGOING) { in packet_rcv() 1823 sll->sll_pkttype = skb->pkt_type; in packet_rcv() 1893 if (skb->pkt_type == PACKET_LOOPBACK) in tpacket_rcv() 1905 else if (skb->pkt_type == PACKET_OUTGOING) { in tpacket_rcv() 1919 else if (skb->pkt_type != PACKET_OUTGOING && in tpacket_rcv() 2048 sll->sll_pkttype = skb->pkt_type; in tpacket_rcv() 3046 else if (skb->pkt_type != PACKET_OUTGOING && in packet_recvmsg()
|
/linux-4.1.27/drivers/net/hyperv/ |
D | netvsc_drv.c | 135 int pkt_type) in init_ppi_data() argument 147 ppi->type = pkt_type; in init_ppi_data()
|
/linux-4.1.27/net/atm/ |
D | br2684.c | 466 skb->pkt_type = PACKET_HOST; in br2684_push() 491 skb->pkt_type = PACKET_HOST; in br2684_push()
|
/linux-4.1.27/drivers/infiniband/hw/nes/ |
D | nes_hw.c | 2809 u16 pkt_type; in nes_nic_ce_handler() local 2903 pkt_type = (u16)(le32_to_cpu(cq->cq_vbase[head].cqe_words[NES_NIC_CQE_TAG_PKT_TYPE_IDX])); in nes_nic_ce_handler() 2907 if ((NES_PKT_TYPE_TCPV4_BITS == (pkt_type & NES_PKT_TYPE_TCPV4_MASK)) || in nes_nic_ce_handler() 2908 (NES_PKT_TYPE_UDPV4_BITS == (pkt_type & NES_PKT_TYPE_UDPV4_MASK))) { in nes_nic_ce_handler() 2917 nesvnic->netdev->name, cqe_errv, pkt_type); in nes_nic_ce_handler() 2919 } else if ((pkt_type & NES_PKT_TYPE_IPV4_MASK) == NES_PKT_TYPE_IPV4_BITS) { in nes_nic_ce_handler() 2931 nesvnic->netdev->name, cqe_errv, pkt_type); in nes_nic_ce_handler() 2936 if ((pkt_type & NES_PKT_TYPE_APBVT_MASK) == NES_PKT_TYPE_APBVT_BITS) { in nes_nic_ce_handler()
|
D | nes_cm.c | 2346 enum nes_tcpip_pkt_type pkt_type = NES_PKT_TYPE_UNKNOWN; in process_packet() local 2358 pkt_type = NES_PKT_TYPE_RST; in process_packet() 2360 pkt_type = NES_PKT_TYPE_SYN; in process_packet() 2362 pkt_type = NES_PKT_TYPE_SYNACK; in process_packet() 2364 pkt_type = NES_PKT_TYPE_ACK; in process_packet() 2369 switch (pkt_type) { in process_packet()
|
/linux-4.1.27/drivers/firewire/ |
D | net.c | 524 skb->pkt_type = PACKET_BROADCAST; in fwnet_finish_incoming_packet() 527 skb->pkt_type = PACKET_MULTICAST; in fwnet_finish_incoming_packet() 531 skb->pkt_type = PACKET_OTHERHOST; in fwnet_finish_incoming_packet()
|
/linux-4.1.27/drivers/net/wireless/prism54/ |
D | islpci_eth.c | 303 (*skb)->pkt_type = PACKET_OTHERHOST; in islpci_monitor_rx()
|
/linux-4.1.27/drivers/net/plip/ |
D | plip.c | 553 skb->pkt_type=PACKET_BROADCAST; in plip_type_trans() 555 skb->pkt_type=PACKET_MULTICAST; in plip_type_trans()
|
/linux-4.1.27/drivers/media/dvb-core/ |
D | dvb_net.c | 149 skb->pkt_type=PACKET_BROADCAST; in dvb_net_eth_type_trans() 151 skb->pkt_type=PACKET_MULTICAST; in dvb_net_eth_type_trans()
|
/linux-4.1.27/drivers/s390/net/ |
D | qeth_l3_main.c | 1905 skb->pkt_type = PACKET_MULTICAST; in qeth_l3_rebuild_skb() 1911 skb->pkt_type = PACKET_BROADCAST; in qeth_l3_rebuild_skb() 1918 skb->pkt_type = PACKET_OTHERHOST; in qeth_l3_rebuild_skb() 1920 skb->pkt_type = PACKET_HOST; in qeth_l3_rebuild_skb() 1985 skb->pkt_type = PACKET_HOST; in qeth_l3_process_inbound_buffer() 2004 skb->pkt_type = PACKET_HOST; in qeth_l3_process_inbound_buffer()
|
D | qeth_l2_main.c | 454 skb->pkt_type = PACKET_HOST; in qeth_l2_process_inbound_buffer()
|
/linux-4.1.27/drivers/staging/wlan-ng/ |
D | p80211netdev.c | 284 skb->pkt_type = PACKET_OTHERHOST; in p80211netdev_rx_bh()
|
/linux-4.1.27/drivers/isdn/i4l/ |
D | isdn_net.c | 1375 skb->pkt_type = PACKET_BROADCAST; in isdn_net_type_trans() 1377 skb->pkt_type = PACKET_MULTICAST; in isdn_net_type_trans() 1386 skb->pkt_type = PACKET_OTHERHOST; in isdn_net_type_trans() 1806 skb->pkt_type = PACKET_HOST; in isdn_net_receive()
|
/linux-4.1.27/net/bluetooth/bnep/ |
D | core.c | 430 BT_DBG("skb %p dev %p type %d", skb, skb->dev, skb->pkt_type); in bnep_tx_frame()
|
/linux-4.1.27/net/ipv4/netfilter/ |
D | ipt_CLUSTERIP.c | 358 skb->pkt_type = PACKET_HOST; in clusterip_tg()
|
/linux-4.1.27/drivers/net/bonding/ |
D | bond_main.c | 1134 skb->pkt_type != PACKET_BROADCAST && in bond_should_deliver_exact_match() 1135 skb->pkt_type != PACKET_MULTICAST) in bond_should_deliver_exact_match() 1177 skb->pkt_type == PACKET_HOST) { in bond_handle_frame() 2430 skb->pkt_type == PACKET_OTHERHOST || in bond_arp_rcv() 2431 skb->pkt_type == PACKET_LOOPBACK || in bond_arp_rcv()
|
/linux-4.1.27/drivers/net/ppp/ |
D | pptp.c | 388 if (skb->pkt_type != PACKET_HOST) in pptp_rcv()
|
D | pppoe.c | 382 if (skb->pkt_type == PACKET_OTHERHOST) in pppoe_rcv_core()
|
/linux-4.1.27/drivers/staging/rtl8188eu/include/ |
D | rtw_mlme_ext.h | 572 struct sta_info *pstat, int pkt_type);
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
D | be.h | 300 u8 pkt_type; member
|
D | be_main.c | 1728 if (rxcp->pkt_type == BE_MULTICAST_PACKET) in be_rx_stats_update() 1965 rxcp->pkt_type = GET_RX_COMPL_V1_BITS(cast_enc, compl); in be_parse_rx_compl_v1() 1988 rxcp->pkt_type = GET_RX_COMPL_V0_BITS(cast_enc, compl); in be_parse_rx_compl_v0()
|
/linux-4.1.27/net/sched/ |
D | em_meta.c | 205 dst->value = skb->pkt_type; in META_COLLECTOR()
|
/linux-4.1.27/net/sctp/ |
D | input.c | 122 if (skb->pkt_type != PACKET_HOST) in sctp_rcv()
|
/linux-4.1.27/net/ipx/ |
D | af_ipx.c | 706 if (skb->pkt_type == PACKET_HOST) { in ipxitf_rcv() 1642 if (skb->pkt_type == PACKET_OTHERHOST) in ipx_rcv()
|
/linux-4.1.27/net/netfilter/ipvs/ |
D | ip_vs_core.c | 1633 if (unlikely((skb->pkt_type != PACKET_HOST && in ip_vs_in() 1639 skb->pkt_type, iph.protocol, in ip_vs_in()
|
/linux-4.1.27/drivers/net/wireless/orinoco/ |
D | main.c | 827 skb->pkt_type = PACKET_OTHERHOST; in orinoco_rx_monitor() 1063 skb->pkt_type = PACKET_OTHERHOST; in orinoco_rx()
|
/linux-4.1.27/net/tipc/ |
D | bearer.c | 494 if (likely(buf->pkt_type <= PACKET_BROADCAST)) { in tipc_l2_rcv_msg()
|
/linux-4.1.27/drivers/staging/slicoss/ |
D | slicoss.c | 1881 skb, skb->pkt_type, in slic_xmit_fail() 1891 skb, skb->pkt_type); in slic_xmit_fail() 1896 skb, skb->pkt_type); in slic_xmit_fail()
|
/linux-4.1.27/net/ieee802154/ |
D | socket.c | 1074 if (skb->pkt_type != PACKET_OTHERHOST) in ieee802154_rcv()
|
/linux-4.1.27/net/mpls/ |
D | af_mpls.c | 156 if (skb->pkt_type != PACKET_HOST) in mpls_forward()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | core.c | 297 if (skb->pkt_type == PACKET_MULTICAST) in brcmf_netif_rx()
|
/linux-4.1.27/drivers/net/wireless/hostap/ |
D | hostap_80211_rx.c | 199 skb->pkt_type = PACKET_OTHERHOST; in prism2_rx_80211()
|
/linux-4.1.27/net/core/ |
D | filter.c | 1445 case offsetof(struct __sk_buff, pkt_type): in sk_filter_convert_ctx_access()
|
D | pktgen.c | 2846 skb->pkt_type = PACKET_HOST; in fill_packet_ipv4() 2980 skb->pkt_type = PACKET_HOST; in fill_packet_ipv6()
|
D | dev.c | 1847 skb2->pkt_type = PACKET_OUTGOING; in dev_queue_xmit_nit() 2896 skb->pkt_type = PACKET_LOOPBACK; in dev_loopback_xmit() 3756 skb->pkt_type = PACKET_OTHERHOST; in __netif_receive_skb_core()
|
/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
D | rtw_mlme_ext.c | 2540 …ssue_asocrsp(struct adapter *padapter, unsigned short status, struct sta_info *pstat, int pkt_type) in issue_asocrsp() argument 2583 if ((pkt_type == WIFI_ASSOCRSP) || (pkt_type == WIFI_REASSOCRSP)) in issue_asocrsp() 2584 SetFrameSubType(pwlanhdr, pkt_type); in issue_asocrsp()
|
/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
D | txrx.c | 623 skb->pkt_type = PACKET_OTHERHOST; in wil_rx_handle()
|
/linux-4.1.27/net/batman-adv/ |
D | network-coding.c | 1648 skb->pkt_type = PACKET_HOST; in batadv_nc_skb_decode_packet()
|
/linux-4.1.27/drivers/net/wireless/ |
D | mac80211_hwsim.c | 842 skb->pkt_type = PACKET_OTHERHOST; in mac80211_hwsim_monitor_rx() 885 skb->pkt_type = PACKET_OTHERHOST; in mac80211_hwsim_monitor_ack()
|
/linux-4.1.27/drivers/net/wireless/ipw2x00/ |
D | libipw_rx.c | 49 skb->pkt_type = PACKET_OTHERHOST; in libipw_monitor_rx()
|
/linux-4.1.27/net/appletalk/ |
D | ddp.c | 1324 if (skb->pkt_type != PACKET_HOST || !ddp->deh_dnet) { in atalk_route_packet()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 965 if ((skb->pkt_type == PACKET_BROADCAST || in ixgbevf_clean_rx_irq() 966 skb->pkt_type == PACKET_MULTICAST) && in ixgbevf_clean_rx_irq()
|
/linux-4.1.27/drivers/staging/rtl8723au/core/ |
D | rtw_mlme_ext.c | 70 struct sta_info *pstat, u16 pkt_type); 2974 struct sta_info *pstat, u16 pkt_type) in issue_assocrsp() argument 3003 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | pkt_type); in issue_assocrsp()
|
/linux-4.1.27/include/linux/ |
D | skbuff.h | 591 __u8 pkt_type:3; member
|
/linux-4.1.27/drivers/net/wan/ |
D | farsync.c | 844 skb->pkt_type = PACKET_HOST; in farsync_type_trans()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/ |
D | wifi.h | 2534 u8 pkt_type);
|
/linux-4.1.27/lib/ |
D | test_bpf.c | 1828 skb->pkt_type = SKB_TYPE; in populate_skb()
|
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 57 skb->pkt_type = PACKET_OTHERHOST; in ieee80211_monitor_rx()
|
/linux-4.1.27/drivers/net/team/ |
D | team.c | 742 if (skb->pkt_type == PACKET_MULTICAST) in team_handle_frame()
|