/net/bluetooth/ |
D | hci_conn.c | 98 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_acl_create_connection() 170 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_add_sco() 188 cp.pkt_type = cpu_to_le16(conn->pkt_type); in hci_setup_sync() 358 __u16 pkt_type, bdaddr_t *dst) in hci_conn_add() argument 383 conn->pkt_type = hdev->pkt_type & ACL_PTYPE_MASK; in hci_conn_add() 386 if (!pkt_type) in hci_conn_add() 387 pkt_type = SCO_ESCO_MASK; in hci_conn_add() 389 if (!pkt_type) in hci_conn_add() 390 pkt_type = ALL_ESCO_MASK; in hci_conn_add() 394 conn->pkt_type = (pkt_type ^ EDR_ESCO_MASK) & in hci_conn_add() [all …]
|
D | sco.c | 161 __u16 pkt_type = sco_pi(sk)->pkt_type; in sco_connect() local 179 pkt_type &= SCO_ESCO_MASK; in sco_connect() 182 hcon = hci_connect(hdev, type, pkt_type, dst, BDADDR_BREDR, in sco_connect() 479 sco_pi(sk)->pkt_type = sa.sco_pkt_type; in sco_sock_bind() 517 sco_pi(sk)->pkt_type = sa.sco_pkt_type; in sco_sock_connect() 641 sa->sco_pkt_type = sco_pi(sk)->pkt_type; in sco_sock_getname() 695 cp.pkt_type = cpu_to_le16(conn->pkt_type); in sco_conn_defer_accept()
|
D | hci_sock.c | 96 if (!test_bit((bt_cb(skb)->pkt_type == HCI_VENDOR_PKT) ? in hci_send_to_sock() 97 0 : (bt_cb(skb)->pkt_type & HCI_FLT_TYPE_BITS), in hci_send_to_sock() 101 if (bt_cb(skb)->pkt_type == HCI_EVENT_PKT) { in hci_send_to_sock() 124 memcpy(skb_push(skb_copy, 1), &bt_cb(skb)->pkt_type, 1); in hci_send_to_sock() 185 switch (bt_cb(skb)->pkt_type) { in hci_send_to_monitor() 362 bt_cb(skb)->pkt_type = HCI_EVENT_PKT; in hci_si_event() 836 bt_cb(skb)->pkt_type = *((unsigned char *) skb->data); in hci_sock_sendmsg() 840 if (bt_cb(skb)->pkt_type == HCI_COMMAND_PKT) { in hci_sock_sendmsg()
|
D | hci_core.c | 1422 hdev->pkt_type = (__u16) dr.dev_opt; in hci_dev_cmd() 1514 di.pkt_type = hdev->pkt_type; in hci_get_dev_info() 2126 hdev->pkt_type = (HCI_DM1 | HCI_DH1 | HCI_HV1); in hci_alloc_dev() 2404 scb->pkt_type = type; in hci_reassembly() 2465 bt_cb(skb)->pkt_type = type; in hci_reassembly() 2516 type = bt_cb(skb)->pkt_type; in hci_recv_stream_fragment() 2566 BT_DBG("%s type %d len %d", hdev->name, bt_cb(skb)->pkt_type, skb->len); in hci_send_frame() 2644 bt_cb(skb)->pkt_type = HCI_COMMAND_PKT; in hci_prepare_cmd() 2753 bt_cb(skb)->pkt_type = HCI_ACLDATA_PKT; in hci_queue_acl() 2790 bt_cb(skb)->pkt_type = HCI_ACLDATA_PKT; in hci_queue_acl() [all …]
|
/net/mac802154/ |
D | wpan.c | 403 skb->pkt_type = PACKET_OTHERHOST; in mac802154_subif_frame() 406 skb->pkt_type = PACKET_HOST; in mac802154_subif_frame() 411 skb->pkt_type = PACKET_OTHERHOST; in mac802154_subif_frame() 414 skb->pkt_type = PACKET_HOST; in mac802154_subif_frame() 416 skb->pkt_type = PACKET_OTHERHOST; in mac802154_subif_frame() 421 skb->pkt_type = PACKET_OTHERHOST; in mac802154_subif_frame() 423 skb->pkt_type = PACKET_HOST; in mac802154_subif_frame() 426 skb->pkt_type = PACKET_BROADCAST; in mac802154_subif_frame() 428 skb->pkt_type = PACKET_OTHERHOST; in mac802154_subif_frame()
|
D | monitor.c | 78 skb2->pkt_type = PACKET_HOST; in mac802154_monitors_rx()
|
/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 | 115 skb->pkt_type == PACKET_MULTICAST) { in xt_cluster_mt() 116 pskb->pkt_type = PACKET_HOST; in xt_cluster_mt()
|
/net/bridge/ |
D | br_netfilter.c | 352 skb->pkt_type = PACKET_OTHERHOST; in br_nf_pre_routing_finish_ipv6() 464 skb->pkt_type = PACKET_OTHERHOST; in br_nf_pre_routing_finish() 510 skb->pkt_type = PACKET_HOST; in br_nf_pre_routing_finish() 549 if (skb->pkt_type == PACKET_OTHERHOST) { in setup_pre_routing() 550 skb->pkt_type = PACKET_HOST; in setup_pre_routing() 748 skb->pkt_type = PACKET_OTHERHOST; in br_nf_forward_finish() 799 if (skb->pkt_type == PACKET_OTHERHOST) { in br_nf_forward_ip() 800 skb->pkt_type = PACKET_HOST; in br_nf_forward_ip() 905 if (skb->pkt_type == PACKET_OTHERHOST) { in br_nf_post_routing() 906 skb->pkt_type = PACKET_HOST; in br_nf_post_routing()
|
D | br_input.c | 160 if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) in br_handle_frame() 227 skb->pkt_type = PACKET_HOST; in br_handle_frame()
|
/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() 421 } else if (unlikely(skb->pkt_type == PACKET_LOOPBACK)) in phonet_rcv()
|
/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/ethernet/ |
D | eth.c | 168 skb->pkt_type = PACKET_BROADCAST; in eth_type_trans() 170 skb->pkt_type = PACKET_MULTICAST; in eth_type_trans() 184 skb->pkt_type = PACKET_OTHERHOST; in eth_type_trans()
|
/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/8021q/ |
D | vlan_core.c | 25 if (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/ipv6/ |
D | ip6_input.c | 72 if (skb->pkt_type == PACKET_OTHERHOST) { in ipv6_rcv() 127 if (!(skb->pkt_type == PACKET_LOOPBACK || in ipv6_rcv()
|
/net/can/ |
D | af_can.c | 271 skb->pkt_type = PACKET_LOOPBACK; in can_send() 295 newskb->pkt_type = PACKET_BROADCAST; in can_send() 299 skb->pkt_type = PACKET_HOST; in can_send()
|
/net/ipv4/ |
D | ip_forward.c | 70 if (skb->pkt_type != PACKET_HOST) in ip_forward()
|
/net/dsa/ |
D | tag_trailer.c | 101 skb->pkt_type = PACKET_HOST; in trailer_rcv()
|
D | tag_dsa.c | 173 skb->pkt_type = PACKET_HOST; in dsa_rcv()
|
/net/mac80211/ |
D | main.c | 234 switch (skb->pkt_type) { in ieee80211_tasklet_handler() 238 skb->pkt_type = 0; in ieee80211_tasklet_handler() 242 skb->pkt_type = 0; in ieee80211_tasklet_handler() 247 skb->pkt_type); in ieee80211_tasklet_handler()
|