Home
last modified time | relevance | path

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

/linux/net/8021q/
H A Dvlan_netlink.c182 if (!tb[IFLA_MTU]) in vlan_newlink()
/linux/net/ipv6/
H A Dip6_gre.c2001 if (tb[IFLA_MTU]) in ip6gre_newlink_common()
2002 ip6_tnl_change_mtu(dev, nla_get_u32(tb[IFLA_MTU])); in ip6gre_newlink_common()
2030 ip6gre_tnl_link_config(nt, !tb[IFLA_MTU]); in ip6gre_newlink()
2085 ip6gre_tnl_change(t, &p, !tb[IFLA_MTU]); in ip6gre_changelink()
2267 ip6erspan_tnl_link_config(nt, !tb[IFLA_MTU]); in ip6erspan_newlink()
2303 ip6erspan_tnl_change(t, &p, !tb[IFLA_MTU]); in ip6erspan_changelink()
H A Dsit.c1582 if (tb[IFLA_MTU]) { in ipip6_newlink()
1583 u32 mtu = nla_get_u32(tb[IFLA_MTU]); in ipip6_newlink()
H A 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()
H A Dip6_vti.c1049 return vti6_update(t, &p, tb && tb[IFLA_MTU]); in vti6_changelink()
H A Daddrconf.c6072 nla_put_u32(skb, IFLA_MTU, READ_ONCE(dev->mtu)) || in inet6_fill_ifinfo()
/linux/drivers/net/
H A Dbareudp.c685 if (tb[IFLA_MTU]) { in bareudp_link_config()
686 err = dev_set_mtu(dev, nla_get_u32(tb[IFLA_MTU])); in bareudp_link_config()
H A Dveth.c1735 if (tb[IFLA_MTU]) { in veth_validate()
1736 if (!is_valid_veth_mtu(nla_get_u32(tb[IFLA_MTU]))) in veth_validate()
H A Dgeneve.c1577 if (tb[IFLA_MTU]) { in geneve_link_config()
1578 geneve_change_mtu(dev, nla_get_u32(tb[IFLA_MTU])); in geneve_link_config()
H A Dmacvlan.c1467 if (!tb[IFLA_MTU]) in macvlan_common_newlink()
/linux/tools/include/uapi/linux/
H A Dif_link.h301 IFLA_MTU, enumerator
/linux/drivers/net/wireless/virtual/
H A Dvirt_wifi.c540 if (!tb[IFLA_MTU]) in virt_wifi_newlink()
/linux/include/uapi/linux/
H A Dif_link.h301 IFLA_MTU, enumerator
/linux/drivers/net/vxlan/
H A Dvxlan_core.c3424 if (tb[IFLA_MTU]) { in vxlan_validate()
3425 u32 mtu = nla_get_u32(tb[IFLA_MTU]); in vxlan_validate()
3428 NL_SET_ERR_MSG_ATTR(extack, tb[IFLA_MTU], in vxlan_validate()
4291 if (tb[IFLA_MTU]) { in vxlan_nl2conf()
4293 NL_SET_ERR_MSG_ATTR(extack, tb[IFLA_MTU], in vxlan_nl2conf()
4297 conf->mtu = nla_get_u32(tb[IFLA_MTU]); in vxlan_nl2conf()
/linux/net/ipv4/
H A Dip_tunnel.c1247 if (tb[IFLA_MTU]) { in ip_tunnel_newlink()
1303 ip_tunnel_update(itn, t, dev, p, !tb[IFLA_MTU], fwmark); in ip_tunnel_changelink()
H A Dip_gre.c1452 ipgre_link_update(dev, !tb[IFLA_MTU]); in ipgre_changelink()
/linux/net/core/
H A Drtnetlink.c1877 nla_put_u32(skb, IFLA_MTU, READ_ONCE(dev->mtu)) || in rtnl_fill_ifinfo()
2011 [IFLA_MTU] = { .type = NLA_U32 },
2891 if (tb[IFLA_MTU]) { in do_setlink()
2892 err = dev_set_mtu_ext(dev, nla_get_u32(tb[IFLA_MTU]), extack); in do_setlink()
3421 if (tb[IFLA_MTU]) { in rtnl_create_link()
3422 u32 mtu = nla_get_u32(tb[IFLA_MTU]); in rtnl_create_link()
4954 nla_put_u32(skb, IFLA_MTU, dev->mtu) || in ndo_dflt_bridge_getlink()
/linux/tools/testing/selftests/bpf/
H A Dxsk.c410 rta->rta_type = IFLA_MTU; in xsk_set_mtu()
/linux/drivers/net/ipvlan/
H A Dipvlan_main.c576 if (!tb[IFLA_MTU]) in ipvlan_link_new()
/linux/net/bridge/
H A Dbr_netlink.c487 nla_put_u32(skb, IFLA_MTU, dev->mtu) || in br_fill_ifinfo()