Searched refs:proto_down (Results 1 – 6 of 6) sorted by relevance
| /linux/net/core/ |
| H A D | dev.h | 151 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 D | net-sysfs.c | 618 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 D | rtnetlink.c | 2041 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 D | dev.c | 10261 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 D | sch_generic.c | 633 if (READ_ONCE(dev->proto_down)) in netif_carrier_on()
|
| /linux/include/linux/ |
| H A D | netdevice.h | 2085 * @proto_down: protocol port state information can be sent to the 2516 bool proto_down; 2513 bool proto_down; global() member
|