| /linux/net/bluetooth/ |
| H A D | msft.c | 84 __u8 addr_type; member 118 __u8 addr_type; member 216 (struct hci_dev *hdev, u8 addr_type, bdaddr_t *addr, in msft_find_address_data() argument 224 addr_type == entry->addr_type && in msft_find_address_data() 234 bdaddr_t *bdaddr, __u8 addr_type, in msft_monitor_device_del() argument 247 addr_type == dev->addr_type))) { in msft_monitor_device_del() 251 dev->addr_type); in msft_monitor_device_del() 794 __u8 addr_type, __u16 mgmt_handle) in msft_device_found() argument 806 dev->addr_type = addr_type; in msft_device_found() 817 __u8 addr_type, __u16 mgmt_handle) in msft_device_lost() argument [all …]
|
| H A D | 6lowpan.c | 513 u8 addr_type; in bt_xmit() local 527 err = setup_header(skb, netdev, &addr, &addr_type); in bt_xmit() 536 netdev->name, &addr, addr_type, in bt_xmit() 962 static int get_l2cap_conn(char *buf, bdaddr_t *addr, u8 *addr_type, in get_l2cap_conn() argument 973 addr_type); in get_l2cap_conn() 983 *addr_type += 1; in get_l2cap_conn() 986 switch (*addr_type) { in get_l2cap_conn() 1120 u8 addr_type; in lowpan_control_write() local 1129 ret = get_l2cap_conn(&buf[8], &addr, &addr_type, &conn, false); in lowpan_control_write() 1160 addr_type); in lowpan_control_write() [all …]
|
| H A D | hci_core.c | 1146 u8 addr_type, u8 role) in hci_find_ltk() argument 1152 if (addr_type != k->bdaddr_type || bacmp(bdaddr, &k->bdaddr)) in hci_find_ltk() 1209 u8 addr_type) in hci_find_irk_by_addr() argument 1215 if (addr_type == ADDR_LE_DEV_RANDOM && (bdaddr->b[5] & 0xc0) != 0xc0) in hci_find_irk_by_addr() 1220 if (addr_type == irk->addr_type && in hci_find_irk_by_addr() 1287 u8 addr_type, u8 type, u8 authenticated, in hci_add_ltk() argument 1293 old_key = hci_find_ltk(hdev, bdaddr, addr_type, role); in hci_add_ltk() 1304 key->bdaddr_type = addr_type; in hci_add_ltk() 1316 u8 addr_type, u in hci_add_irk() argument 1373 hci_remove_irk(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 addr_type) hci_remove_irk() argument 1392 u8 addr_type; hci_bdaddr_is_paired() local 2179 hci_conn_params_lookup(struct hci_dev * hdev,bdaddr_t * addr,u8 addr_type) hci_conn_params_lookup() argument 2195 hci_pend_le_action_lookup(struct list_head * list,bdaddr_t * addr,u8 addr_type) hci_pend_le_action_lookup() argument 2234 hci_conn_params_add(struct hci_dev * hdev,bdaddr_t * addr,u8 addr_type) hci_conn_params_add() argument 2279 hci_conn_params_del(struct hci_dev * hdev,bdaddr_t * addr,u8 addr_type) hci_conn_params_del() argument [all...] |
| H A D | smp.h | 92 __u8 addr_type; member 183 u8 addr_type)
|
| H A D | mgmt.c | 3104 u8 addr_type, struct sock *skip_sk) in device_unpaired() argument 3109 ev.addr.type = addr_type; in device_unpaired() 3167 u8 addr_type; in unpair_device() local 3220 addr_type = le_addr_type(cp->addr.type); in unpair_device() 3223 err = smp_cancel_and_remove_pairing(hdev, &cp->addr.bdaddr, addr_type); in unpair_device() 3231 conn = hci_conn_hash_lookup_le(hdev, &cp->addr.bdaddr, addr_type); in unpair_device() 3233 hci_conn_params_del(hdev, &cp->addr.bdaddr, addr_type); in unpair_device() 3244 params = hci_conn_params_lookup(hdev, &cp->addr.bdaddr, addr_type); in unpair_device() 3374 static u8 link_to_bdaddr(u8 link_type, u8 addr_type) in link_to_bdaddr() argument 3381 switch (addr_type) { in link_to_bdaddr() [all …]
|
| /linux/include/uapi/linux/ |
| H A D | ipmi.h | 54 int addr_type; member 66 int addr_type; member 77 int addr_type; member 90 int addr_type; member 116 int addr_type; member
|
| /linux/net/core/ |
| H A D | dev_addr_lists.c | 54 unsigned char addr_type, bool global, bool sync) in __hw_addr_create() argument 66 ha->type = addr_type; in __hw_addr_create() 77 unsigned char addr_type, bool global, bool sync, in __hw_addr_add_ex() argument 92 diff = memcmp(&addr_type, &ha->type, sizeof(addr_type)); in __hw_addr_add_ex() 120 ha = __hw_addr_create(addr, addr_len, addr_type, global, sync); in __hw_addr_add_ex() 135 unsigned char addr_type) in __hw_addr_add() argument 137 return __hw_addr_add_ex(list, addr, addr_len, addr_type, false, false, in __hw_addr_add() 170 unsigned char addr_type) in __hw_addr_lookup() argument 180 if (diff == 0 && addr_type) in __hw_addr_lookup() 181 diff = memcmp(&addr_type, &ha->type, sizeof(addr_type)); in __hw_addr_lookup() [all …]
|
| /linux/net/ipv6/netfilter/ |
| H A D | ip6t_rpfilter.c | 22 int addr_type = ipv6_addr_type(addr); in rpfilter_addr_unicast() local 23 return addr_type & IPV6_ADDR_UNICAST; in rpfilter_addr_unicast() 28 int addr_type = ipv6_addr_type(addr); in rpfilter_addr_linklocal() local 29 return addr_type & IPV6_ADDR_LINKLOCAL; in rpfilter_addr_linklocal()
|
| /linux/net/rds/ |
| H A D | bind.c | 192 int addr_type; in rds_bind() local 196 addr_type = ipv6_addr_type(&sin6->sin6_addr); in rds_bind() 197 if (!(addr_type & IPV6_ADDR_UNICAST)) { in rds_bind() 200 if (!(addr_type & IPV6_ADDR_MAPPED)) in rds_bind() 213 if (addr_type & IPV6_ADDR_LINKLOCAL) { in rds_bind()
|
| /linux/drivers/net/dsa/mv88e6xxx/ |
| H A D | tcflower.c | 24 u16 addr_type = 0; in mv88e6xxx_flower_parse_key() local 39 addr_type = match.key->addr_type; in mv88e6xxx_flower_parse_key() 57 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mv88e6xxx_flower_parse_key()
|
| /linux/include/net/bluetooth/ |
| H A D | hci_core.h | 216 u8 addr_type; member 294 __u8 addr_type; member 817 u8 addr_type; 1858 bdaddr_t *addr, u8 addr_type); 1860 bdaddr_t *addr, u8 addr_type); 1861 void hci_conn_params_del(struct hci_dev *hdev, bdaddr_t *addr, u8 addr_type); 1870 u8 addr_type); 1881 u8 addr_type, u8 type, u8 authenticated, 1884 u8 addr_type, u8 role); 1891 u8 addr_type); 816 u8 addr_type; global() member 2275 hci_bdaddr_is_rpa(bdaddr_t * bdaddr,u8 addr_type) hci_bdaddr_is_rpa() argument 2286 hci_is_identity_address(bdaddr_t * addr,u8 addr_type) hci_is_identity_address() argument 2299 hci_get_irk(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 addr_type) hci_get_irk() argument [all...] |
| /linux/net/netfilter/ |
| H A D | xt_addrtype.c | 71 int addr_type = ipv6_addr_type(addr); in match_type6() local 74 !(addr_type & IPV6_ADDR_MULTICAST)) in match_type6() 76 if ((mask & XT_ADDRTYPE_UNICAST) && !(addr_type & IPV6_ADDR_UNICAST)) in match_type6() 78 if ((mask & XT_ADDRTYPE_UNSPEC) && addr_type != IPV6_ADDR_ANY) in match_type6()
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_ppe_offload.c | 287 u16 addr_type = 0; in mtk_flow_offload_replace() local 318 addr_type = match.key->addr_type; in mtk_flow_offload_replace() 336 switch (addr_type) { in mtk_flow_offload_replace() 429 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mtk_flow_offload_replace() 440 if (addr_type == FLOW_DISSECTOR_KEY_IPV6_ADDRS) { in mtk_flow_offload_replace() 477 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mtk_flow_offload_replace()
|
| /linux/drivers/net/ipvlan/ |
| H A D | ipvlan_l3s.c | 20 int addr_type; in ipvlan_skb_to_addr() local 30 lyr3h = ipvlan_get_L3_hdr(port, skb, &addr_type); in ipvlan_skb_to_addr() 34 addr = ipvlan_addr_lookup(port, lyr3h, addr_type, true); in ipvlan_skb_to_addr()
|
| /linux/drivers/peci/ |
| H A D | request.c | 361 __ep_mmio_read(struct peci_device *device, u8 bar, u8 addr_type, u8 seg, in __ep_mmio_read() argument 377 req->tx.buf[6] = addr_type; in __ep_mmio_read() 382 if (addr_type == PECI_ENDPTCFG_ADDR_TYPE_MMIO_D) in __ep_mmio_read() 471 #define __read_ep_mmio(x, y, addr_type, type1, type2) \ argument 475 return __ep_mmio_read(device, bar, addr_type, seg, bus, dev, func, \
|
| /linux/net/ipv4/ |
| H A D | arp.c | 673 int *addr_type, __be16 ar_op, in arp_is_garp() argument 691 *addr_type = inet_addr_type_dev_table(net, dev, sip); in arp_is_garp() 692 if (*addr_type != RTN_UNICAST) in arp_is_garp() 713 int addr_type; in arp_process() local 844 addr_type = rt->rt_type; in arp_process() 846 if (addr_type == RTN_LOCAL) { in arp_process() 864 if (addr_type == RTN_UNICAST && in arp_process() 894 addr_type = -1; in arp_process() 896 is_garp = arp_is_garp(net, dev, &addr_type, arp->ar_op, in arp_process() 908 (addr_type == RTN_UNICAST || in arp_process() [all …]
|
| /linux/include/net/ |
| H A D | ieee802154_netdev.h | 26 IEEE802154_REQUIRED_SIZE(struct ieee802154_addr_sa, addr_type)) 331 switch (sa->addr_type) { in ieee802154_sockaddr_check_size() 352 a->mode = sa->addr_type; in ieee802154_addr_from_sa() 368 sa->addr_type = a->mode; in ieee802154_addr_to_sa()
|
| H A D | af_ieee802154.h | 28 int addr_type; member
|
| H A D | ndisc.h | 203 int addr_type, u32 addr_flags, 273 int addr_type, u32 addr_flags, in ndisc_ops_prefix_rcv_add_addr() argument 281 addr, addr_type, in ndisc_ops_prefix_rcv_add_addr()
|
| /linux/net/ipv6/ |
| H A D | datagram.c | 152 int addr_type; in __ip6_datagram_connect() local 182 addr_type = ipv6_addr_type(&usin->sin6_addr); in __ip6_datagram_connect() 186 if (addr_type & IPV6_ADDR_MAPPED) { in __ip6_datagram_connect() 222 if (__ipv6_addr_needs_scope_id(addr_type)) { in __ip6_datagram_connect() 232 if (!sk->sk_bound_dev_if && (addr_type & IPV6_ADDR_MULTICAST)) in __ip6_datagram_connect() 811 int addr_type; in ip6_datagram_send_ctl() local 852 addr_type = __ipv6_addr_type(&src_info->ipi6_addr); in ip6_datagram_send_ctl() 861 } else if (addr_type & IPV6_ADDR_LINKLOCAL) { in ip6_datagram_send_ctl() 866 if (addr_type != IPV6_ADDR_ANY) { in ip6_datagram_send_ctl() 867 int strict = __ipv6_addr_src_scope(addr_type) <= IPV6_ADDR_SCOPE_LINKLOCAL; in ip6_datagram_send_ctl()
|
| /linux/drivers/char/ipmi/ |
| H A D | ipmi_msghandler.c | 687 return addr->addr_type == IPMI_LAN_ADDR_TYPE; in is_lan_addr() 692 return addr->addr_type == IPMI_IPMB_ADDR_TYPE; in is_ipmb_addr() 697 return addr->addr_type == IPMI_IPMB_BROADCAST_ADDR_TYPE; in is_ipmb_bcast_addr() 702 return addr->addr_type == IPMI_IPMB_DIRECT_ADDR_TYPE; in is_ipmb_direct_addr() 843 if (addr1->addr_type != addr2->addr_type) in ipmi_addr_equal() 849 if (addr1->addr_type == IPMI_SYSTEM_INTERFACE_ADDR_TYPE) { in ipmi_addr_equal() 899 if (addr->addr_type == IPMI_SYSTEM_INTERFACE_ADDR_TYPE) { in ipmi_validate_addr() 943 unsigned int ipmi_addr_length(int addr_type) in ipmi_addr_length() argument 945 if (addr_type == IPMI_SYSTEM_INTERFACE_ADDR_TYPE) in ipmi_addr_length() 948 if ((addr_type == IPMI_IPMB_ADDR_TYPE) in ipmi_addr_length() [all …]
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_tc_flower.c | 164 u16 addr_type, in cxgb4_process_flow_match() argument 190 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in cxgb4_process_flow_match() 205 if (addr_type == FLOW_DISSECTOR_KEY_IPV6_ADDRS) { in cxgb4_process_flow_match() 847 u16 addr_type = 0; in cxgb4_flow_rule_replace() local 861 addr_type = match.key->addr_type; in cxgb4_flow_rule_replace() 873 addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in cxgb4_flow_rule_replace() 875 addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS; in cxgb4_flow_rule_replace() 878 cxgb4_process_flow_match(dev, rule, addr_type, fs); in cxgb4_flow_rule_replace()
|
| /linux/net/6lowpan/ |
| H A D | ndisc.c | 193 int addr_type, u32 addr_flags, in lowpan_ndisc_prefix_rcv_add_addr() argument 205 addr, addr_type, addr_flags, in lowpan_ndisc_prefix_rcv_add_addr()
|
| /linux/drivers/s390/cio/ |
| H A D | ioasm.c | 177 typedef struct { char _[4096]; } addr_type; in chsc() typedef 187 : CC_OUT(cc, cc), "+m" (*(addr_type *)chsc_area), [exc] "+d" (exception) in chsc()
|
| /linux/include/linux/ |
| H A D | netfilter_ipv4.h | 19 int ip_route_me_harder(struct net *net, struct sock *sk, struct sk_buff *skb, unsigned addr_type);
|