/net/mac802154/ |
D | rx.c | 49 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 …]
|
D | main.c | 29 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()
|
/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() 53 skb->pkt_type = PACKET_HOST; in ebt_dnat_tg() 55 skb->pkt_type = PACKET_OTHERHOST; in ebt_dnat_tg()
|
D | ebt_pkttype.c | 21 return (skb->pkt_type == info->pkt_type) ^ info->invert; in ebt_pkttype_mt()
|
D | ebtable_broute.c | 78 if (skb->pkt_type == PACKET_HOST && in ebt_broute() 81 skb->pkt_type = PACKET_OTHERHOST; in ebt_broute()
|
D | ebt_redirect.c | 33 skb->pkt_type = PACKET_HOST; in ebt_redirect_tg()
|
/net/bluetooth/ |
D | hci_conn.c | 39 u16 pkt_type; member 245 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_acl_create_connection() 289 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_add_sco() 299 (esco_param[conn->attempt - 1].pkt_type & ESCO_2EV3)) in find_next_esco_param() 351 cp.pkt_type = __cpu_to_le16(param->pkt_type); in hci_setup_sync() 588 conn->pkt_type = hdev->pkt_type & ACL_PTYPE_MASK; in hci_conn_add() 596 conn->pkt_type = (hdev->esco_type & SCO_ESCO_MASK) | in hci_conn_add() 599 conn->pkt_type = hdev->pkt_type & SCO_PTYPE_MASK; in hci_conn_add() 602 conn->pkt_type = hdev->esco_type & ~EDR_ESCO_MASK; in hci_conn_add() 1876 if (conn->pkt_type & (HCI_DM3 | HCI_DH3)) in hci_conn_get_phy() [all …]
|
/net/bridge/ |
D | br_input.c | 77 enum br_pkt_type pkt_type = BR_PKT_UNICAST; in br_handle_frame_finish() local 109 pkt_type = BR_PKT_BROADCAST; in br_handle_frame_finish() 112 pkt_type = BR_PKT_MULTICAST; in br_handle_frame_finish() 141 switch (pkt_type) { in br_handle_frame_finish() 175 br_flood(br, skb, pkt_type, local_rcv, false); in br_handle_frame_finish() 291 if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) in br_handle_frame() 375 skb->pkt_type = PACKET_HOST; in br_handle_frame()
|
D | br_netfilter_hooks.c | 367 skb->pkt_type = PACKET_OTHERHOST; in br_nf_pre_routing_finish() 413 skb->pkt_type = PACKET_HOST; in br_nf_pre_routing_finish() 456 if (skb->pkt_type == PACKET_OTHERHOST) { in setup_pre_routing() 457 skb->pkt_type = PACKET_HOST; in setup_pre_routing() 592 if (!nfct || skb->pkt_type == PACKET_HOST) in br_nf_local_in() 645 skb->pkt_type = PACKET_OTHERHOST; in br_nf_forward_finish() 701 if (skb->pkt_type == PACKET_OTHERHOST) { in br_nf_forward_ip() 702 skb->pkt_type = PACKET_HOST; in br_nf_forward_ip() 829 skb->pkt_type = PACKET_OTHERHOST; in br_nf_dev_queue_xmit() 932 if (skb->pkt_type == PACKET_OTHERHOST) { in br_nf_post_routing() [all …]
|
D | br_netfilter_ipv6.c | 170 skb->pkt_type = PACKET_OTHERHOST; in br_nf_pre_routing_finish_ipv6() 193 skb->pkt_type = PACKET_HOST; in br_nf_pre_routing_finish_ipv6()
|
D | br_forward.c | 200 enum br_pkt_type pkt_type, bool local_rcv, bool local_orig) in br_flood() argument 209 switch (pkt_type) { in br_flood()
|
/net/802/ |
D | fddi.c | 122 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()
|
/net/netfilter/ |
D | xt_pkttype.c | 28 if (skb->pkt_type != PACKET_LOOPBACK) in pkttype_mt() 29 type = skb->pkt_type; in pkttype_mt()
|
D | xt_cluster.c | 105 skb->pkt_type == PACKET_MULTICAST) { in xt_cluster_mt() 106 pskb->pkt_type = PACKET_HOST; in xt_cluster_mt()
|
D | nft_meta.c | 362 if (skb->pkt_type != PACKET_LOOPBACK) { in nft_meta_get_eval() 363 nft_reg_store8(dest, skb->pkt_type); in nft_meta_get_eval() 434 if (skb->pkt_type != value8 && in nft_meta_set_eval() 436 skb_pkt_type_ok(skb->pkt_type)) in nft_meta_set_eval() 437 skb->pkt_type = value8; in nft_meta_set_eval()
|
/net/phonet/ |
D | af_phonet.c | 182 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()
|
/net/dccp/ |
D | options.c | 53 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()
|
D | output.c | 640 const enum dccp_pkt_type pkt_type) in dccp_send_sync() argument 651 DCCP_CRIT("could not send %s", dccp_packet_name(pkt_type)); in dccp_send_sync() 657 DCCP_SKB_CB(skb)->dccpd_type = pkt_type; in dccp_send_sync()
|
/net/hsr/ |
D | hsr_forward.c | 312 was_multicast_frame = (skb->pkt_type == PACKET_MULTICAST); in hsr_deliver_master() 440 skb->pkt_type = PACKET_HOST; in check_local_dest() 445 if (skb->pkt_type == PACKET_HOST || in check_local_dest() 446 skb->pkt_type == PACKET_MULTICAST || in check_local_dest() 447 skb->pkt_type == PACKET_BROADCAST) { in check_local_dest()
|
/net/ipv6/ |
D | ip6_input.c | 155 if (skb->pkt_type == PACKET_OTHERHOST) { in ip6_rcv_core() 218 if (!(skb->pkt_type == PACKET_LOOPBACK || in ip6_rcv_core() 229 (skb->pkt_type == PACKET_BROADCAST || in ip6_rcv_core() 230 skb->pkt_type == PACKET_MULTICAST) && in ip6_rcv_core()
|
/net/ax25/ |
D | ax25_in.c | 126 skb->pkt_type = PACKET_HOST; in ax25_rx_iframe() 244 skb->pkt_type = PACKET_HOST; in ax25_rcv() 254 skb->pkt_type = PACKET_HOST; in ax25_rcv()
|
/net/ethernet/ |
D | eth.c | 170 skb->pkt_type = PACKET_BROADCAST; in eth_type_trans() 172 skb->pkt_type = PACKET_MULTICAST; in eth_type_trans() 174 skb->pkt_type = PACKET_OTHERHOST; in eth_type_trans()
|
/net/8021q/ |
D | vlan_core.c | 33 if (unlikely(skb->pkt_type == PACKET_OTHERHOST)) { in vlan_do_receive() 38 skb->pkt_type = PACKET_HOST; in vlan_do_receive() 68 if (skb->pkt_type == PACKET_MULTICAST) in vlan_do_receive()
|
/net/ipv4/ |
D | ip_input.c | 393 } else if (skb->pkt_type == PACKET_BROADCAST || in ip_rcv_finish_core() 394 skb->pkt_type == PACKET_MULTICAST) { in ip_rcv_finish_core() 463 if (skb->pkt_type == PACKET_OTHERHOST) { in ip_rcv_core()
|
/net/can/ |
D | af_can.c | 247 skb->pkt_type = PACKET_LOOPBACK; in can_send() 269 newskb->pkt_type = PACKET_BROADCAST; in can_send() 273 skb->pkt_type = PACKET_HOST; in can_send()
|