Home
last modified time | relevance | path

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

1234

/net/mac802154/
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 …]
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()
/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()
53 skb->pkt_type = PACKET_HOST; in ebt_dnat_tg()
55 skb->pkt_type = PACKET_OTHERHOST; in ebt_dnat_tg()
Debt_pkttype.c21 return (skb->pkt_type == info->pkt_type) ^ info->invert; in ebt_pkttype_mt()
Debtable_broute.c79 if (skb->pkt_type == PACKET_HOST && in ebt_broute()
82 skb->pkt_type = PACKET_OTHERHOST; in ebt_broute()
Debt_redirect.c33 skb->pkt_type = PACKET_HOST; in ebt_redirect_tg()
/net/bridge/
Dbr_input.c80 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()
269 if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) in br_handle_frame()
353 skb->pkt_type = PACKET_HOST; in br_handle_frame()
Dbr_netfilter_hooks.c363 skb->pkt_type = PACKET_OTHERHOST; in br_nf_pre_routing_finish()
409 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()
557 skb->pkt_type = PACKET_OTHERHOST; in br_nf_forward_finish()
613 if (skb->pkt_type == PACKET_OTHERHOST) { in br_nf_forward_ip()
614 skb->pkt_type = PACKET_HOST; in br_nf_forward_ip()
741 skb->pkt_type = PACKET_OTHERHOST; in br_nf_dev_queue_xmit()
844 if (skb->pkt_type == PACKET_OTHERHOST) { in br_nf_post_routing()
845 skb->pkt_type = PACKET_HOST; in br_nf_post_routing()
Dbr_netfilter_ipv6.c170 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()
Dbr_forward.c192 enum br_pkt_type pkt_type, bool local_rcv, bool local_orig) in br_flood() argument
201 switch (pkt_type) { in br_flood()
/net/hsr/
Dhsr_forward.c203 was_multicast_frame = (skb->pkt_type == PACKET_MULTICAST); in hsr_deliver_master()
295 skb->pkt_type = PACKET_HOST; in check_local_dest()
300 if (skb->pkt_type == PACKET_HOST || in check_local_dest()
301 skb->pkt_type == PACKET_MULTICAST || in check_local_dest()
302 skb->pkt_type == PACKET_BROADCAST) { in check_local_dest()
/net/802/
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()
/net/netfilter/
Dxt_pkttype.c28 if (skb->pkt_type != PACKET_LOOPBACK) in pkttype_mt()
29 type = skb->pkt_type; in pkttype_mt()
Dnft_meta.c161 if (skb->pkt_type != PACKET_LOOPBACK) { in nft_meta_get_eval()
162 nft_reg_store8(dest, skb->pkt_type); in nft_meta_get_eval()
289 if (skb->pkt_type != value8 && in nft_meta_set_eval()
291 skb_pkt_type_ok(skb->pkt_type)) in nft_meta_set_eval()
292 skb->pkt_type = value8; in nft_meta_set_eval()
Dxt_cluster.c105 skb->pkt_type == PACKET_MULTICAST) { in xt_cluster_mt()
106 pskb->pkt_type = PACKET_HOST; in xt_cluster_mt()
/net/phonet/
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()
412 } else if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) in phonet_rcv()
/net/dccp/
Doptions.c52 const u8 pkt_type = DCCP_SKB_CB(skb)->dccpd_type; in dccp_parse_options() local
108 if (pkt_type != DCCP_PKT_DATA) in dccp_parse_options()
120 if (pkt_type == DCCP_PKT_DATA) /* RFC 4340, 6 */ in dccp_parse_options()
215 pkt_type, opt, value, len)) in dccp_parse_options()
230 pkt_type, opt, value, len)) in dccp_parse_options()
Doutput.c631 const enum dccp_pkt_type pkt_type) in dccp_send_sync() argument
642 DCCP_CRIT("could not send %s", dccp_packet_name(pkt_type)); in dccp_send_sync()
648 DCCP_SKB_CB(skb)->dccpd_type = pkt_type; in dccp_send_sync()
/net/bluetooth/
Dhci_conn.c39 u16 pkt_type; member
220 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_acl_create_connection()
264 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_add_sco()
310 cp.pkt_type = __cpu_to_le16(param->pkt_type); in hci_setup_sync()
529 conn->pkt_type = hdev->pkt_type & ACL_PTYPE_MASK; in hci_conn_add()
537 conn->pkt_type = (hdev->esco_type & SCO_ESCO_MASK) | in hci_conn_add()
540 conn->pkt_type = hdev->pkt_type & SCO_PTYPE_MASK; in hci_conn_add()
543 conn->pkt_type = hdev->esco_type & ~EDR_ESCO_MASK; in hci_conn_add()
/net/ipv6/
Dip6_input.c134 if (skb->pkt_type == PACKET_OTHERHOST) { in ip6_rcv_core()
197 if (!(skb->pkt_type == PACKET_LOOPBACK || in ip6_rcv_core()
208 (skb->pkt_type == PACKET_BROADCAST || in ip6_rcv_core()
209 skb->pkt_type == PACKET_MULTICAST) && in ip6_rcv_core()
/net/ax25/
Dax25_in.c126 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/
Deth.c171 skb->pkt_type = PACKET_BROADCAST; in eth_type_trans()
173 skb->pkt_type = PACKET_MULTICAST; in eth_type_trans()
175 skb->pkt_type = PACKET_OTHERHOST; in eth_type_trans()
/net/ipv4/
Dip_input.c370 } else if (skb->pkt_type == PACKET_BROADCAST || in ip_rcv_finish_core()
371 skb->pkt_type == PACKET_MULTICAST) { in ip_rcv_finish_core()
435 if (skb->pkt_type == PACKET_OTHERHOST) in ip_rcv_core()
/net/8021q/
Dvlan_core.c32 if (unlikely(skb->pkt_type == PACKET_OTHERHOST)) { in vlan_do_receive()
37 skb->pkt_type = PACKET_HOST; in vlan_do_receive()
67 if (skb->pkt_type == PACKET_MULTICAST) in vlan_do_receive()
/net/can/
Daf_can.c247 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()

1234