Searched refs:IFLA_MTU (Results 1 – 20 of 20) sorted by relevance
/linux-6.6.21/net/8021q/ |
D | vlan_netlink.c | 184 if (!tb[IFLA_MTU]) in vlan_newlink()
|
/linux-6.6.21/net/ipv6/ |
D | ip6_gre.c | 2002 if (tb[IFLA_MTU]) in ip6gre_newlink_common() 2003 ip6_tnl_change_mtu(dev, nla_get_u32(tb[IFLA_MTU])); in ip6gre_newlink_common() 2031 ip6gre_tnl_link_config(nt, !tb[IFLA_MTU]); in ip6gre_newlink() 2086 ip6gre_tnl_change(t, &p, !tb[IFLA_MTU]); in ip6gre_changelink() 2265 ip6erspan_tnl_link_config(nt, !tb[IFLA_MTU]); in ip6erspan_newlink() 2301 ip6erspan_tnl_change(t, &p, !tb[IFLA_MTU]); in ip6erspan_changelink()
|
D | sit.c | 1582 if (tb[IFLA_MTU]) { in ipip6_newlink() 1583 u32 mtu = nla_get_u32(tb[IFLA_MTU]); in ipip6_newlink()
|
D | ip6_tunnel.c | 2035 if (!err && tb[IFLA_MTU]) in ip6_tnl_newlink() 2036 ip6_tnl_change_mtu(dev, nla_get_u32(tb[IFLA_MTU])); in ip6_tnl_newlink()
|
D | ip6_vti.c | 1056 return vti6_update(t, &p, tb && tb[IFLA_MTU]); in vti6_changelink()
|
D | addrconf.c | 6009 nla_put_u32(skb, IFLA_MTU, dev->mtu) || in inet6_fill_ifinfo()
|
/linux-6.6.21/drivers/net/ |
D | bareudp.c | 653 if (tb[IFLA_MTU]) { in bareudp_link_config() 654 err = dev_set_mtu(dev, nla_get_u32(tb[IFLA_MTU])); in bareudp_link_config()
|
D | veth.c | 1793 if (tb[IFLA_MTU]) { in veth_validate() 1794 if (!is_valid_veth_mtu(nla_get_u32(tb[IFLA_MTU]))) in veth_validate()
|
D | geneve.c | 1621 if (tb[IFLA_MTU]) { in geneve_link_config() 1622 geneve_change_mtu(dev, nla_get_u32(tb[IFLA_MTU])); in geneve_link_config()
|
D | macvlan.c | 1476 if (!tb[IFLA_MTU]) in macvlan_common_newlink()
|
/linux-6.6.21/tools/include/uapi/linux/ |
D | if_link.h | 281 IFLA_MTU, enumerator
|
/linux-6.6.21/drivers/net/wireless/virtual/ |
D | virt_wifi.c | 526 if (!tb[IFLA_MTU]) in virt_wifi_newlink()
|
/linux-6.6.21/include/uapi/linux/ |
D | if_link.h | 301 IFLA_MTU, enumerator
|
/linux-6.6.21/net/ipv4/ |
D | ip_tunnel.c | 1194 if (tb[IFLA_MTU]) { in ip_tunnel_newlink() 1250 ip_tunnel_update(itn, t, dev, p, !tb[IFLA_MTU], fwmark); in ip_tunnel_changelink()
|
D | ip_gre.c | 1414 ipgre_link_update(dev, !tb[IFLA_MTU]); in ipgre_changelink()
|
/linux-6.6.21/drivers/net/vxlan/ |
D | vxlan_core.c | 3308 if (tb[IFLA_MTU]) { in vxlan_validate() 3309 u32 mtu = nla_get_u32(tb[IFLA_MTU]); in vxlan_validate() 3312 NL_SET_ERR_MSG_ATTR(extack, tb[IFLA_MTU], in vxlan_validate() 4167 if (tb[IFLA_MTU]) { in vxlan_nl2conf() 4169 NL_SET_ERR_MSG_ATTR(extack, tb[IFLA_MTU], in vxlan_nl2conf() 4173 conf->mtu = nla_get_u32(tb[IFLA_MTU]); in vxlan_nl2conf()
|
/linux-6.6.21/net/core/ |
D | rtnetlink.c | 1810 nla_put_u32(skb, IFLA_MTU, dev->mtu) || in rtnl_fill_ifinfo() 1934 [IFLA_MTU] = { .type = NLA_U32 }, 2835 if (tb[IFLA_MTU]) { in do_setlink() 2836 err = dev_set_mtu_ext(dev, nla_get_u32(tb[IFLA_MTU]), extack); in do_setlink() 3367 if (tb[IFLA_MTU]) { in rtnl_create_link() 3368 u32 mtu = nla_get_u32(tb[IFLA_MTU]); in rtnl_create_link() 4894 nla_put_u32(skb, IFLA_MTU, dev->mtu) || in ndo_dflt_bridge_getlink()
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | xsk.c | 407 rta->rta_type = IFLA_MTU; in xsk_set_mtu()
|
/linux-6.6.21/drivers/net/ipvlan/ |
D | ipvlan_main.c | 574 if (!tb[IFLA_MTU]) in ipvlan_link_new()
|
/linux-6.6.21/net/bridge/ |
D | br_netlink.c | 486 nla_put_u32(skb, IFLA_MTU, dev->mtu) || in br_fill_ifinfo()
|