/net/mac802154/ |
D | wpan.c | 438 skb->pkt_type = PACKET_OTHERHOST; in mac802154_subif_frame() 441 skb->pkt_type = PACKET_HOST; in mac802154_subif_frame() 446 skb->pkt_type = PACKET_OTHERHOST; in mac802154_subif_frame() 448 skb->pkt_type = PACKET_HOST; in mac802154_subif_frame() 450 skb->pkt_type = PACKET_OTHERHOST; in mac802154_subif_frame() 455 skb->pkt_type = PACKET_OTHERHOST; in mac802154_subif_frame() 457 skb->pkt_type = PACKET_HOST; in mac802154_subif_frame() 460 skb->pkt_type = PACKET_BROADCAST; in mac802154_subif_frame() 462 skb->pkt_type = PACKET_OTHERHOST; in mac802154_subif_frame()
|
D | monitor.c | 79 skb2->pkt_type = PACKET_HOST; in mac802154_monitors_rx()
|
/net/bluetooth/ |
D | hci_sock.c | 96 if (bt_cb(skb)->pkt_type == HCI_VENDOR_PKT) in is_filtered_packet() 99 flt_type = bt_cb(skb)->pkt_type & HCI_FLT_TYPE_BITS; in is_filtered_packet() 105 if (bt_cb(skb)->pkt_type != HCI_EVENT_PKT) in is_filtered_packet() 154 if (bt_cb(skb)->pkt_type != HCI_EVENT_PKT && in hci_send_to_sock() 155 bt_cb(skb)->pkt_type != HCI_ACLDATA_PKT && in hci_send_to_sock() 156 bt_cb(skb)->pkt_type != HCI_SCODATA_PKT) in hci_send_to_sock() 170 memcpy(skb_push(skb_copy, 1), &bt_cb(skb)->pkt_type, 1); in hci_send_to_sock() 231 switch (bt_cb(skb)->pkt_type) { in hci_send_to_monitor() 408 bt_cb(skb)->pkt_type = HCI_EVENT_PKT; in hci_si_event() 956 bt_cb(skb)->pkt_type = *((unsigned char *) skb->data); in hci_sock_sendmsg() [all …]
|
D | hci_conn.c | 37 u16 pkt_type; member 99 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_acl_create_connection() 184 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_add_sco() 230 cp.pkt_type = __cpu_to_le16(param->pkt_type); in hci_setup_sync() 462 conn->pkt_type = hdev->pkt_type & ACL_PTYPE_MASK; in hci_conn_add() 470 conn->pkt_type = (hdev->esco_type & SCO_ESCO_MASK) | in hci_conn_add() 473 conn->pkt_type = hdev->pkt_type & SCO_PTYPE_MASK; in hci_conn_add() 476 conn->pkt_type = hdev->esco_type & ~EDR_ESCO_MASK; in hci_conn_add()
|
/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()
|
/net/bridge/ |
D | br_netfilter.c | 250 skb->pkt_type = PACKET_OTHERHOST; in br_nf_pre_routing_finish_ipv6() 367 skb->pkt_type = PACKET_OTHERHOST; in br_nf_pre_routing_finish() 413 skb->pkt_type = PACKET_HOST; in br_nf_pre_routing_finish() 452 if (skb->pkt_type == PACKET_OTHERHOST) { in setup_pre_routing() 453 skb->pkt_type = PACKET_HOST; in setup_pre_routing() 662 skb->pkt_type = PACKET_OTHERHOST; in br_nf_forward_finish() 714 if (skb->pkt_type == PACKET_OTHERHOST) { in br_nf_forward_ip() 715 skb->pkt_type = PACKET_HOST; in br_nf_forward_ip() 834 if (skb->pkt_type == PACKET_OTHERHOST) { in br_nf_post_routing() 835 skb->pkt_type = PACKET_HOST; in br_nf_post_routing()
|
D | br_input.c | 168 if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) in br_handle_frame() 239 skb->pkt_type = PACKET_HOST; in br_handle_frame()
|
/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()
|
/net/802/ |
D | fddi.c | 151 skb->pkt_type = PACKET_BROADCAST; in fddi_type_trans() 153 skb->pkt_type = PACKET_MULTICAST; in fddi_type_trans() 159 skb->pkt_type = PACKET_OTHERHOST; in fddi_type_trans()
|
/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 | 132 if (skb->pkt_type != PACKET_LOOPBACK) { in nft_meta_get_eval() 133 dest->data[0] = skb->pkt_type; in nft_meta_get_eval()
|
/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()
|
/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()
|
/net/ethernet/ |
D | eth.c | 197 skb->pkt_type = PACKET_BROADCAST; in eth_type_trans() 199 skb->pkt_type = PACKET_MULTICAST; in eth_type_trans() 203 skb->pkt_type = PACKET_OTHERHOST; in eth_type_trans()
|
/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()
|
/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()
|
/net/ipv6/ |
D | ip6_input.c | 72 if (skb->pkt_type == PACKET_OTHERHOST) { in ipv6_rcv() 131 if (!(skb->pkt_type == PACKET_LOOPBACK || in ipv6_rcv()
|
/net/can/ |
D | af_can.c | 275 skb->pkt_type = PACKET_LOOPBACK; in can_send() 299 newskb->pkt_type = PACKET_BROADCAST; in can_send() 303 skb->pkt_type = PACKET_HOST; in can_send()
|
/net/dsa/ |
D | tag_trailer.c | 100 skb->pkt_type = PACKET_HOST; in trailer_rcv()
|
D | tag_brcm.c | 151 skb->pkt_type = PACKET_HOST; in brcm_tag_rcv()
|
D | tag_dsa.c | 172 skb->pkt_type = PACKET_HOST; in dsa_rcv()
|
/net/ipv4/ |
D | ip_forward.c | 81 if (skb->pkt_type != PACKET_HOST) in ip_forward()
|