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()
3100 bool proto_down; in do_set_proto_down() local
3131 proto_down = nla_get_u8(nl_proto_down); in do_set_proto_down()
3134 if (!proto_down && dev->proto_down_reason) { in do_set_proto_down()
3138 err = netif_change_proto_down(dev, proto_down); in do_set_proto_down()
H A Ddev.c10261 int netif_change_proto_down(struct net_device *dev, bool proto_down) in netdev_change_proto_down_reason_locked()
10272 WRITE_ONCE(dev->proto_down, proto_down); in netdev_change_proto_down_reason_locked()
10273 if (proto_down) in netdev_change_proto_down_reason_locked()
10229 netif_change_proto_down(struct net_device * dev,bool proto_down) netif_change_proto_down() argument
/linux/net/sched/
H A Dsch_generic.c633 if (READ_ONCE(dev->proto_down)) in netif_carrier_on()
/linux/include/linux/
H A Dnetdevice.h2085 * @proto_down: protocol port state information can be sent to the
2516 bool proto_down;
2513 bool proto_down; global() member