Home
last modified time | relevance | path

Searched refs:genl_info_net (Results 1 – 25 of 31) sorted by relevance

12

/openbmc/linux/net/hsr/
H A Dhsr_netlink.c301 hsr_dev = dev_get_by_index_rcu(genl_info_net(info), in hsr_get_node_status()
386 genlmsg_unicast(genl_info_net(info), skb_out, info->snd_portid); in hsr_get_node_status()
427 hsr_dev = dev_get_by_index_rcu(genl_info_net(info), in hsr_get_node_list()
465 genlmsg_unicast(genl_info_net(info), skb_out, in hsr_get_node_list()
477 genlmsg_unicast(genl_info_net(info), skb_out, info->snd_portid); in hsr_get_node_list()
/openbmc/linux/net/l2tp/
H A Dl2tp_netlink.c53 struct net *net = genl_info_net(info); in l2tp_nl_session_get()
93 return genlmsg_unicast(genl_info_net(info), msg, info->snd_portid); in l2tp_nl_cmd_noop()
193 struct net *net = genl_info_net(info); in l2tp_nl_cmd_tunnel_create()
263 struct net *net = genl_info_net(info); in l2tp_nl_cmd_tunnel_delete()
293 struct net *net = genl_info_net(info); in l2tp_nl_cmd_tunnel_modify()
455 struct net *net = genl_info_net(info); in l2tp_nl_cmd_tunnel_get()
530 struct net *net = genl_info_net(info); in l2tp_nl_cmd_session_create()
815 ret = genlmsg_unicast(genl_info_net(info), msg, info->snd_portid); in l2tp_nl_cmd_session_get()
/openbmc/linux/net/ipv6/ila/
H A Dila_xlat.c346 struct net *net = genl_info_net(info); in ila_xlat_nl_cmd_add_mapping()
359 struct net *net = genl_info_net(info); in ila_xlat_nl_cmd_del_mapping()
380 struct net *net = genl_info_net(info); in ila_xlat_nl_cmd_flush()
462 struct net *net = genl_info_net(info); in ila_xlat_nl_cmd_get_mapping()
/openbmc/linux/net/ipv6/
H A Dseg6.c154 struct net *net = genl_info_net(info); in seg6_genl_sethmac()
238 struct net *net = genl_info_net(info); in seg6_genl_set_tunsrc()
267 struct net *net = genl_info_net(info); in seg6_genl_get_tunsrc()
H A Dioam6.c120 nsdata = ioam6_pernet(genl_info_net(info)); in ioam6_genl_addns()
173 nsdata = ioam6_pernet(genl_info_net(info)); in ioam6_genl_delns()
323 nsdata = ioam6_pernet(genl_info_net(info)); in ioam6_genl_addsc()
372 nsdata = ioam6_pernet(genl_info_net(info)); in ioam6_genl_delsc()
513 nsdata = ioam6_pernet(genl_info_net(info)); in ioam6_genl_ns_set_schema()
/openbmc/linux/include/net/
H A Dgenetlink.h118 static inline struct net *genl_info_net(const struct genl_info *info) in genl_info_net() function
506 return genlmsg_unicast(genl_info_net(info), skb, info->snd_portid); in genlmsg_reply()
/openbmc/linux/net/core/
H A Dnetdev-genl.c84 netdev = __dev_get_by_index(genl_info_net(info), ifindex); in netdev_nl_dev_get_doit()
/openbmc/linux/net/ethtool/
H A Dcabletest.c66 genl_info_net(info), info->extack, in ethnl_act_cable_test()
318 genl_info_net(info), info->extack, in ethnl_act_cable_test_tdr()
H A Dtunnels.c176 genl_info_net(info), info->extack, in ethnl_tunnel_info_doit()
H A Dfeatures.c230 genl_info_net(info), info->extack, in ethnl_set_features()
H A Dnetlink.c337 genl_info_net(info), info->extack, in ethnl_default_parse()
593 genl_info_net(info), info->extack, in ethnl_default_set_doit()
/openbmc/linux/net/smc/
H A Dsmc_pnet.c562 struct net *net = genl_info_net(info); in smc_pnet_add()
569 struct net *net = genl_info_net(info); in smc_pnet_del()
648 struct net *net = genl_info_net(info); in smc_pnet_get()
676 struct net *net = genl_info_net(info); in smc_pnet_flush()
/openbmc/linux/net/mptcp/
H A Dpm_userspace.c363 msk = mptcp_token_get_sock(genl_info_net(info), token_val); in mptcp_nl_cmd_sf_create()
486 msk = mptcp_token_get_sock(genl_info_net(info), token_val); in mptcp_nl_cmd_sf_destroy()
/openbmc/linux/net/ieee802154/
H A Dnl-phy.c284 dev = dev_get_by_name(genl_info_net(info), name); in ieee802154_del_iface()
H A Dnl802154.c2529 rdev = cfg802154_get_dev_from_info(genl_info_net(info), info); in nl802154_pre_doit()
2539 wpan_dev = __cfg802154_wpan_dev_from_attrs(genl_info_net(info), in nl802154_pre_doit()
/openbmc/linux/net/ipv4/
H A Dfou_core.c757 struct net *net = genl_info_net(info); in fou_nl_add_doit()
770 struct net *net = genl_info_net(info); in fou_nl_del_doit()
839 struct net *net = genl_info_net(info); in fou_nl_get_doit()
H A Dtcp_metrics.c844 struct net *net = genl_info_net(info); in tcp_metrics_nl_cmd_get()
931 struct net *net = genl_info_net(info); in tcp_metrics_nl_cmd_del()
/openbmc/linux/drivers/net/
H A Dmacsec.c1754 rx_sc = get_rxsc_from_nl(genl_info_net(info), attrs, tb_rxsc, &dev, &secy); in macsec_add_rxsa()
1900 dev = get_dev_from_nl(genl_info_net(info), attrs); in macsec_add_rxsc()
1995 dev = get_dev_from_nl(genl_info_net(info), attrs); in macsec_add_txsa()
2132 rx_sa = get_rxsa_from_nl(genl_info_net(info), attrs, tb_rxsc, tb_sa, in macsec_del_rxsa()
2196 dev = get_dev_from_nl(genl_info_net(info), info->attrs); in macsec_del_rxsc()
2257 tx_sa = get_txsa_from_nl(genl_info_net(info), attrs, tb_sa, in macsec_del_txsa()
2349 tx_sa = get_txsa_from_nl(genl_info_net(info), attrs, tb_sa, in macsec_upd_txsa()
2447 rx_sa = get_rxsa_from_nl(genl_info_net(info), attrs, tb_rxsc, tb_sa, in macsec_upd_rxsa()
2531 rx_sc = get_rxsc_from_nl(genl_info_net(info), attrs, tb_rxsc, &dev, &secy); in macsec_upd_rxsc()
2659 dev = get_dev_from_nl(genl_info_net(info), attrs); in macsec_upd_offload()
/openbmc/linux/net/openvswitch/
H A Ddatapath.c79 genl_has_listeners(family, genl_info_net(info), group); in ovs_must_notify()
2319 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info), in ovs_vport_cmd_new()
2380 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info), in ovs_vport_cmd_set()
2420 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info), in ovs_vport_cmd_del()
2467 err = ovs_vport_cmd_fill_info(vport, reply, genl_info_net(info), in ovs_vport_cmd_get()
/openbmc/linux/net/devlink/
H A Dnetlink.c134 devlink = devlink_get_from_attrs_lock(genl_info_net(info), info->attrs); in __devlink_nl_pre_doit()
/openbmc/linux/net/ncsi/
H A Dncsi-netlink.c172 ndp = ndp_from_ifindex(genl_info_net(info), in ncsi_pkg_info_nl()
/openbmc/linux/net/netlink/
H A Dgenetlink.c1317 if (!res->netnsok && !net_eq(genl_info_net(info), &init_net)) { in ctrl_getfamily()
1807 struct net *net = genl_info_net(info); in genl_notify()
/openbmc/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c4980 net = genl_info_net(info); in mac80211_hwsim_new_radio()
5540 if (hwsim_net_get_netgroup(genl_info_net(info)) != in hwsim_tx_info_frame_received_nl()
5652 if (hwsim_net_get_netgroup(genl_info_net(info)) != in hwsim_cloned_frame_received_nl()
5724 struct net *net = genl_info_net(info); in hwsim_register_received_nl()
6019 if (!net_eq(wiphy_net(data->hw->wiphy), genl_info_net(info))) in hwsim_del_radio_nl()
6053 if (!net_eq(wiphy_net(data->hw->wiphy), genl_info_net(info))) in hwsim_get_radio_nl()
/openbmc/linux/net/batman-adv/
H A Dnetlink.c1274 struct net *net = genl_info_net(info); in batadv_pre_doit()
/openbmc/linux/net/tipc/
H A Dbearer.c919 struct net *net = genl_info_net(info); in tipc_nl_bearer_get()

12