/kernel/linux/linux-5.10/net/core/ |
D | dev_addr_lists.c | 21 unsigned char addr_type, bool global, in __hw_addr_create_ex() argument 34 ha->type = addr_type; in __hw_addr_create_ex() 47 unsigned char addr_type, bool global, bool sync, in __hw_addr_add_ex() argument 56 if (ha->type == addr_type && in __hw_addr_add_ex() 76 return __hw_addr_create_ex(list, addr, addr_len, addr_type, global, in __hw_addr_add_ex() 82 unsigned char addr_type) in __hw_addr_add() argument 84 return __hw_addr_add_ex(list, addr, addr_len, addr_type, false, false, in __hw_addr_add() 114 unsigned char addr_type, bool global, bool sync) in __hw_addr_del_ex() argument 120 (ha->type == addr_type || !addr_type)) in __hw_addr_del_ex() 128 unsigned char addr_type) in __hw_addr_del() argument [all …]
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | netfilter.c | 20 …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 34 if (addr_type == RTN_UNSPEC) in ip_route_me_harder() 35 addr_type = inet_addr_type_dev_table(net, dev, saddr); in ip_route_me_harder() 36 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
|
D | arp.c | 648 int *addr_type, __be16 ar_op, in arp_is_garp() argument 666 *addr_type = inet_addr_type_dev_table(net, dev, sip); in arp_is_garp() 667 if (*addr_type != RTN_UNICAST) in arp_is_garp() 688 int addr_type; in arp_process() local 819 addr_type = rt->rt_type; in arp_process() 821 if (addr_type == RTN_LOCAL) { in arp_process() 839 if (addr_type == RTN_UNICAST && in arp_process() 869 addr_type = -1; in arp_process() 871 is_garp = arp_is_garp(net, dev, &addr_type, arp->ar_op, in arp_process() 883 (addr_type == RTN_UNICAST || in arp_process() [all …]
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | ipmi.h | 25 int addr_type; member 31 int addr_type; member 38 int addr_type; member 45 int addr_type; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | ipmi.h | 13 int addr_type; member 19 int addr_type; member 26 int addr_type; member 33 int addr_type; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | ipmi.h | 54 int addr_type; member 66 int addr_type; member 77 int addr_type; member 102 int addr_type; member
|
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/ |
D | coresight-etm3x-sysfs.c | 84 config->addr_type[i] = ETM_ADDR_TYPE_NONE; in reset_store() 319 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_single_show() 320 config->addr_type[idx] == ETM_ADDR_TYPE_SINGLE)) { in addr_single_show() 347 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_single_store() 348 config->addr_type[idx] == ETM_ADDR_TYPE_SINGLE)) { in addr_single_store() 354 config->addr_type[idx] = ETM_ADDR_TYPE_SINGLE; in addr_single_store() 375 if (!((config->addr_type[idx] == ETM_ADDR_TYPE_NONE && in addr_range_show() 376 config->addr_type[idx + 1] == ETM_ADDR_TYPE_NONE) || in addr_range_show() 377 (config->addr_type[idx] == ETM_ADDR_TYPE_RANGE && in addr_range_show() 378 config->addr_type[idx + 1] == ETM_ADDR_TYPE_RANGE))) { in addr_range_show() [all …]
|
D | coresight-etm4x-sysfs.c | 33 if (config->addr_type[idx] != ETM_ADDR_TYPE_RANGE || in etm4_set_mode_exclude() 34 config->addr_type[idx + 1] != ETM_ADDR_TYPE_RANGE) in etm4_set_mode_exclude() 252 config->addr_type[i] = ETM_ADDR_TYPE_NONE; in reset_store() 900 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_single_show() 901 config->addr_type[idx] == ETM_ADDR_TYPE_SINGLE)) { in addr_single_show() 924 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_single_store() 925 config->addr_type[idx] == ETM_ADDR_TYPE_SINGLE)) { in addr_single_store() 931 config->addr_type[idx] = ETM_ADDR_TYPE_SINGLE; in addr_single_store() 952 if (!((config->addr_type[idx] == ETM_ADDR_TYPE_NONE && in addr_range_show() 953 config->addr_type[idx + 1] == ETM_ADDR_TYPE_NONE) || in addr_range_show() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ipvlan/ |
D | ipvlan_core.c | 355 int addr_type, bool use_dest) in ipvlan_addr_lookup() argument 359 switch (addr_type) { in ipvlan_addr_lookup() 569 int addr_type; in ipvlan_xmit_mode_l3() local 571 lyr3h = ipvlan_get_L3_hdr(ipvlan->port, skb, &addr_type); in ipvlan_xmit_mode_l3() 576 addr = ipvlan_addr_lookup(ipvlan->port, lyr3h, addr_type, true); in ipvlan_xmit_mode_l3() 596 int addr_type; in ipvlan_xmit_mode_l2() local 600 lyr3h = ipvlan_get_L3_hdr(ipvlan->port, skb, &addr_type); in ipvlan_xmit_mode_l2() 602 addr = ipvlan_addr_lookup(ipvlan->port, lyr3h, addr_type, true); in ipvlan_xmit_mode_l2() 666 int addr_type; in ipvlan_external_frame() local 669 lyr3h = ipvlan_get_L3_hdr(port, skb, &addr_type); in ipvlan_external_frame() [all …]
|
D | ipvlan_l3s.c | 18 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()
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
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()
|
/kernel/linux/linux-5.10/net/rds/ |
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()
|
/kernel/linux/linux-5.10/include/net/bluetooth/ |
D | hci_core.h | 196 u8 addr_type; member 680 u8 addr_type; member 1242 bdaddr_t *addr, u8 addr_type); 1244 bdaddr_t *addr, u8 addr_type); 1245 void hci_conn_params_del(struct hci_dev *hdev, bdaddr_t *addr, u8 addr_type); 1250 u8 addr_type); 1260 u8 addr_type, u8 type, u8 authenticated, 1263 u8 addr_type, u8 role); 1270 u8 addr_type); 1272 u8 addr_type, u8 val[16], bdaddr_t *rpa); [all …]
|
/kernel/linux/linux-5.10/net/l2tp/ |
D | l2tp_ip6.c | 270 int addr_type; in l2tp_ip6_bind() local 278 addr_type = ipv6_addr_type(&addr->l2tp_addr); in l2tp_ip6_bind() 281 if (addr_type == IPV6_ADDR_MAPPED) in l2tp_ip6_bind() 285 if (addr_type & IPV6_ADDR_MULTICAST) in l2tp_ip6_bind() 301 if (addr_type != IPV6_ADDR_ANY) { in l2tp_ip6_bind() 304 if (addr_type & IPV6_ADDR_LINKLOCAL) { in l2tp_ip6_bind() 368 int addr_type; in l2tp_ip6_connect() local 377 addr_type = ipv6_addr_type(&usin->sin6_addr); in l2tp_ip6_connect() 378 if (addr_type & IPV6_ADDR_MULTICAST) in l2tp_ip6_connect() 381 if (addr_type & IPV6_ADDR_MAPPED) { in l2tp_ip6_connect()
|
/kernel/linux/linux-5.10/drivers/char/ipmi/ |
D | ipmi_poweroff.c | 192 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in pps_poweroff_atca() 221 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_atca_detect() 256 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_poweroff_atca() 331 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_poweroff_cpi1() 370 ipmb_addr.addr_type = IPMI_IPMB_ADDR_TYPE; in ipmi_poweroff_cpi1() 478 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_poweroff_chassis() 582 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_po_new_smi()
|
D | ipmi_msghandler.c | 657 return addr->addr_type == IPMI_LAN_ADDR_TYPE; in is_lan_addr() 662 return addr->addr_type == IPMI_IPMB_ADDR_TYPE; in is_ipmb_addr() 667 return addr->addr_type == IPMI_IPMB_BROADCAST_ADDR_TYPE; in is_ipmb_bcast_addr() 797 if (addr1->addr_type != addr2->addr_type) in ipmi_addr_equal() 803 if (addr1->addr_type == IPMI_SYSTEM_INTERFACE_ADDR_TYPE) { in ipmi_addr_equal() 842 if (addr->addr_type == IPMI_SYSTEM_INTERFACE_ADDR_TYPE) { in ipmi_validate_addr() 869 unsigned int ipmi_addr_length(int addr_type) in ipmi_addr_length() argument 871 if (addr_type == IPMI_SYSTEM_INTERFACE_ADDR_TYPE) in ipmi_addr_length() 874 if ((addr_type == IPMI_IPMB_ADDR_TYPE) in ipmi_addr_length() 875 || (addr_type == IPMI_IPMB_BROADCAST_ADDR_TYPE)) in ipmi_addr_length() [all …]
|
/kernel/linux/linux-5.10/net/netfilter/ |
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()
|
/kernel/linux/linux-5.10/drivers/s390/cio/ |
D | ioasm.c | 168 typedef struct { char _[4096]; } addr_type; in chsc() typedef 177 : "+d" (cc), "=m" (*(addr_type *) chsc_area) in chsc() 178 : "d" (chsc_area), "m" (*(addr_type *) chsc_area) in chsc()
|
/kernel/linux/linux-5.10/net/bluetooth/ |
D | 6lowpan.c | 531 u8 addr_type; in bt_xmit() local 545 err = setup_header(skb, netdev, &addr, &addr_type); in bt_xmit() 554 netdev->name, &addr, addr_type, in bt_xmit() 990 static int get_l2cap_conn(char *buf, bdaddr_t *addr, u8 *addr_type, in get_l2cap_conn() argument 1000 addr_type); in get_l2cap_conn() 1011 hcon = hci_conn_hash_lookup_le(hdev, addr, *addr_type); in get_l2cap_conn() 1128 u8 addr_type; in lowpan_control_write() local 1137 ret = get_l2cap_conn(&buf[8], &addr, &addr_type, &conn); in lowpan_control_write() 1163 addr_type); in lowpan_control_write() 1166 ret = bt_6lowpan_connect(&addr, addr_type); in lowpan_control_write() [all …]
|
D | hci_core.c | 2475 u8 addr_type, u8 role) in hci_find_ltk() argument 2481 if (addr_type != k->bdaddr_type || bacmp(bdaddr, &k->bdaddr)) in hci_find_ltk() 2538 u8 addr_type) in hci_find_irk_by_addr() argument 2544 if (addr_type == ADDR_LE_DEV_RANDOM && (bdaddr->b[5] & 0xc0) != 0xc0) in hci_find_irk_by_addr() 2549 if (addr_type == irk->addr_type && in hci_find_irk_by_addr() 2618 u8 addr_type, u8 type, u8 authenticated, in hci_add_ltk() argument 2624 old_key = hci_find_ltk(hdev, bdaddr, addr_type, role); in hci_add_ltk() 2635 key->bdaddr_type = addr_type; in hci_add_ltk() 2647 u8 addr_type, u8 val[16], bdaddr_t *rpa) in hci_add_irk() argument 2651 irk = hci_find_irk_by_addr(hdev, bdaddr, addr_type); in hci_add_irk() [all …]
|
D | smp.h | 95 __u8 addr_type; member 185 u8 addr_type);
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | ping.c | 52 int addr_type; in ping_v6_sendmsg() local 96 addr_type = ipv6_addr_type(daddr); in ping_v6_sendmsg() 97 if ((__ipv6_addr_needs_scope_id(addr_type) && !oif) || in ping_v6_sendmsg() 98 (addr_type & IPV6_ADDR_MAPPED) || in ping_v6_sendmsg()
|
D | af_inet6.c | 287 int addr_type = 0; in __inet6_bind() local 293 addr_type = ipv6_addr_type(&addr->sin6_addr); in __inet6_bind() 294 if ((addr_type & IPV6_ADDR_MULTICAST) && sk->sk_type == SOCK_STREAM) in __inet6_bind() 312 if (addr_type == IPV6_ADDR_MAPPED) { in __inet6_bind() 347 if (addr_type != IPV6_ADDR_ANY) { in __inet6_bind() 351 if (__ipv6_addr_needs_scope_id(addr_type)) { in __inet6_bind() 379 if (!(addr_type & IPV6_ADDR_MULTICAST)) { in __inet6_bind() 396 if (!(addr_type & IPV6_ADDR_MULTICAST)) in __inet6_bind() 400 if (addr_type != IPV6_ADDR_ANY && addr_type != IPV6_ADDR_MAPPED) in __inet6_bind() 422 if (addr_type != IPV6_ADDR_ANY) in __inet6_bind()
|
D | datagram.c | 144 int addr_type; in __ip6_datagram_connect() local 174 addr_type = ipv6_addr_type(&usin->sin6_addr); in __ip6_datagram_connect() 178 if (addr_type & IPV6_ADDR_MAPPED) { in __ip6_datagram_connect() 214 if (__ipv6_addr_needs_scope_id(addr_type)) { in __ip6_datagram_connect() 224 if (!sk->sk_bound_dev_if && (addr_type & IPV6_ADDR_MULTICAST)) in __ip6_datagram_connect() 766 int addr_type; in ip6_datagram_send_ctl() local 807 addr_type = __ipv6_addr_type(&src_info->ipi6_addr); in ip6_datagram_send_ctl() 816 } else if (addr_type & IPV6_ADDR_LINKLOCAL) { in ip6_datagram_send_ctl() 821 if (addr_type != IPV6_ADDR_ANY) { in ip6_datagram_send_ctl() 822 int strict = __ipv6_addr_src_scope(addr_type) <= IPV6_ADDR_SCOPE_LINKLOCAL; in ip6_datagram_send_ctl()
|
/kernel/linux/linux-5.10/include/net/ |
D | af_ieee802154.h | 28 int addr_type; member
|