Lines Matching refs:addr6
98 const struct in6_addr *addr6; in lookup_ptr() local
103 addr6 = key.addr6; in lookup_ptr()
106 if (!IN6_IS_SCOPE_LINKLOCAL(addr6)) { in lookup_ptr()
107 ret = rte_lpm6_lookup(lpm6, (const uint8_t *)addr6, &nhidx); in lookup_ptr()
120 return (lookup_ptr_ll(lpm6, addr6, scopeid)); in lookup_ptr()
161 const struct in6_addr addr6, int plen, uint32_t scopeid) in handle_ll_change() argument
168 pack_parent_rule(struct dpdk_lpm6_data *dd, const struct in6_addr *addr6, int plen, in pack_parent_rule() argument
177 rt = rt_get_inet6_parent(dd->fibnum, addr6, plen); in pack_parent_rule()
196 const struct in6_addr *addr6, int plen) in handle_gu_change() argument
200 inet_ntop(AF_INET6, addr6, abuf, sizeof(abuf)); in handle_gu_change()
214 ret = rte_lpm6_add(dd->lpm6, (const uint8_t *)addr6, in handle_gu_change()
229 lsp_rule = pack_parent_rule(dd, addr6, plen, &parent_plen, in handle_gu_change()
232 ret = rte_lpm6_delete(dd->lpm6, (const uint8_t *)addr6, plen, lsp_rule); in handle_gu_change()
251 struct in6_addr addr6; in handle_any_change() local
255 rt_get_inet6_prefix_plen(rc->rc_rt, &addr6, &plen, &scopeid); in handle_any_change()
257 if (IN6_IS_SCOPE_LINKLOCAL(&addr6)) in handle_any_change()
258 ret = handle_ll_change(dd, rc, addr6, plen, scopeid); in handle_any_change()
262 ret = handle_gu_change(dd, rc, &addr6, plen); in handle_any_change()
301 struct in6_addr addr6; in add_route_cb() local
307 rt_get_inet6_prefix_plen(rt, &addr6, &plen, &scopeid); in add_route_cb()
310 if (IN6_IS_SCOPE_LINKLOCAL(&addr6)) { in add_route_cb()
322 inet_ntop(AF_INET6, &addr6, abuf, sizeof(abuf)); in add_route_cb()
340 ret = rte_lpm6_add(dd->lpm6, (const uint8_t *)&addr6, plen, nhidx, 1); in add_route_cb()