Searched refs:proto_down (Results 1 – 3 of 3) sorted by relevance
483 static int change_proto_down(struct net_device *dev, unsigned long proto_down) in change_proto_down() argument485 return dev_change_proto_down(dev, (bool)proto_down); in change_proto_down()502 NETDEVICE_SHOW_RW(proto_down, fmt_dec);
1675 if (nla_put_u8(skb, IFLA_PROTO_DOWN, dev->proto_down)) in rtnl_fill_proto_down()2567 bool proto_down; in do_set_proto_down() local2598 proto_down = nla_get_u8(nl_proto_down); in do_set_proto_down()2601 if (!proto_down && dev->proto_down_reason) { in do_set_proto_down()2606 proto_down); in do_set_proto_down()
9258 int dev_change_proto_down(struct net_device *dev, bool proto_down) in dev_change_proto_down() argument9266 return ops->ndo_change_proto_down(dev, proto_down); in dev_change_proto_down()9278 int dev_change_proto_down_generic(struct net_device *dev, bool proto_down) in dev_change_proto_down_generic() argument9280 if (proto_down) in dev_change_proto_down_generic()9284 dev->proto_down = proto_down; in dev_change_proto_down_generic()