Home
last modified time | relevance | path

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

/external/libnl/lib/route/
Daddr.c905 static inline int __assign_addr(struct rtnl_addr *addr, struct nl_addr **pos, in __assign_addr() function
940 err = __assign_addr(addr, &addr->a_local, local, ADDR_ATTR_LOCAL); in rtnl_addr_set_local()
963 err = __assign_addr(addr, &addr->a_peer, peer, ADDR_ATTR_PEER); in rtnl_addr_set_peer()
982 return __assign_addr(addr, &addr->a_bcast, bcast, ADDR_ATTR_BROADCAST); in rtnl_addr_set_broadcast()
995 return __assign_addr(addr, &addr->a_multicast, multicast, in rtnl_addr_set_multicast()
1009 return __assign_addr(addr, &addr->a_anycast, anycast, in rtnl_addr_set_anycast()
Drule.c606 static inline int __assign_addr(struct rtnl_rule *rule, struct nl_addr **pos, in __assign_addr() function
628 return __assign_addr(rule, &rule->r_src, src, RULE_ATTR_SRC); in rtnl_rule_set_src()
638 return __assign_addr(rule, &rule->r_dst, dst, RULE_ATTR_DST); in rtnl_rule_set_dst()
Dneigh.c835 static inline int __assign_addr(struct rtnl_neigh *neigh, struct nl_addr **pos, in __assign_addr() function
861 __assign_addr(neigh, &neigh->n_lladdr, addr, NEIGH_ATTR_LLADDR, 1); in rtnl_neigh_set_lladdr()
874 return __assign_addr(neigh, &neigh->n_dst, addr, in rtnl_neigh_set_dst()
Dlink.c1697 static inline void __assign_addr(struct rtnl_link *link, struct nl_addr **pos, in __assign_addr() function
1722 __assign_addr(link, &link->l_addr, addr, LINK_ATTR_ADDR); in rtnl_link_set_addr()
1753 __assign_addr(link, &link->l_bcast, addr, LINK_ATTR_BRD); in rtnl_link_set_broadcast()