Home
last modified time | relevance | path

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

1234

/net/mac802154/
Dwpan.c438 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()
Dmonitor.c79 skb2->pkt_type = PACKET_HOST; in mac802154_monitors_rx()
/net/bluetooth/
Dhci_sock.c96 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 …]
Dhci_conn.c37 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/
Dhsr_forward.c192 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/
Dbr_netfilter.c250 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()
Dbr_input.c168 if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) in br_handle_frame()
239 skb->pkt_type = PACKET_HOST; in br_handle_frame()
/net/bridge/netfilter/
Debt_pkttype.c20 return (skb->pkt_type == info->pkt_type) ^ info->invert; in ebt_pkttype_mt()
Debt_redirect.c32 skb->pkt_type = PACKET_HOST; in ebt_redirect_tg()
/net/802/
Dfddi.c151 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/
Dxt_pkttype.c31 if (skb->pkt_type != PACKET_LOOPBACK) in pkttype_mt()
32 type = skb->pkt_type; in pkttype_mt()
Dxt_cluster.c116 skb->pkt_type == PACKET_MULTICAST) { in xt_cluster_mt()
117 pskb->pkt_type = PACKET_HOST; in xt_cluster_mt()
Dnft_meta.c132 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/
Doptions.c56 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()
Doutput.c629 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/
Daf_phonet.c195 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/
Deth.c197 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/
Dvlan_core.c25 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/
Dax25_in.c130 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/
Dip6_input.c72 if (skb->pkt_type == PACKET_OTHERHOST) { in ipv6_rcv()
131 if (!(skb->pkt_type == PACKET_LOOPBACK || in ipv6_rcv()
/net/can/
Daf_can.c275 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/
Dtag_trailer.c100 skb->pkt_type = PACKET_HOST; in trailer_rcv()
Dtag_brcm.c151 skb->pkt_type = PACKET_HOST; in brcm_tag_rcv()
Dtag_dsa.c172 skb->pkt_type = PACKET_HOST; in dsa_rcv()
/net/ipv4/
Dip_forward.c81 if (skb->pkt_type != PACKET_HOST) in ip_forward()

1234