Home
last modified time | relevance | path

Searched refs:addr_type (Results 1 – 25 of 124) sorted by relevance

12345

/linux/net/core/
A Ddev_addr_lists.c52 unsigned char addr_type, bool global, bool sync) in __hw_addr_create() argument
64 ha->type = addr_type; in __hw_addr_create()
90 diff = memcmp(&addr_type, &ha->type, sizeof(addr_type)); in __hw_addr_add_ex()
133 unsigned char addr_type) in __hw_addr_add() argument
168 unsigned char addr_type) in __hw_addr_lookup() argument
178 if (diff == 0 && addr_type) in __hw_addr_lookup()
179 diff = memcmp(&addr_type, &ha->type, sizeof(addr_type)); in __hw_addr_lookup()
205 unsigned char addr_type) in __hw_addr_del() argument
599 unsigned char addr_type) in dev_addr_add() argument
627 unsigned char addr_type) in dev_addr_del() argument
[all …]
/linux/net/bluetooth/
A Dmsft.c84 __u8 addr_type; member
118 __u8 addr_type; member
219 addr_type == entry->addr_type && in msft_find_address_data()
242 addr_type == dev->addr_type))) { in msft_monitor_device_del()
246 dev->addr_type); in msft_monitor_device_del()
801 dev->addr_type = addr_type; in msft_device_found()
947 address_filter->addr_type = addr_type; in msft_add_address_filter()
979 u8 addr_type; in msft_monitor_device_evt() local
1038 switch (ev->addr_type) { in msft_monitor_device_evt()
1040 addr_type = BDADDR_LE_PUBLIC; in msft_monitor_device_evt()
[all …]
A D6lowpan.c502 u8 addr_type; in bt_xmit() local
516 err = setup_header(skb, netdev, &addr, &addr_type); in bt_xmit()
525 netdev->name, &addr, addr_type, in bt_xmit()
962 addr_type); in get_l2cap_conn()
973 hcon = hci_conn_hash_lookup_le(hdev, addr, *addr_type); in get_l2cap_conn()
1091 u8 addr_type; in lowpan_control_write() local
1100 ret = get_l2cap_conn(&buf[8], &addr, &addr_type, &conn); in lowpan_control_write()
1126 addr_type); in lowpan_control_write()
1129 ret = bt_6lowpan_connect(&addr, addr_type); in lowpan_control_write()
1137 ret = get_l2cap_conn(&buf[11], &addr, &addr_type, &conn); in lowpan_control_write()
[all …]
A Dhci_core.c1164 u8 addr_type, u8 role) in hci_find_ltk() argument
1227 u8 addr_type) in hci_find_irk_by_addr() argument
1238 if (addr_type == irk->addr_type && in hci_find_irk_by_addr()
1324 key->bdaddr_type = addr_type; in hci_add_ltk()
1347 irk->addr_type = addr_type; in hci_add_irk()
1398 if (bacmp(bdaddr, &k->bdaddr) || k->addr_type != addr_type) in hci_remove_irk()
1412 u8 addr_type; in hci_bdaddr_is_paired() local
1429 addr_type = irk->addr_type; in hci_bdaddr_is_paired()
2213 params->addr_type == addr_type) { in hci_conn_params_lookup()
2231 param->addr_type == addr_type) { in hci_pend_le_action_lookup()
[all …]
/linux/net/ipv4/
A Dnetfilter.c21 …t ip_route_me_harder(struct net *net, struct sock *sk, struct sk_buff *skb, unsigned int addr_type) in ip_route_me_harder() argument
35 if (addr_type == RTN_UNSPEC) in ip_route_me_harder()
36 addr_type = inet_addr_type_dev_table(net, dev, saddr); in ip_route_me_harder()
37 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
A Darp.c670 int *addr_type, __be16 ar_op, in arp_is_garp() argument
688 *addr_type = inet_addr_type_dev_table(net, dev, sip); in arp_is_garp()
689 if (*addr_type != RTN_UNICAST) in arp_is_garp()
710 int addr_type; in arp_process() local
841 addr_type = rt->rt_type; in arp_process()
843 if (addr_type == RTN_LOCAL) { in arp_process()
861 if (addr_type == RTN_UNICAST && in arp_process()
891 addr_type = -1; in arp_process()
893 is_garp = arp_is_garp(net, dev, &addr_type, arp->ar_op, in arp_process()
905 (addr_type == RTN_UNICAST || in arp_process()
[all …]
/linux/include/uapi/linux/
A Dipmi.h54 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/drivers/hwtracing/coresight/
A Dcoresight-etm3x-sysfs.c84 config->addr_type[i] = ETM_ADDR_TYPE_NONE; in reset_store()
320 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_single_show()
348 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_single_store()
355 config->addr_type[idx] = ETM_ADDR_TYPE_SINGLE; in addr_single_store()
421 config->addr_type[idx] = ETM_ADDR_TYPE_RANGE; in addr_range_store()
423 config->addr_type[idx + 1] = ETM_ADDR_TYPE_RANGE; in addr_range_store()
441 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_start_show()
469 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_start_store()
476 config->addr_type[idx] = ETM_ADDR_TYPE_START; in addr_start_store()
495 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_stop_show()
[all …]
A Dcoresight-etm4x-sysfs.c34 if (config->addr_type[idx] != ETM_ADDR_TYPE_RANGE || in etm4_set_mode_exclude()
253 config->addr_type[i] = ETM_ADDR_TYPE_NONE; in reset_store()
1014 config->addr_type[idx] = ETM_ADDR_TYPE_RANGE; in addr_range_store()
1079 config->addr_type[idx] = ETM_ADDR_TYPE_START; in addr_start_store()
1134 config->addr_type[idx] = ETM_ADDR_TYPE_STOP; in addr_stop_store()
1303 u8 idx, addr_type; in addr_cmp_view_show() local
1314 addr_type = config->addr_type[idx]; in addr_cmp_view_show()
1315 if (addr_type == ETM_ADDR_TYPE_RANGE) { in addr_cmp_view_show()
1326 if (addr_type) { in addr_cmp_view_show()
1328 addr_type_names[addr_type], addr_v); in addr_cmp_view_show()
[all …]
/linux/drivers/net/ipvlan/
A Dipvlan_core.c356 int addr_type, bool use_dest) in ipvlan_addr_lookup() argument
360 switch (addr_type) { in ipvlan_addr_lookup()
585 int addr_type; in ipvlan_xmit_mode_l3() local
587 lyr3h = ipvlan_get_L3_hdr(ipvlan->port, skb, &addr_type); in ipvlan_xmit_mode_l3()
613 int addr_type; in ipvlan_xmit_mode_l2() local
617 lyr3h = ipvlan_get_L3_hdr(ipvlan->port, skb, &addr_type); in ipvlan_xmit_mode_l2()
685 int addr_type; in ipvlan_external_frame() local
688 lyr3h = ipvlan_get_L3_hdr(port, skb, &addr_type); in ipvlan_external_frame()
704 int addr_type; in ipvlan_handle_mode_l3() local
709 lyr3h = ipvlan_get_L3_hdr(port, skb, &addr_type); in ipvlan_handle_mode_l3()
[all …]
A Dipvlan_l3s.c18 int addr_type; in ipvlan_skb_to_addr() local
28 lyr3h = ipvlan_get_L3_hdr(port, skb, &addr_type); in ipvlan_skb_to_addr()
32 addr = ipvlan_addr_lookup(port, lyr3h, addr_type, true); in ipvlan_skb_to_addr()
/linux/net/ipv6/netfilter/
A Dip6t_rpfilter.c22 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/
A Dbind.c192 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/char/ipmi/
A Dipmi_poweroff.c188 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in pps_poweroff_atca()
217 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_atca_detect()
252 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_poweroff_atca()
327 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_poweroff_cpi1()
366 ipmb_addr.addr_type = IPMI_IPMB_ADDR_TYPE; in ipmi_poweroff_cpi1()
474 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_poweroff_chassis()
578 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_po_new_smi()
A Dipmi_msghandler.c663 return addr->addr_type == IPMI_LAN_ADDR_TYPE; in is_lan_addr()
803 if (addr1->addr_type != addr2->addr_type) in ipmi_addr_equal()
903 unsigned int ipmi_addr_length(int addr_type) in ipmi_addr_length() argument
908 if ((addr_type == IPMI_IPMB_ADDR_TYPE) in ipmi_addr_length()
912 if (addr_type == IPMI_IPMB_DIRECT_ADDR_TYPE) in ipmi_addr_length()
915 if (addr_type == IPMI_LAN_ADDR_TYPE) in ipmi_addr_length()
2012 addr->addr_type = IPMI_IPMB_ADDR_TYPE; in i_ipmi_req_ipmb()
3832 ipmb_addr.addr_type = IPMI_IPMB_ADDR_TYPE; in handle_ipmb_get_msg_rsp()
4129 lan_addr.addr_type = IPMI_LAN_ADDR_TYPE; in handle_lan_get_msg_rsp()
4231 lan_addr->addr_type = IPMI_LAN_ADDR_TYPE; in handle_lan_get_msg_cmd()
[all …]
/linux/include/net/bluetooth/
A Dhci_core.h211 u8 addr_type; member
281 __u8 addr_type; member
777 u8 addr_type; member
1707 u8 addr_type);
1720 u8 addr_type, u8 role);
1727 u8 addr_type);
2071 if (addr_type != ADDR_LE_DEV_RANDOM) in hci_bdaddr_is_rpa()
2082 if (addr_type == ADDR_LE_DEV_PUBLIC) in hci_is_identity_address()
2093 bdaddr_t *bdaddr, u8 addr_type) in hci_get_irk() argument
2275 u8 link_type, u8 addr_type);
[all …]
/linux/net/netfilter/
A Dxt_addrtype.c71 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/net/l2tp/
A Dl2tp_ip6.c292 int addr_type; in l2tp_ip6_bind() local
302 addr_type = ipv6_addr_type(&addr->l2tp_addr); in l2tp_ip6_bind()
305 if (addr_type == IPV6_ADDR_MAPPED) in l2tp_ip6_bind()
309 if (addr_type & IPV6_ADDR_MULTICAST) in l2tp_ip6_bind()
325 if (addr_type != IPV6_ADDR_ANY) { in l2tp_ip6_bind()
328 if (addr_type & IPV6_ADDR_LINKLOCAL) { in l2tp_ip6_bind()
392 int addr_type; in l2tp_ip6_connect() local
402 addr_type = ipv6_addr_type(&usin->sin6_addr); in l2tp_ip6_connect()
403 if (addr_type & IPV6_ADDR_MULTICAST) in l2tp_ip6_connect()
406 if (addr_type & IPV6_ADDR_MAPPED) { in l2tp_ip6_connect()
/linux/drivers/net/ethernet/mediatek/
A Dmtk_ppe_offload.c255 u16 addr_type = 0; in mtk_flow_offload_replace() local
286 addr_type = match.key->addr_type; in mtk_flow_offload_replace()
304 switch (addr_type) { in mtk_flow_offload_replace()
396 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mtk_flow_offload_replace()
407 if (addr_type == FLOW_DISSECTOR_KEY_IPV6_ADDRS) { in mtk_flow_offload_replace()
444 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mtk_flow_offload_replace()
/linux/include/net/
A Dinet_sock.h433 int addr_type) in inet_addr_valid_or_nonlocal() argument
437 addr_type == RTN_LOCAL || in inet_addr_valid_or_nonlocal()
438 addr_type == RTN_MULTICAST || in inet_addr_valid_or_nonlocal()
439 addr_type == RTN_BROADCAST; in inet_addr_valid_or_nonlocal()
A Dieee802154_netdev.h26 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()
/linux/net/ipv6/
A Dping.c67 int addr_type; in ping_v6_sendmsg() local
114 addr_type = ipv6_addr_type(daddr); in ping_v6_sendmsg()
115 if ((__ipv6_addr_needs_scope_id(addr_type) && !oif) || in ping_v6_sendmsg()
116 (addr_type & IPV6_ADDR_MAPPED) || in ping_v6_sendmsg()
A Daf_inet6.c292 int addr_type = 0; in __inet6_bind() local
298 addr_type = ipv6_addr_type(&addr->sin6_addr); in __inet6_bind()
299 if ((addr_type & IPV6_ADDR_MULTICAST) && sk->sk_type == SOCK_STREAM) in __inet6_bind()
318 if (addr_type == IPV6_ADDR_MAPPED) { in __inet6_bind()
350 if (addr_type != IPV6_ADDR_ANY) { in __inet6_bind()
354 if (__ipv6_addr_needs_scope_id(addr_type)) { in __inet6_bind()
382 if (!(addr_type & IPV6_ADDR_MULTICAST)) { in __inet6_bind()
399 if (!(addr_type & IPV6_ADDR_MULTICAST)) in __inet6_bind()
403 if (addr_type != IPV6_ADDR_ANY && addr_type != IPV6_ADDR_MAPPED) in __inet6_bind()
427 if (addr_type != IPV6_ADDR_ANY) in __inet6_bind()
A Ddatagram.c151 int addr_type; in __ip6_datagram_connect() local
181 addr_type = ipv6_addr_type(&usin->sin6_addr); in __ip6_datagram_connect()
185 if (addr_type & IPV6_ADDR_MAPPED) { in __ip6_datagram_connect()
221 if (__ipv6_addr_needs_scope_id(addr_type)) { in __ip6_datagram_connect()
231 if (!sk->sk_bound_dev_if && (addr_type & IPV6_ADDR_MULTICAST)) in __ip6_datagram_connect()
772 int addr_type; in ip6_datagram_send_ctl() local
813 addr_type = __ipv6_addr_type(&src_info->ipi6_addr); in ip6_datagram_send_ctl()
822 } else if (addr_type & IPV6_ADDR_LINKLOCAL) { in ip6_datagram_send_ctl()
827 if (addr_type != IPV6_ADDR_ANY) { in ip6_datagram_send_ctl()
828 int strict = __ipv6_addr_src_scope(addr_type) <= IPV6_ADDR_SCOPE_LINKLOCAL; in ip6_datagram_send_ctl()
/linux/drivers/peci/
A Drequest.c361 __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, \

Completed in 90 milliseconds

12345