Lines Matching refs:af_ops
499 struct rtnl_af_ops *af_ops; in rtnl_link_get_af_size() local
505 list_for_each_entry(af_ops, &rtnl_af_ops, list) { in rtnl_link_get_af_size()
506 if (af_ops->get_link_af_size) { in rtnl_link_get_af_size()
509 af_ops->get_link_af_size(dev); in rtnl_link_get_af_size()
980 struct rtnl_af_ops *af_ops; in rtnl_fill_ifinfo() local
1150 list_for_each_entry(af_ops, &rtnl_af_ops, list) { in rtnl_fill_ifinfo()
1151 if (af_ops->fill_link_af) { in rtnl_fill_ifinfo()
1155 if (!(af = nla_nest_start(skb, af_ops->family))) in rtnl_fill_ifinfo()
1158 err = af_ops->fill_link_af(skb, dev); in rtnl_fill_ifinfo()
1347 const struct rtnl_af_ops *af_ops; in validate_linkmsg() local
1349 if (!(af_ops = rtnl_af_lookup(nla_type(af)))) in validate_linkmsg()
1352 if (!af_ops->set_link_af) in validate_linkmsg()
1355 if (af_ops->validate_link_af) { in validate_linkmsg()
1356 err = af_ops->validate_link_af(dev, af); in validate_linkmsg()
1727 const struct rtnl_af_ops *af_ops; in do_setlink() local
1729 if (!(af_ops = rtnl_af_lookup(nla_type(af)))) in do_setlink()
1732 err = af_ops->set_link_af(dev, af); in do_setlink()