Home
last modified time | relevance | path

Searched refs:dev_type (Results 1 – 11 of 11) sorted by relevance

/net/ipv6/
Dip6_gre.c125 int dev_type = (gre_proto == htons(ETH_P_TEB)) ? in ip6gre_tunnel_lookup() local
137 t->dev->type != dev_type) in ip6gre_tunnel_lookup()
143 if (t->dev->type != dev_type) in ip6gre_tunnel_lookup()
161 t->dev->type != dev_type) in ip6gre_tunnel_lookup()
167 if (t->dev->type != dev_type) in ip6gre_tunnel_lookup()
187 t->dev->type != dev_type) in ip6gre_tunnel_lookup()
193 if (t->dev->type != dev_type) in ip6gre_tunnel_lookup()
210 t->dev->type != dev_type) in ip6gre_tunnel_lookup()
216 if (t->dev->type != dev_type) in ip6gre_tunnel_lookup()
/net/ipv4/
Darp.c736 u16 dev_type = dev->type; in arp_process() local
751 switch (dev_type) { in arp_process()
754 htons(dev_type) != arp->ar_hrd) in arp_process()
800 switch (dev_type) { in arp_process()
820 if (dev_type == ARPHRD_DLCI) in arp_process()
/net/bluetooth/
Dhci_core.c1337 switch (hdev->dev_type) { in hci_init1_req()
1347 BT_ERR("Unknown device type %d", hdev->dev_type); in hci_init1_req()
1787 if (hdev->dev_type != HCI_BREDR) in __hci_init()
2266 if (hdev->dev_type != HCI_BREDR) { in hci_inquiry()
2371 hdev->dev_type == HCI_BREDR && in hci_dev_do_open()
2448 hdev->dev_type == HCI_BREDR) { in hci_dev_do_open()
2636 if (hdev->dev_type == HCI_BREDR) { in hci_dev_do_close()
2814 if (hdev->dev_type != HCI_BREDR) { in hci_dev_cmd()
2968 di.type = (hdev->bus & 0x0f) | ((hdev->dev_type & 0x03) << 4); in hci_get_dev_info()
3042 (hdev->dev_type == HCI_BREDR && in hci_power_on()
[all …]
Dhci_sysfs.c143 return sprintf(buf, "%s\n", host_typetostr(hdev->dev_type)); in show_type()
Da2mp.c90 if (hdev->dev_type == HCI_AMP) { in __a2mp_add_cl()
154 if (hdev->dev_type == HCI_AMP) in a2mp_discover_req()
283 if (!hdev || hdev->dev_type != HCI_AMP) { in a2mp_getinfo_req()
Dhci_sock.c336 ni->type = hdev->dev_type; in create_monitor_event()
542 if (hdev->dev_type != HCI_BREDR) in hci_sock_bound_ioctl()
Dmgmt.c371 if (d->dev_type == HCI_BREDR && in read_index_list()
396 if (d->dev_type == HCI_BREDR && in read_index_list()
431 if (d->dev_type == HCI_BREDR && in read_unconf_index_list()
456 if (d->dev_type == HCI_BREDR && in read_unconf_index_list()
5797 if (hdev->dev_type != HCI_BREDR) in mgmt_index_added()
5813 if (hdev->dev_type != HCI_BREDR) in mgmt_index_removed()
Dhci_conn.c566 d->dev_type != HCI_BREDR) in hci_get_route()
Dhci_event.c3029 switch (hdev->dev_type) { in __hci_conn_lookup_handle()
3038 BT_ERR("%s unknown dev_type %d", hdev->name, hdev->dev_type); in __hci_conn_lookup_handle()
Dl2cap_core.c4463 if (hdev->dev_type != HCI_AMP || !test_bit(HCI_UP, &hdev->flags)) { in l2cap_create_channel_req()
4903 if (!hdev || hdev->dev_type != HCI_AMP || in l2cap_move_channel_req()
7396 if (!conn && hcon->hdev->dev_type != HCI_BREDR) in l2cap_recv_acldata()
/net/core/
Ddev.c307 static inline unsigned short netdev_lock_pos(unsigned short dev_type) in netdev_lock_pos() argument
312 if (netdev_lock_type[i] == dev_type) in netdev_lock_pos()
319 unsigned short dev_type) in netdev_set_xmit_lockdep_class() argument
323 i = netdev_lock_pos(dev_type); in netdev_set_xmit_lockdep_class()
339 unsigned short dev_type) in netdev_set_xmit_lockdep_class() argument