Home
last modified time | relevance | path

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

/linux-6.1.9/net/core/
Dnet_namespace.c884 struct net_fill_args fillargs = { in rtnl_net_getid() local
930 fillargs.add_ref = true; in rtnl_net_getid()
931 fillargs.ref_nsid = peernet2id(net, peer); in rtnl_net_getid()
940 fillargs.nsid = peernet2id(target, peer); in rtnl_net_getid()
941 err = rtnl_net_fill(msg, &fillargs); in rtnl_net_getid()
951 if (fillargs.add_ref) in rtnl_net_getid()
961 struct net_fill_args fillargs; member
975 net_cb->fillargs.nsid = id; in rtnl_net_dumpid_one()
976 if (net_cb->fillargs.add_ref) in rtnl_net_dumpid_one()
977 net_cb->fillargs.ref_nsid = __peernet2id(net_cb->ref_net, peer); in rtnl_net_dumpid_one()
[all …]
/linux-6.1.9/net/ipv4/
Ddevinet.c1723 struct inet_fill_args *fillargs, in inet_valid_dump_ifaddr_req() argument
1743 fillargs->ifindex = ifm->ifa_index; in inet_valid_dump_ifaddr_req()
1744 if (fillargs->ifindex) { in inet_valid_dump_ifaddr_req()
1746 fillargs->flags |= NLM_F_DUMP_FILTERED; in inet_valid_dump_ifaddr_req()
1761 fillargs->netnsid = nla_get_s32(tb[i]); in inet_valid_dump_ifaddr_req()
1763 net = rtnl_get_net_ns_capable(sk, fillargs->netnsid); in inet_valid_dump_ifaddr_req()
1765 fillargs->netnsid = -1; in inet_valid_dump_ifaddr_req()
1781 struct inet_fill_args *fillargs) in in_dev_dump_addr() argument
1792 err = inet_fill_ifaddr(skb, ifa, fillargs); in in_dev_dump_addr()
1810 struct inet_fill_args fillargs = { in inet_dump_ifaddr() local
[all …]
/linux-6.1.9/net/ipv6/
Daddrconf.c5148 struct inet6_fill_args *fillargs) in in6_dump_addrs() argument
5156 switch (fillargs->type) { in in6_dump_addrs()
5159 fillargs->event = RTM_NEWADDR; in in6_dump_addrs()
5165 err = inet6_fill_ifaddr(skb, ifa, fillargs); in in6_dump_addrs()
5176 fillargs->event = RTM_GETMULTICAST; in in6_dump_addrs()
5184 err = inet6_fill_ifmcaddr(skb, ifmca, fillargs); in in6_dump_addrs()
5191 fillargs->event = RTM_GETANYCAST; in in6_dump_addrs()
5197 err = inet6_fill_ifacaddr(skb, ifaca, fillargs); in in6_dump_addrs()
5211 struct inet6_fill_args *fillargs, in inet6_valid_dump_ifaddr_req() argument
5231 fillargs->ifindex = ifm->ifa_index; in inet6_valid_dump_ifaddr_req()
[all …]