Searched refs:addr_type (Results 1 - 25 of 124) sorted by last modified time

12345

/linux-master/net/bluetooth/
H A Dmsft.c85 __u8 addr_type; member in struct:msft_ev_le_monitor_device
119 __u8 addr_type; member in struct:msft_monitor_addr_filter_data
212 (struct hci_dev *hdev, u8 addr_type, bdaddr_t *addr,
220 addr_type == entry->addr_type &&
230 bdaddr_t *bdaddr, __u8 addr_type,
243 addr_type == dev->addr_type))) {
247 dev->addr_type);
790 __u8 addr_type, __u1
211 msft_find_address_data(struct hci_dev *hdev, u8 addr_type, bdaddr_t *addr, u8 pattern_handle) argument
229 msft_monitor_device_del(struct hci_dev *hdev, __u16 mgmt_handle, bdaddr_t *bdaddr, __u8 addr_type, bool notify) argument
789 msft_device_found(struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 addr_type, __u16 mgmt_handle) argument
812 msft_device_lost(struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 addr_type, __u16 mgmt_handle) argument
928 msft_add_address_filter(struct hci_dev *hdev, u8 addr_type, bdaddr_t *bdaddr, struct msft_monitor_advertisement_handle_data *handle_data) argument
980 u8 addr_type; local
[all...]
H A Dhci_event.c5753 u8 addr_type; local
5827 conn->dst_type = irk->addr_type;
5846 addr_type = BDADDR_LE_PUBLIC;
5848 addr_type = BDADDR_LE_RANDOM;
5851 if (hci_bdaddr_list_lookup(&hdev->reject_list, &conn->dst, addr_type)) {
6039 u8 addr_type, bool addr_resolved,
6050 if (hci_bdaddr_list_lookup(&hdev->reject_list, addr, addr_type) ||
6066 addr_type);
6093 conn = hci_connect_le(hdev, addr, addr_type, addr_resolved,
6209 bdaddr_type = irk->addr_type;
6037 check_pending_le_conn(struct hci_dev *hdev, bdaddr_t *addr, u8 addr_type, bool addr_resolved, u8 adv_type, u8 phy, u8 sec_phy) argument
[all...]
H A Dhci_core.c1239 u8 addr_type, u8 role)
1245 if (addr_type != k->bdaddr_type || bacmp(bdaddr, &k->bdaddr))
1302 u8 addr_type)
1308 if (addr_type == ADDR_LE_DEV_RANDOM && (bdaddr->b[5] & 0xc0) != 0xc0)
1313 if (addr_type == irk->addr_type &&
1382 u8 addr_type, u8 type, u8 authenticated,
1388 old_key = hci_find_ltk(hdev, bdaddr, addr_type, role);
1399 key->bdaddr_type = addr_type;
1411 u8 addr_type, u
1238 hci_find_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type, u8 role) argument
1301 hci_find_irk_by_addr(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type) argument
1381 hci_add_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type, u8 type, u8 authenticated, u8 tk[16], u8 enc_size, __le16 ediv, __le64 rand) argument
1410 hci_add_irk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type, u8 val[16], bdaddr_t *rpa) argument
1468 hci_remove_irk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type) argument
1487 u8 addr_type; local
2272 hci_conn_params_lookup(struct hci_dev *hdev, bdaddr_t *addr, u8 addr_type) argument
2288 hci_pend_le_action_lookup(struct list_head *list, bdaddr_t *addr, u8 addr_type) argument
2327 hci_conn_params_add(struct hci_dev *hdev, bdaddr_t *addr, u8 addr_type) argument
2373 hci_conn_params_del(struct hci_dev *hdev, bdaddr_t *addr, u8 addr_type) argument
[all...]
H A Dmgmt.c2849 /* Considering SMP over BREDR/LE, there is no need to check addr_type */
2898 u8 addr_type, struct sock *skip_sk)
2903 ev.addr.type = addr_type;
2948 u8 addr_type; local
3001 addr_type = le_addr_type(cp->addr.type);
3004 err = smp_cancel_and_remove_pairing(hdev, &cp->addr.bdaddr, addr_type);
3012 conn = hci_conn_hash_lookup_le(hdev, &cp->addr.bdaddr, addr_type);
3014 hci_conn_params_del(hdev, &cp->addr.bdaddr, addr_type);
3025 params = hci_conn_params_lookup(hdev, &cp->addr.bdaddr, addr_type);
3135 static u8 link_to_bdaddr(u8 link_type, u8 addr_type) argument
2897 device_unpaired(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type, struct sock *skip_sk) argument
3459 u8 addr_type = le_addr_type(cp->addr.type); local
7084 u8 addr_type = le_addr_type(irk->addr.type); local
7180 u8 addr_type = le_addr_type(key->addr.type); local
7525 hci_conn_params_set(struct hci_dev *hdev, bdaddr_t *addr, u8 addr_type, u8 auto_connect) argument
7590 u8 auto_conn, addr_type; local
7716 u8 addr_type; local
7867 u8 addr_type; local
9715 mgmt_device_disconnected(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 reason, bool mgmt_connected) argument
9747 mgmt_disconnect_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 status) argument
9773 mgmt_connect_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 status) argument
9822 mgmt_user_confirm_request(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u32 value, u8 confirm_hint) argument
9839 mgmt_user_passkey_request(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type) argument
9853 user_pairing_resp_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 status, u8 opcode) argument
9869 mgmt_user_confirm_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 status) argument
9876 mgmt_user_confirm_neg_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 status) argument
9884 mgmt_user_passkey_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 status) argument
9891 mgmt_user_passkey_neg_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 status) argument
9899 mgmt_user_passkey_notify(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u32 passkey, u8 entered) argument
10133 mgmt_adv_monitor_device_lost(struct hci_dev *hdev, u16 handle, bdaddr_t *bdaddr, u8 addr_type) argument
10240 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) argument
10306 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) argument
10398 mgmt_remote_name(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, s8 rssi, u8 *name, u8 name_len) argument
10446 mgmt_resuming(struct hci_dev *hdev, u8 reason, bdaddr_t *bdaddr, u8 addr_type) argument
[all...]
H A Dhci_sync.c2218 u8 addr_type; member in struct:conn_params
2249 irk = hci_find_irk_by_addr(hdev, &params->addr, params->addr_type);
2256 params->addr_type);
2260 cp.bdaddr_type = params->addr_type;
2269 &params->addr, params->addr_type);
2272 &params->addr, params->addr_type);
2305 irk = hci_find_irk_by_addr(hdev, &params->addr, params->addr_type);
2310 cp.bdaddr_type = irk->addr_type;
2335 params->addr_type);
2345 hci_find_irk_by_addr(hdev, &params->addr, params->addr_type))
[all...]
H A Dhci_conn.c86 bdaddr_type = irk->addr_type;
1357 bdaddr_t *addr, u8 addr_type)
1361 if (is_connected(hdev, addr, addr_type))
1364 params = hci_conn_params_lookup(hdev, addr, addr_type);
1366 params = hci_conn_params_add(hdev, addr, addr_type);
1387 BT_DBG("addr %pMR (type %u) auto_connect %u", addr, addr_type,
2091 cp->addr_type = dst_type;
1356 hci_explicit_conn_params_set(struct hci_dev *hdev, bdaddr_t *addr, u8 addr_type) argument
H A Dhci_request.c400 params->addr_type))
410 hci_find_irk_by_addr(hdev, &params->addr, params->addr_type)) {
420 cp.bdaddr_type = params->addr_type;
431 params->addr_type);
435 cp.bdaddr_type = params->addr_type;
H A Dhci_debugfs.c133 seq_printf(f, "%pMR (type %u) %u\n", &p->addr, p->addr_type,
675 u8 addr_type; local
679 hci_copy_identity_address(hdev, &addr, &addr_type);
681 seq_printf(f, "%pMR (type %u) %*phN %pMR\n", &addr, addr_type,
829 &irk->bdaddr, irk->addr_type,
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c7189 u16 addr_type = 0; local
7195 addr_type = match.key->addr_type;
7198 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) {
7208 } else if (addr_type == FLOW_DISSECTOR_KEY_IPV6_ADDRS) {
/linux-master/net/ipv4/
H A Droute.c1934 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS;
1973 if (keys.control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) {
1974 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS;
1979 } else if (keys.control.addr_type == FLOW_DISSECTOR_KEY_IPV6_ADDRS) {
1980 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS;
2021 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS;
2047 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS;
2073 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS;
2081 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS;
2098 if (keys.control.addr_type
[all...]
H A Dfib_frontend.c569 unsigned int addr_type; local
573 addr_type = inet_addr_type_table(net, addr, cfg->fc_table);
575 addr_type == RTN_UNICAST)
1320 unsigned int addr_type; local
1325 addr_type = inet_addr_type_dev_table(dev_net(dev), dev,
1327 if (gone && addr_type != RTN_LOCAL) {
H A Dinet_connection_sock.c41 int addr_type = ipv6_addr_type(sk1_rcv_saddr6); local
45 if (addr_type == IPV6_ADDR_MAPPED && addr_type2 == IPV6_ADDR_MAPPED) {
55 if (addr_type == IPV6_ADDR_ANY && addr_type2 == IPV6_ADDR_ANY)
59 !(sk2_ipv6only && addr_type == IPV6_ADDR_MAPPED))
62 if (addr_type == IPV6_ADDR_ANY && match_sk1_wildcard &&
160 int addr_type = ipv6_addr_type(&sk->sk_v6_rcv_saddr); local
162 if (addr_type == IPV6_ADDR_ANY)
165 if (addr_type != IPV6_ADDR_MAPPED)
H A Dinet_hashtables.c114 tb2->addr_type = ipv6_addr_type(&sk->sk_v6_rcv_saddr);
117 tb2->addr_type = IPV6_ADDR_MAPPED;
159 if (tb2->addr_type != IPV6_ADDR_MAPPED)
833 if (tb->addr_type == IPV6_ADDR_ANY)
836 if (tb->addr_type != IPV6_ADDR_MAPPED)
/linux-master/include/net/bluetooth/
H A Dhci_core.h216 u8 addr_type; member in struct:smp_irk
288 __u8 addr_type; member in struct:monitored_device
815 u8 addr_type; member in struct:hci_conn_params
1748 bdaddr_t *addr, u8 addr_type);
1750 bdaddr_t *addr, u8 addr_type);
1751 void hci_conn_params_del(struct hci_dev *hdev, bdaddr_t *addr, u8 addr_type);
1760 u8 addr_type);
1770 u8 addr_type, u8 type, u8 authenticated,
1773 u8 addr_type, u8 role);
1780 u8 addr_type);
2122 hci_bdaddr_is_rpa(bdaddr_t *bdaddr, u8 addr_type) argument
2133 hci_is_identity_address(bdaddr_t *addr, u8 addr_type) argument
2145 hci_get_irk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type) argument
[all...]
H A Dhci.h1969 __u8 addr_type; member in struct:hci_cp_le_pa_create_sync
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c3667 u16 addr_type = 0; local
3787 addr_type = match.key->addr_type;
3790 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) {
3828 if (addr_type == FLOW_DISSECTOR_KEY_IPV6_ADDRS) {
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c8551 u16 n_proto_mask = 0, n_proto_key = 0, addr_type = 0; local
8645 addr_type = match.key->addr_type;
8648 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) {
8680 if (addr_type == FLOW_DISSECTOR_KEY_IPV6_ADDRS) {
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.c1375 if (enc_control.key->addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) {
1381 } else if (enc_control.key->addr_type ==
1443 u16 n_proto_mask = 0, n_proto_key = 0, addr_type = 0; local
1640 addr_type = match.key->addr_type;
1643 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) {
1651 if (addr_type == FLOW_DISSECTOR_KEY_IPV6_ADDRS) {
H A Dice_common.c343 if (resp[i].addr_type == ICE_AQC_MAN_MAC_ADDR_TYPE_LAN) {
H A Dice_adminq_cmd.h161 u8 addr_type; member in struct:ice_aqc_manage_mac_read_resp
/linux-master/net/ipv6/
H A Daddrconf.c1065 int addr_type = ipv6_addr_type(cfg->pfx); local
1071 if (addr_type == IPV6_ADDR_ANY) {
1074 } else if (addr_type & IPV6_ADDR_MULTICAST &&
1080 addr_type & IPV6_ADDR_LOOPBACK) {
1521 int addr_type; member in struct:ipv6_saddr_score
1630 ret = __ipv6_addr_src_scope(score->addr_type);
1644 ret = ipv6_saddr_preferred(score->addr_type) ||
1665 &score->ifa->addr, score->addr_type,
1737 score->addr_type = __ipv6_addr_type(&score->ifa->addr);
1739 if (unlikely(score->addr_type
2650 addrconf_prefix_rcv_add_addr(struct net *net, struct net_device *dev, const struct prefix_info *pinfo, struct inet6_dev *in6_dev, const struct in6_addr *addr, int addr_type, u32 addr_flags, bool sllao, bool tokenized, __u32 valid_lft, u32 prefered_lft) argument
2759 int addr_type, err; local
[all...]
H A Draw.c223 int addr_type; local
232 addr_type = ipv6_addr_type(&addr->sin6_addr);
235 if (addr_type == IPV6_ADDR_MAPPED)
246 if (addr_type != IPV6_ADDR_ANY) {
249 if (__ipv6_addr_needs_scope_id(addr_type)) {
275 if (!(addr_type & IPV6_ADDR_MULTICAST) &&
287 if (!(addr_type & IPV6_ADDR_MULTICAST))
/linux-master/include/net/
H A Daddrconf.h137 const struct in6_addr *addr, int addr_type,
/linux-master/drivers/ras/amd/
H A Dfmpm.c97 u32 addr_type; member in struct:cper_fru_poison_desc
267 if (old->addr_type != new->addr_type)
353 fpd.addr_type = FPD_ADDR_TYPE_MCA_ADDR;
441 if (fpd->addr_type != FPD_ADDR_TYPE_MCA_ADDR)
/linux-master/net/rds/
H A Dsend.c1156 int addr_type; local
1162 addr_type = ipv6_addr_type(&sin6->sin6_addr);
1163 if (!(addr_type & IPV6_ADDR_UNICAST)) {
1166 if (!(addr_type & IPV6_ADDR_MAPPED)) {
1182 if (addr_type & IPV6_ADDR_LINKLOCAL) {

Completed in 596 milliseconds

12345