Home
last modified time | relevance | path

Searched refs:fillargs (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/net/core/
Dnet_namespace.c878 struct net_fill_args fillargs = { in rtnl_net_getid() local
924 fillargs.add_ref = true; in rtnl_net_getid()
925 fillargs.ref_nsid = peernet2id(net, peer); in rtnl_net_getid()
934 fillargs.nsid = peernet2id(target, peer); in rtnl_net_getid()
935 err = rtnl_net_fill(msg, &fillargs); in rtnl_net_getid()
945 if (fillargs.add_ref) in rtnl_net_getid()
955 struct net_fill_args fillargs; member
969 net_cb->fillargs.nsid = id; in rtnl_net_dumpid_one()
970 if (net_cb->fillargs.add_ref) in rtnl_net_dumpid_one()
971 net_cb->fillargs.ref_nsid = __peernet2id(net_cb->ref_net, peer); in rtnl_net_dumpid_one()
[all …]
/Linux-v5.10/net/ipv4/
Ddevinet.c1717 struct inet_fill_args *fillargs, in inet_valid_dump_ifaddr_req() argument
1737 fillargs->ifindex = ifm->ifa_index; in inet_valid_dump_ifaddr_req()
1738 if (fillargs->ifindex) { in inet_valid_dump_ifaddr_req()
1740 fillargs->flags |= NLM_F_DUMP_FILTERED; in inet_valid_dump_ifaddr_req()
1755 fillargs->netnsid = nla_get_s32(tb[i]); in inet_valid_dump_ifaddr_req()
1757 net = rtnl_get_net_ns_capable(sk, fillargs->netnsid); in inet_valid_dump_ifaddr_req()
1759 fillargs->netnsid = -1; in inet_valid_dump_ifaddr_req()
1775 struct inet_fill_args *fillargs) in in_dev_dump_addr() argument
1786 err = inet_fill_ifaddr(skb, ifa, fillargs); in in_dev_dump_addr()
1804 struct inet_fill_args fillargs = { in inet_dump_ifaddr() local
[all …]
/Linux-v5.10/net/ipv6/
Daddrconf.c5079 struct inet6_fill_args *fillargs) in in6_dump_addrs() argument
5087 switch (fillargs->type) { in in6_dump_addrs()
5090 fillargs->event = RTM_NEWADDR; in in6_dump_addrs()
5096 err = inet6_fill_ifaddr(skb, ifa, fillargs); in in6_dump_addrs()
5106 fillargs->event = RTM_GETMULTICAST; in in6_dump_addrs()
5113 err = inet6_fill_ifmcaddr(skb, ifmca, fillargs); in in6_dump_addrs()
5119 fillargs->event = RTM_GETANYCAST; in in6_dump_addrs()
5125 err = inet6_fill_ifacaddr(skb, ifaca, fillargs); in in6_dump_addrs()
5139 struct inet6_fill_args *fillargs, in inet6_valid_dump_ifaddr_req() argument
5159 fillargs->ifindex = ifm->ifa_index; in inet6_valid_dump_ifaddr_req()
[all …]