Home
last modified time | relevance | path

Searched refs:nl_addr_alloc_attr (Results 1 – 8 of 8) sorted by relevance

/external/libnl/lib/netfilter/
Dct.c116 addr = nl_addr_alloc_attr(tb[CTA_IP_V4_SRC], AF_INET); in ct_parse_ip()
125 addr = nl_addr_alloc_attr(tb[CTA_IP_V4_DST], AF_INET); in ct_parse_ip()
134 addr = nl_addr_alloc_attr(tb[CTA_IP_V6_SRC], AF_INET6); in ct_parse_ip()
143 addr = nl_addr_alloc_attr(tb[CTA_IP_V6_DST], AF_INET6); in ct_parse_ip()
/external/libnl/include/netlink/
Daddr.h25 extern struct nl_addr * nl_addr_alloc_attr(struct nlattr *, int);
/external/libnl/lib/route/
Daddr.c235 addr->a_local = nl_addr_alloc_attr(tb[IFA_LOCAL], family); in addr_msg_parser()
244 a = nl_addr_alloc_attr(tb[IFA_ADDRESS], family); in addr_msg_parser()
266 addr->a_bcast = nl_addr_alloc_attr(tb[IFA_BROADCAST], family); in addr_msg_parser()
274 addr->a_multicast = nl_addr_alloc_attr(tb[IFA_MULTICAST], in addr_msg_parser()
283 addr->a_anycast = nl_addr_alloc_attr(tb[IFA_ANYCAST], in addr_msg_parser()
Droute_obj.c879 addr = nl_addr_alloc_attr(ntb[RTA_GATEWAY], in parse_multipath()
947 if (!(dst = nl_addr_alloc_attr(tb[RTA_DST], family))) in rtnl_route_parse()
963 if (!(src = nl_addr_alloc_attr(tb[RTA_SRC], family))) in rtnl_route_parse()
982 if (!(addr = nl_addr_alloc_attr(tb[RTA_PREFSRC], family))) in rtnl_route_parse()
1026 if (!(addr = nl_addr_alloc_attr(tb[RTA_GATEWAY], family))) in rtnl_route_parse()
Drule.c117 if (!(rule->r_src = nl_addr_alloc_attr(tb[RTA_SRC], family))) in rule_msg_parser()
124 if (!(rule->r_dst = nl_addr_alloc_attr(tb[RTA_DST], family))) in rule_msg_parser()
146 rule->r_srcmap = nl_addr_alloc_attr(tb[RTA_GATEWAY], family); in rule_msg_parser()
Dneigh.c284 neigh->n_lladdr = nl_addr_alloc_attr(tb[NDA_LLADDR], AF_UNSPEC); in neigh_msg_parser()
295 neigh->n_dst = nl_addr_alloc_attr(tb[NDA_DST], neigh->n_family); in neigh_msg_parser()
Dlink.c333 link->l_addr = nl_addr_alloc_attr(tb[IFLA_ADDRESS], AF_UNSPEC); in link_msg_parser()
344 link->l_bcast = nl_addr_alloc_attr(tb[IFLA_BROADCAST], in link_msg_parser()
/external/libnl/lib/
Daddr.c213 struct nl_addr *nl_addr_alloc_attr(struct nlattr *nla, int family) in nl_addr_alloc_attr() function