Home
last modified time | relevance | path

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

/external/libnl/lib/route/
Daddr.c849 static inline int __assign_addr(struct rtnl_addr *addr, struct nl_addr **pos, in __assign_addr() function
871 err = __assign_addr(addr, &addr->a_local, local, ADDR_ATTR_LOCAL); in rtnl_addr_set_local()
890 return __assign_addr(addr, &addr->a_peer, peer, ADDR_ATTR_PEER); in rtnl_addr_set_peer()
905 return __assign_addr(addr, &addr->a_bcast, bcast, ADDR_ATTR_BROADCAST); in rtnl_addr_set_broadcast()
915 return __assign_addr(addr, &addr->a_multicast, multicast, in rtnl_addr_set_multicast()
926 return __assign_addr(addr, &addr->a_anycast, anycast, in rtnl_addr_set_anycast()
Dneigh.c762 static inline int __assign_addr(struct rtnl_neigh *neigh, struct nl_addr **pos, in __assign_addr() function
788 __assign_addr(neigh, &neigh->n_lladdr, addr, NEIGH_ATTR_LLADDR, 1); in rtnl_neigh_set_lladdr()
801 return __assign_addr(neigh, &neigh->n_dst, addr, in rtnl_neigh_set_dst()
Drule.c659 static inline int __assign_addr(struct rtnl_rule *rule, struct nl_addr **pos, in __assign_addr() function
682 return __assign_addr(rule, &rule->r_src, src, &rule->r_src_len, in rtnl_rule_set_src()
696 return __assign_addr(rule, &rule->r_dst, dst, &rule->r_dst_len, in rtnl_rule_set_dst()
Dlink.c1185 static inline void __assign_addr(struct rtnl_link *link, struct nl_addr **pos, in __assign_addr() function
1199 __assign_addr(link, &link->l_addr, addr, LINK_ATTR_ADDR); in rtnl_link_set_addr()
1212 __assign_addr(link, &link->l_bcast, brd, LINK_ATTR_BRD); in rtnl_link_set_broadcast()