/linux-6.12.1/drivers/net/ |
D | dummy.c | 128 if (tb[IFLA_ADDRESS]) { in dummy_validate() 129 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) in dummy_validate() 131 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in dummy_validate()
|
D | ifb.c | 378 if (tb[IFLA_ADDRESS]) { in ifb_validate() 379 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) in ifb_validate() 381 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in ifb_validate()
|
D | nlmon.c | 87 if (tb[IFLA_ADDRESS]) in nlmon_validate()
|
D | netkit.c | 317 struct nlattr *attr = tb[IFLA_ADDRESS]; in netkit_validate() 389 (tb[IFLA_ADDRESS] || tbp[IFLA_ADDRESS])) in netkit_new_link() 405 if (mode == NETKIT_L2 && !(ifmp && tbp[IFLA_ADDRESS])) in netkit_new_link() 428 if (mode == NETKIT_L2 && !tb[IFLA_ADDRESS]) in netkit_new_link()
|
D | veth.c | 1729 if (tb[IFLA_ADDRESS]) { in veth_validate() 1730 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) in veth_validate() 1732 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in veth_validate() 1822 if (!ifmp || !tbp[IFLA_ADDRESS]) in veth_newlink() 1853 if (tb[IFLA_ADDRESS] == NULL) in veth_newlink()
|
D | geneve.c | 1242 if (tb[IFLA_ADDRESS]) { in geneve_validate() 1243 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) { in geneve_validate() 1244 NL_SET_ERR_MSG_ATTR(extack, tb[IFLA_ADDRESS], in geneve_validate() 1249 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) { in geneve_validate() 1250 NL_SET_ERR_MSG_ATTR(extack, tb[IFLA_ADDRESS], in geneve_validate()
|
D | macvlan.c | 1313 if (tb[IFLA_ADDRESS]) { in macvlan_validate() 1314 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) in macvlan_validate() 1316 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in macvlan_validate() 1476 if (!tb[IFLA_ADDRESS]) in macvlan_common_newlink()
|
D | vrf.c | 1675 if (tb[IFLA_ADDRESS]) { in vrf_validate() 1676 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) { in vrf_validate() 1680 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) { in vrf_validate()
|
/linux-6.12.1/net/8021q/ |
D | vlan_netlink.c | 46 if (tb[IFLA_ADDRESS]) { in vlan_validate() 47 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) { in vlan_validate() 51 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) { in vlan_validate()
|
/linux-6.12.1/net/ieee802154/6lowpan/ |
D | core.c | 125 if (tb[IFLA_ADDRESS]) { in lowpan_validate() 126 if (nla_len(tb[IFLA_ADDRESS]) != IEEE802154_ADDR_LEN) in lowpan_validate()
|
/linux-6.12.1/net/bridge/ |
D | br_netlink.c | 490 nla_put(skb, IFLA_ADDRESS, dev->addr_len, dev->dev_addr)) || in br_fill_ifinfo() 1174 if (tb[IFLA_ADDRESS]) { in br_validate() 1175 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) in br_validate() 1177 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in br_validate() 1567 if (tb[IFLA_ADDRESS]) { in br_dev_newlink() 1569 br_stp_change_bridge_id(br, nla_data(tb[IFLA_ADDRESS])); in br_dev_newlink()
|
/linux-6.12.1/drivers/net/bonding/ |
D | bond_netlink.c | 137 if (tb[IFLA_ADDRESS]) { in bond_validate() 138 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) in bond_validate() 140 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in bond_validate()
|
/linux-6.12.1/net/ipv4/ |
D | ip_gre.c | 1105 if (tb[IFLA_ADDRESS]) { in ipgre_tap_validate() 1106 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) in ipgre_tap_validate() 1108 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in ipgre_tap_validate()
|
D | ip_tunnel.c | 1243 if (dev->type == ARPHRD_ETHER && !tb[IFLA_ADDRESS]) in ip_tunnel_newlink()
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | tap.c | 188 rtattr_add_any(nh, IFLA_ADDRESS, param_hwaddr_src, ETH_ALEN); in macvtap_fill_rtattr()
|
/linux-6.12.1/net/core/ |
D | rtnetlink.c | 1924 if (nla_put(skb, IFLA_ADDRESS, dev->addr_len, dev->dev_addr) || in rtnl_fill_ifinfo() 2008 [IFLA_ADDRESS] = { .type = NLA_BINARY, .len = MAX_ADDR_LEN }, 2455 if (tb[IFLA_ADDRESS] && in validate_linkmsg() 2456 nla_len(tb[IFLA_ADDRESS]) < dev->addr_len) in validate_linkmsg() 2870 if (tb[IFLA_ADDRESS]) { in do_setlink() 2882 memcpy(sa->sa_data, nla_data(tb[IFLA_ADDRESS]), in do_setlink() 3431 if (tb[IFLA_ADDRESS]) { in rtnl_create_link() 3432 __dev_addr_set(dev, nla_data(tb[IFLA_ADDRESS]), in rtnl_create_link() 3433 nla_len(tb[IFLA_ADDRESS])); in rtnl_create_link() 4959 nla_put(skb, IFLA_ADDRESS, dev->addr_len, dev->dev_addr)) || in ndo_dflt_bridge_getlink()
|
/linux-6.12.1/net/ipv6/ |
D | ip6_gre.c | 1684 if (tb[IFLA_ADDRESS]) { in ip6gre_tap_validate() 1685 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) in ip6gre_tap_validate() 1687 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in ip6gre_tap_validate() 1991 if (dev->type == ARPHRD_ETHER && !tb[IFLA_ADDRESS]) in ip6gre_newlink_common()
|
D | addrconf.c | 6071 nla_put(skb, IFLA_ADDRESS, dev->addr_len, dev->dev_addr)) || in inet6_fill_ifinfo()
|
/linux-6.12.1/drivers/net/team/ |
D | team_core.c | 2214 if (tb[IFLA_ADDRESS] == NULL) in team_newlink() 2223 if (tb[IFLA_ADDRESS]) { in team_validate() 2224 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) in team_validate() 2226 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in team_validate()
|
/linux-6.12.1/tools/include/uapi/linux/ |
D | if_link.h | 298 IFLA_ADDRESS, enumerator
|
/linux-6.12.1/include/uapi/linux/ |
D | if_link.h | 298 IFLA_ADDRESS, enumerator
|
/linux-6.12.1/drivers/net/vxlan/ |
D | vxlan_core.c | 3410 if (tb[IFLA_ADDRESS]) { in vxlan_validate() 3411 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) { in vxlan_validate() 3412 NL_SET_ERR_MSG_ATTR(extack, tb[IFLA_ADDRESS], in vxlan_validate() 3417 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) { in vxlan_validate() 3418 NL_SET_ERR_MSG_ATTR(extack, tb[IFLA_ADDRESS], in vxlan_validate()
|