Home
last modified time | relevance | path

Searched refs:IFLA_MTU (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/net/8021q/
Dvlan_netlink.c184 if (!tb[IFLA_MTU]) in vlan_newlink()
/linux-6.6.21/net/ipv6/
Dip6_gre.c2002 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()
Dsit.c1582 if (tb[IFLA_MTU]) { in ipip6_newlink()
1583 u32 mtu = nla_get_u32(tb[IFLA_MTU]); in ipip6_newlink()
Dip6_tunnel.c2035 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()
Dip6_vti.c1056 return vti6_update(t, &p, tb && tb[IFLA_MTU]); in vti6_changelink()
Daddrconf.c6009 nla_put_u32(skb, IFLA_MTU, dev->mtu) || in inet6_fill_ifinfo()
/linux-6.6.21/drivers/net/
Dbareudp.c653 if (tb[IFLA_MTU]) { in bareudp_link_config()
654 err = dev_set_mtu(dev, nla_get_u32(tb[IFLA_MTU])); in bareudp_link_config()
Dveth.c1793 if (tb[IFLA_MTU]) { in veth_validate()
1794 if (!is_valid_veth_mtu(nla_get_u32(tb[IFLA_MTU]))) in veth_validate()
Dgeneve.c1621 if (tb[IFLA_MTU]) { in geneve_link_config()
1622 geneve_change_mtu(dev, nla_get_u32(tb[IFLA_MTU])); in geneve_link_config()
Dmacvlan.c1476 if (!tb[IFLA_MTU]) in macvlan_common_newlink()
/linux-6.6.21/tools/include/uapi/linux/
Dif_link.h281 IFLA_MTU, enumerator
/linux-6.6.21/drivers/net/wireless/virtual/
Dvirt_wifi.c526 if (!tb[IFLA_MTU]) in virt_wifi_newlink()
/linux-6.6.21/include/uapi/linux/
Dif_link.h301 IFLA_MTU, enumerator
/linux-6.6.21/net/ipv4/
Dip_tunnel.c1194 if (tb[IFLA_MTU]) { in ip_tunnel_newlink()
1250 ip_tunnel_update(itn, t, dev, p, !tb[IFLA_MTU], fwmark); in ip_tunnel_changelink()
Dip_gre.c1414 ipgre_link_update(dev, !tb[IFLA_MTU]); in ipgre_changelink()
/linux-6.6.21/drivers/net/vxlan/
Dvxlan_core.c3308 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/
Drtnetlink.c1810 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/
Dxsk.c407 rta->rta_type = IFLA_MTU; in xsk_set_mtu()
/linux-6.6.21/drivers/net/ipvlan/
Dipvlan_main.c574 if (!tb[IFLA_MTU]) in ipvlan_link_new()
/linux-6.6.21/net/bridge/
Dbr_netlink.c486 nla_put_u32(skb, IFLA_MTU, dev->mtu) || in br_fill_ifinfo()