Home
last modified time | relevance | path

Searched refs:proto_down (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/
Drocker_main.c1808 if (!dev->proto_down) in rocker_port_open()
2018 bool proto_down) in rocker_port_change_proto_down() argument
2023 rocker_port_set_enable(rocker_port, !proto_down); in rocker_port_change_proto_down()
2024 rocker_port->dev->proto_down = proto_down; in rocker_port_change_proto_down()
/kernel/linux/linux-5.10/net/core/
Dnet-sysfs.c482 static int change_proto_down(struct net_device *dev, unsigned long proto_down) in change_proto_down() argument
484 return dev_change_proto_down(dev, (bool)proto_down); in change_proto_down()
501 NETDEVICE_SHOW_RW(proto_down, fmt_dec);
Drtnetlink.c1676 if (nla_put_u8(skb, IFLA_PROTO_DOWN, dev->proto_down)) in rtnl_fill_proto_down()
2543 bool proto_down; in do_set_proto_down() local
2574 proto_down = nla_get_u8(nl_proto_down); in do_set_proto_down()
2577 if (!proto_down && dev->proto_down_reason) { in do_set_proto_down()
2582 proto_down); in do_set_proto_down()
Ddev.c8933 int dev_change_proto_down(struct net_device *dev, bool proto_down) in dev_change_proto_down() argument
8941 return ops->ndo_change_proto_down(dev, proto_down); in dev_change_proto_down()
8953 int dev_change_proto_down_generic(struct net_device *dev, bool proto_down) in dev_change_proto_down_generic() argument
8955 if (proto_down) in dev_change_proto_down_generic()
8959 dev->proto_down = proto_down; in dev_change_proto_down_generic()
/kernel/linux/linux-5.10/include/linux/
Dnetdevice.h1495 bool proto_down);
2186 bool proto_down; member
3946 int dev_change_proto_down(struct net_device *dev, bool proto_down);
3947 int dev_change_proto_down_generic(struct net_device *dev, bool proto_down);