Home
last modified time | relevance | path

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

/third_party/libnl/lib/route/
Daddr.c977 static inline int __assign_addr(struct rtnl_addr *addr, struct nl_addr **pos, in __assign_addr() function
1012 err = __assign_addr(addr, &addr->a_local, local, ADDR_ATTR_LOCAL); in rtnl_addr_set_local()
1035 err = __assign_addr(addr, &addr->a_peer, peer, ADDR_ATTR_PEER); in rtnl_addr_set_peer()
1054 return __assign_addr(addr, &addr->a_bcast, bcast, ADDR_ATTR_BROADCAST); in rtnl_addr_set_broadcast()
1067 return __assign_addr(addr, &addr->a_multicast, multicast, in rtnl_addr_set_multicast()
1081 return __assign_addr(addr, &addr->a_anycast, anycast, in rtnl_addr_set_anycast()
Dneigh.c973 static inline int __assign_addr(struct rtnl_neigh *neigh, struct nl_addr **pos, in __assign_addr() function
999 __assign_addr(neigh, &neigh->n_lladdr, addr, NEIGH_ATTR_LLADDR, 1); in rtnl_neigh_set_lladdr()
1012 return __assign_addr(neigh, &neigh->n_dst, addr, in rtnl_neigh_set_dst()
Drule.c694 static inline int __assign_addr(struct rtnl_rule *rule, struct nl_addr **pos, in __assign_addr() function
716 return __assign_addr(rule, &rule->r_src, src, RULE_ATTR_SRC); in rtnl_rule_set_src()
726 return __assign_addr(rule, &rule->r_dst, dst, RULE_ATTR_DST); in rtnl_rule_set_dst()
Dlink.c2000 static inline void __assign_addr(struct rtnl_link *link, struct nl_addr **pos, in __assign_addr() function
2025 __assign_addr(link, &link->l_addr, addr, LINK_ATTR_ADDR); in rtnl_link_set_addr()
2056 __assign_addr(link, &link->l_bcast, addr, LINK_ATTR_BRD); in rtnl_link_set_broadcast()
/third_party/libnl/lib/xfrm/
Dae.c666 static inline int __assign_addr(struct xfrmnl_ae* ae, struct nl_addr **pos, in __assign_addr() function
701 return __assign_addr(ae, &ae->sa_id.daddr, addr, XFRM_AE_ATTR_DADDR, 0); in xfrmnl_ae_set_daddr()
762 return __assign_addr(ae, &ae->saddr, addr, XFRM_AE_ATTR_SADDR, 1); in xfrmnl_ae_set_saddr()
Dsa.c1420 static inline int __assign_addr(struct xfrmnl_sa* sa, struct nl_addr **pos, in __assign_addr() function
1454 return __assign_addr(sa, &sa->id.daddr, addr, XFRM_SA_ATTR_DADDR, 0); in xfrmnl_sa_set_daddr()
1499 return __assign_addr(sa, &sa->saddr, addr, XFRM_SA_ATTR_SADDR, 1); in xfrmnl_sa_set_saddr()