Home
last modified time | relevance | path

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

/linux/net/core/
H A Ddev.h151 int netif_change_proto_down(struct net_device *dev, bool proto_down);
152 int dev_change_proto_down(struct net_device *dev, bool proto_down);
H A Dnet-sysfs.c618 static int change_proto_down(struct net_device *dev, unsigned long proto_down) in change_proto_down() argument
620 return dev_change_proto_down(dev, (bool)proto_down); in change_proto_down()
629 NETDEVICE_SHOW_RW(proto_down, fmt_dec);
H A Drtnetlink.c2041 if (nla_put_u8(skb, IFLA_PROTO_DOWN, READ_ONCE(dev->proto_down))) in rtnl_fill_proto_down()
3095 bool proto_down; in do_set_proto_down() local
3126 proto_down = nla_get_u8(nl_proto_down); in do_set_proto_down()
3129 if (!proto_down && dev->proto_down_reason) { in do_set_proto_down()
3133 err = netif_change_proto_down(dev, proto_down); in do_set_proto_down()
H A Ddev.c10218 int netif_change_proto_down(struct net_device *dev, bool proto_down) in netif_change_proto_down() argument
10229 WRITE_ONCE(dev->proto_down, proto_down); in netif_change_proto_down()
10230 if (proto_down) in netif_change_proto_down()
/linux/net/sched/
H A Dsch_generic.c633 if (READ_ONCE(dev->proto_down)) in netif_carrier_on()
/linux/include/linux/
H A Dnetdevice.h2513 bool proto_down; member