Home
last modified time | relevance | path

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

12345

/linux/net/core/
H 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()
75 unsigned char addr_type, bool global, bool sync, in __hw_addr_add_ex() argument
90 diff = memcmp(&addr_type, &ha->type, sizeof(addr_type)); in __hw_addr_add_ex()
118 ha = __hw_addr_create(addr, addr_len, addr_type, global, sync); in __hw_addr_add_ex()
133 unsigned char addr_type) in __hw_addr_add() argument
135 return __hw_addr_add_ex(list, addr, addr_len, addr_type, false, false, in __hw_addr_add()
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()
[all …]
H A Dflow_dissector.c315 ctrl->addr_type = type; in skb_flow_dissect_set_enc_control()
965 key_control->addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in __skb_flow_bpf_to_target()
976 key_control->addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS; in __skb_flow_bpf_to_target()
1223 key_control->addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in __skb_flow_dissect()
1270 key_control->addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS; in __skb_flow_dissect()
1436 key_control->addr_type = FLOW_DISSECTOR_KEY_TIPC; in __skb_flow_dissect()
1720 switch (flow->control.addr_type) { in flow_keys_hash_length()
1736 switch (flow->control.addr_type) { in flow_get_u32_src()
1752 switch (flow->control.addr_type) { in flow_get_u32_dst()
1771 switch (keys->control.addr_type) { in __flow_hash_consistentify()
[all …]
/linux/net/bluetooth/
H A Dmsft.c84 __u8 addr_type; member
118 __u8 addr_type; member
211 (struct hci_dev *hdev, u8 addr_type, bdaddr_t *addr, in msft_find_address_data() argument
219 addr_type == entry->addr_type && in msft_find_address_data()
229 bdaddr_t *bdaddr, __u8 addr_type, in msft_monitor_device_del() argument
242 addr_type == dev->addr_type))) { in msft_monitor_device_del()
246 dev->addr_type); in msft_monitor_device_del()
789 __u8 addr_type, __u16 mgmt_handle) in msft_device_found() argument
801 dev->addr_type = addr_type; in msft_device_found()
812 __u8 addr_type, __u16 mgmt_handle) in msft_device_lost() argument
[all …]
H A D6lowpan.c511 u8 addr_type; in bt_xmit() local
525 err = setup_header(skb, netdev, &addr, &addr_type); in bt_xmit()
534 netdev->name, &addr, addr_type, in bt_xmit()
968 static int get_l2cap_conn(char *buf, bdaddr_t *addr, u8 *addr_type, in get_l2cap_conn() argument
979 addr_type); in get_l2cap_conn()
989 *addr_type += 1; in get_l2cap_conn()
992 switch (*addr_type) { in get_l2cap_conn()
1140 u8 addr_type; in lowpan_control_write() local
1149 ret = get_l2cap_conn(&buf[8], &addr, &addr_type, &conn, false); in lowpan_control_write()
1177 addr_type); in lowpan_control_write()
[all …]
H A Dhci_core.c1183 u8 addr_type, u8 role) in hci_find_ltk() argument
1189 if (addr_type != k->bdaddr_type || bacmp(bdaddr, &k->bdaddr)) in hci_find_ltk()
1246 u8 addr_type) in hci_find_irk_by_addr() argument
1252 if (addr_type == ADDR_LE_DEV_RANDOM && (bdaddr->b[5] & 0xc0) != 0xc0) in hci_find_irk_by_addr()
1257 if (addr_type == irk->addr_type && in hci_find_irk_by_addr()
1324 u8 addr_type, u8 type, u8 authenticated, in hci_add_ltk() argument
1330 old_key = hci_find_ltk(hdev, bdaddr, addr_type, role); in hci_add_ltk()
1341 key->bdaddr_type = addr_type; in hci_add_ltk()
1353 u8 addr_type, u8 val[16], bdaddr_t *rpa) in hci_add_irk() argument
1357 irk = hci_find_irk_by_addr(hdev, bdaddr, addr_type); in hci_add_irk()
[all …]
H A Dsmp.h95 __u8 addr_type; member
186 u8 addr_type);
H A Dmgmt.c3068 u8 addr_type, struct sock *skip_sk) in device_unpaired()
3073 ev.addr.type = addr_type; in unpair_device_complete()
3123 u8 addr_type; in unpair_device()
3176 addr_type = le_addr_type(cp->addr.type); in unpair_device()
3179 err = smp_cancel_and_remove_pairing(hdev, &cp->addr.bdaddr, addr_type); in unpair_device()
3187 conn = hci_conn_hash_lookup_le(hdev, &cp->addr.bdaddr, addr_type); in unpair_device()
3189 hci_conn_params_del(hdev, &cp->addr.bdaddr, addr_type); in unpair_device()
3200 params = hci_conn_params_lookup(hdev, &cp->addr.bdaddr, addr_type); in unpair_device()
3322 static u8 link_to_bdaddr(u8 link_type, u8 addr_type) in link_to_bdaddr()
3329 switch (addr_type) { in link_to_bdaddr()
3060 device_unpaired(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 addr_type,struct sock * skip_sk) device_unpaired() argument
3115 u8 addr_type; unpair_device() local
3314 link_to_bdaddr(u8 link_type,u8 addr_type) link_to_bdaddr() argument
3640 u8 addr_type = le_addr_type(cp->addr.type); pair_device() local
5149 hci_conn_params_set(struct hci_dev * hdev,bdaddr_t * addr,u8 addr_type,u8 auto_connect) hci_conn_params_set() argument
7678 u8 auto_conn, addr_type; add_device() local
7813 u8 addr_type; remove_device() local
7978 u8 addr_type; load_conn_param() local
9832 mgmt_device_disconnected(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 reason,bool mgmt_connected) mgmt_device_disconnected() argument
9861 mgmt_disconnect_failed(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_disconnect_failed() argument
9941 mgmt_user_confirm_request(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u32 value,u8 confirm_hint) mgmt_user_confirm_request() argument
9958 mgmt_user_passkey_request(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type) mgmt_user_passkey_request() argument
9972 user_pairing_resp_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status,u8 opcode) user_pairing_resp_complete() argument
9988 mgmt_user_confirm_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_user_confirm_reply_complete() argument
9995 mgmt_user_confirm_neg_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_user_confirm_neg_reply_complete() argument
10003 mgmt_user_passkey_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_user_passkey_reply_complete() argument
10010 mgmt_user_passkey_neg_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_user_passkey_neg_reply_complete() argument
10018 mgmt_user_passkey_notify(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u32 passkey,u8 entered) mgmt_user_passkey_notify() argument
10255 mgmt_adv_monitor_device_lost(struct hci_dev * hdev,u16 handle,bdaddr_t * bdaddr,u8 addr_type) mgmt_adv_monitor_device_lost() argument
10362 mesh_device_found(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 addr_type,s8 rssi,u32 flags,u8 * eir,u16 eir_len,u8 * scan_rsp,u8 scan_rsp_len,u64 instant) mesh_device_found() argument
10428 mgmt_device_found(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 * dev_class,s8 rssi,u32 flags,u8 * eir,u16 eir_len,u8 * scan_rsp,u8 scan_rsp_len,u64 instant) mgmt_device_found() argument
10520 mgmt_remote_name(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,s8 rssi,u8 * name,u8 name_len) mgmt_remote_name() argument
10570 mgmt_resuming(struct hci_dev * hdev,u8 reason,bdaddr_t * bdaddr,u8 addr_type) mgmt_resuming() argument
[all...]
/linux/include/uapi/linux/
H 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/
H 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()
321 config->addr_type[idx] == ETM_ADDR_TYPE_SINGLE)) { in addr_single_show()
348 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_single_store()
349 config->addr_type[idx] == ETM_ADDR_TYPE_SINGLE)) { in addr_single_store()
355 config->addr_type[idx] = ETM_ADDR_TYPE_SINGLE; in addr_single_store()
376 if (!((config->addr_type[idx] == ETM_ADDR_TYPE_NONE && in addr_range_show()
377 config->addr_type[idx + 1] == ETM_ADDR_TYPE_NONE) || in addr_range_show()
378 (config->addr_type[idx] == ETM_ADDR_TYPE_RANGE && in addr_range_show()
379 config->addr_type[idx + 1] == ETM_ADDR_TYPE_RANGE))) { in addr_range_show()
[all …]
/linux/drivers/net/ipvlan/
H A Dipvlan_core.c367 int addr_type, bool use_dest) in ipvlan_addr_lookup() argument
375 switch (addr_type) { in ipvlan_addr_lookup()
608 int addr_type; in ipvlan_xmit_mode_l3() local
610 lyr3h = ipvlan_get_L3_hdr(ipvlan->port, skb, &addr_type); in ipvlan_xmit_mode_l3()
615 addr = ipvlan_addr_lookup(ipvlan->port, lyr3h, addr_type, true); in ipvlan_xmit_mode_l3()
636 int addr_type; in ipvlan_xmit_mode_l2() local
640 lyr3h = ipvlan_get_L3_hdr(ipvlan->port, skb, &addr_type); in ipvlan_xmit_mode_l2()
642 addr = ipvlan_addr_lookup(ipvlan->port, lyr3h, addr_type, true); in ipvlan_xmit_mode_l2()
708 int addr_type; in ipvlan_external_frame() local
711 lyr3h = ipvlan_get_L3_hdr(port, skb, &addr_type); in ipvlan_external_frame()
[all …]
H A Dipvlan_l3s.c20 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/net/ipv6/netfilter/
H 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/
H 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/net/l2tp/
H A Dl2tp_ip6.c293 int addr_type; in l2tp_ip6_bind()
303 addr_type = ipv6_addr_type(&addr->l2tp_addr); in l2tp_ip6_bind()
306 if (addr_type == IPV6_ADDR_MAPPED) in l2tp_ip6_bind()
310 if (addr_type & IPV6_ADDR_MULTICAST) in l2tp_ip6_bind()
326 if (addr_type != IPV6_ADDR_ANY) { in l2tp_ip6_bind()
329 if (addr_type & IPV6_ADDR_LINKLOCAL) { in l2tp_ip6_bind()
393 int addr_type; in l2tp_ip6_connect()
403 addr_type = ipv6_addr_type(&usin->sin6_addr); in l2tp_ip6_connect()
404 if (addr_type & IPV6_ADDR_MULTICAST) in l2tp_ip6_connect()
407 if (addr_type in l2tp_ip6_connect()
292 int addr_type; l2tp_ip6_bind() local
392 int addr_type; l2tp_ip6_connect() local
[all...]
/linux/include/net/bluetooth/
H A Dhci_core.h219 u8 addr_type; member
297 __u8 addr_type; member
809 u8 addr_type;
1835 bdaddr_t *addr, u8 addr_type);
1837 bdaddr_t *addr, u8 addr_type);
1838 void hci_conn_params_del(struct hci_dev *hdev, bdaddr_t *addr, u8 addr_type);
1847 u8 addr_type);
1858 u8 addr_type, u8 type, u8 authenticated,
1861 u8 addr_type, u8 role);
1868 u8 addr_type);
807 u8 addr_type; global() member
2240 hci_bdaddr_is_rpa(bdaddr_t * bdaddr,u8 addr_type) hci_bdaddr_is_rpa() argument
2251 hci_is_identity_address(bdaddr_t * addr,u8 addr_type) hci_is_identity_address() argument
2264 hci_get_irk(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 addr_type) hci_get_irk() argument
[all...]
/linux/net/netfilter/
H 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/ipv6/
H A Daf_inet6.c282 int addr_type = 0; in __inet6_bind() local
288 addr_type = ipv6_addr_type(&addr->sin6_addr); in __inet6_bind()
289 if ((addr_type & IPV6_ADDR_MULTICAST) && sk->sk_type == SOCK_STREAM) in __inet6_bind()
308 if (addr_type == IPV6_ADDR_MAPPED) { in __inet6_bind()
340 if (addr_type != IPV6_ADDR_ANY) { in __inet6_bind()
344 if (__ipv6_addr_needs_scope_id(addr_type)) { in __inet6_bind()
372 if (!(addr_type & IPV6_ADDR_MULTICAST)) { in __inet6_bind()
389 if (!(addr_type & IPV6_ADDR_MULTICAST)) in __inet6_bind()
393 if (addr_type != IPV6_ADDR_ANY && addr_type != IPV6_ADDR_MAPPED) in __inet6_bind()
417 if (addr_type != IPV6_ADDR_ANY) in __inet6_bind()
/linux/net/ipv4/
H A Darp.c674 int *addr_type, __be16 ar_op, in arp_is_garp() argument
692 *addr_type = inet_addr_type_dev_table(net, dev, sip); in arp_is_garp()
693 if (*addr_type != RTN_UNICAST) in arp_is_garp()
714 int addr_type; in arp_process() local
845 addr_type = rt->rt_type; in arp_process()
847 if (addr_type == RTN_LOCAL) { in arp_process()
865 if (addr_type == RTN_UNICAST && in arp_process()
895 addr_type = -1; in arp_process()
897 is_garp = arp_is_garp(net, dev, &addr_type, arp->ar_op, in arp_process()
909 (addr_type == RTN_UNICAST || in arp_process()
[all …]
/linux/drivers/peci/
H 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, \
/linux/include/net/
H 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()
H A Dndisc.h205 int addr_type, u32 addr_flags,
275 int addr_type, u32 addr_flags, in ndisc_ops_prefix_rcv_add_addr() argument
283 addr, addr_type, in ndisc_ops_prefix_rcv_add_addr()
/linux/drivers/char/ipmi/
H A Dipmi_msghandler.c687 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 Dcxgb4_tc_flower.c164 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 Dndisc.c193 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/ras/amd/
H A Dfmpm.c99 u32 addr_type; member
274 if (old->addr_type != new->addr_type) in fpds_equal()
360 fpd.addr_type = FPD_ADDR_TYPE_MCA_ADDR; in update_fru_record()
448 if (fpd->addr_type != FPD_ADDR_TYPE_MCA_ADDR) in retire_mem_fmp()

12345