/linux-6.1.9/drivers/net/ |
D | dummy.c | 141 if (tb[IFLA_ADDRESS]) { in dummy_validate() 142 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) in dummy_validate() 144 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 | 107 if (tb[IFLA_ADDRESS]) in nlmon_validate()
|
D | veth.c | 1661 if (tb[IFLA_ADDRESS]) { in veth_validate() 1662 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) in veth_validate() 1664 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in veth_validate() 1757 if (!ifmp || !tbp[IFLA_ADDRESS]) in veth_newlink() 1788 if (tb[IFLA_ADDRESS] == NULL) in veth_newlink()
|
D | macvlan.c | 1293 if (tb[IFLA_ADDRESS]) { in macvlan_validate() 1294 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) in macvlan_validate() 1296 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in macvlan_validate() 1456 if (!tb[IFLA_ADDRESS]) in macvlan_common_newlink()
|
D | geneve.c | 1292 if (tb[IFLA_ADDRESS]) { in geneve_validate() 1293 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) { in geneve_validate() 1294 NL_SET_ERR_MSG_ATTR(extack, tb[IFLA_ADDRESS], in geneve_validate() 1299 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) { in geneve_validate() 1300 NL_SET_ERR_MSG_ATTR(extack, tb[IFLA_ADDRESS], in geneve_validate()
|
D | vrf.c | 1714 if (tb[IFLA_ADDRESS]) { in vrf_validate() 1715 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) { in vrf_validate() 1719 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) { in vrf_validate()
|
/linux-6.1.9/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.1.9/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.1.9/net/bridge/ |
D | br_netlink.c | 473 nla_put(skb, IFLA_ADDRESS, dev->addr_len, dev->dev_addr)) || in br_fill_ifinfo() 1119 if (tb[IFLA_ADDRESS]) { in br_validate() 1120 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) in br_validate() 1122 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in br_validate() 1502 if (tb[IFLA_ADDRESS]) { in br_dev_newlink() 1504 br_stp_change_bridge_id(br, nla_data(tb[IFLA_ADDRESS])); in br_dev_newlink()
|
/linux-6.1.9/drivers/net/bonding/ |
D | bond_netlink.c | 130 if (tb[IFLA_ADDRESS]) { in bond_validate() 131 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) in bond_validate() 133 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in bond_validate()
|
/linux-6.1.9/net/core/ |
D | rtnetlink.c | 1805 if (nla_put(skb, IFLA_ADDRESS, dev->addr_len, dev->dev_addr) || in rtnl_fill_ifinfo() 1880 [IFLA_ADDRESS] = { .type = NLA_BINARY, .len = MAX_ADDR_LEN }, 2333 if (tb[IFLA_ADDRESS] && in validate_linkmsg() 2334 nla_len(tb[IFLA_ADDRESS]) < dev->addr_len) in validate_linkmsg() 2722 if (tb[IFLA_ADDRESS]) { in do_setlink() 2734 memcpy(sa->sa_data, nla_data(tb[IFLA_ADDRESS]), in do_setlink() 3265 if (tb[IFLA_ADDRESS]) { in rtnl_create_link() 3266 __dev_addr_set(dev, nla_data(tb[IFLA_ADDRESS]), in rtnl_create_link() 3267 nla_len(tb[IFLA_ADDRESS])); in rtnl_create_link() 4761 nla_put(skb, IFLA_ADDRESS, dev->addr_len, dev->dev_addr)) || in ndo_dflt_bridge_getlink()
|
/linux-6.1.9/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.1.9/net/ipv4/ |
D | ip_gre.c | 1064 if (tb[IFLA_ADDRESS]) { in ipgre_tap_validate() 1065 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) in ipgre_tap_validate() 1067 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in ipgre_tap_validate()
|
D | ip_tunnel.c | 1158 if (dev->type == ARPHRD_ETHER && !tb[IFLA_ADDRESS]) in ip_tunnel_newlink()
|
/linux-6.1.9/tools/include/uapi/linux/ |
D | if_link.h | 278 IFLA_ADDRESS, enumerator
|
/linux-6.1.9/net/ipv6/ |
D | ip6_gre.c | 1697 if (tb[IFLA_ADDRESS]) { in ip6gre_tap_validate() 1698 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) in ip6gre_tap_validate() 1700 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in ip6gre_tap_validate() 2011 if (dev->type == ARPHRD_ETHER && !tb[IFLA_ADDRESS]) in ip6gre_newlink_common()
|
D | addrconf.c | 5944 nla_put(skb, IFLA_ADDRESS, dev->addr_len, dev->dev_addr)) || in inet6_fill_ifinfo()
|
/linux-6.1.9/include/uapi/linux/ |
D | if_link.h | 298 IFLA_ADDRESS, enumerator
|
/linux-6.1.9/drivers/net/team/ |
D | team.c | 2204 if (tb[IFLA_ADDRESS] == NULL) in team_newlink() 2213 if (tb[IFLA_ADDRESS]) { in team_validate() 2214 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) in team_validate() 2216 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in team_validate()
|
/linux-6.1.9/drivers/net/vxlan/ |
D | vxlan_core.c | 3253 if (tb[IFLA_ADDRESS]) { in vxlan_validate() 3254 if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) { in vxlan_validate() 3255 NL_SET_ERR_MSG_ATTR(extack, tb[IFLA_ADDRESS], in vxlan_validate() 3260 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) { in vxlan_validate() 3261 NL_SET_ERR_MSG_ATTR(extack, tb[IFLA_ADDRESS], in vxlan_validate()
|