Home
last modified time | relevance | path

Searched refs:dest_net (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/net/devlink/
Ddev.c365 struct net *dest_net) in devlink_reload_netns_change() argument
373 write_pnet(&devlink->_net, dest_net); in devlink_reload_netns_change()
377 int devlink_reload(struct devlink *devlink, struct net *dest_net, in devlink_reload() argument
389 err = devlink->ops->reload_down(devlink, !!dest_net, action, limit, extack); in devlink_reload()
394 if (dest_net && !net_eq(dest_net, curr_net)) in devlink_reload()
395 devlink_reload_netns_change(devlink, curr_net, dest_net); in devlink_reload()
450 struct net *dest_net = NULL; in devlink_nl_cmd_reload() local
501 dest_net = devlink_netns_get(skb, info); in devlink_nl_cmd_reload()
502 if (IS_ERR(dest_net)) in devlink_nl_cmd_reload()
503 return PTR_ERR(dest_net); in devlink_nl_cmd_reload()
[all …]
Ddevl_internal.h185 int devlink_reload(struct devlink *devlink, struct net *dest_net,
/linux-6.6.21/include/linux/
Datalk.h38 __be16 dest_net; member
/linux-6.6.21/net/appletalk/
Datalk_proc.c180 ntohs(at->dest_net), at->dest_node, at->dest_port, in atalk_seq_socket_show()
Dddp.c1233 at->dest_net = addr->sat_addr.s_net; in atalk_connect()
1269 sat.sat_addr.s_net = at->dest_net; in atalk_getname()
1616 usat->sat_addr.s_net = at->dest_net; in atalk_sendmsg()
/linux-6.6.21/net/core/
Drtnetlink.c3440 struct net *dest_net, *link_net; in rtnl_newlink_create() local
3455 dest_net = rtnl_link_get_net_capable(skb, net, tb, CAP_NET_ADMIN); in rtnl_newlink_create()
3456 if (IS_ERR(dest_net)) in rtnl_newlink_create()
3457 return PTR_ERR(dest_net); in rtnl_newlink_create()
3462 link_net = get_net_ns_by_id(dest_net, id); in rtnl_newlink_create()
3475 dev = rtnl_create_link(link_net ? : dest_net, ifname, in rtnl_newlink_create()
3497 err = dev_change_net_namespace(dev, dest_net, ifname); in rtnl_newlink_create()
3509 put_net(dest_net); in rtnl_newlink_create()