Searched refs:rt_mask_const (Results 1 – 3 of 3) sorted by relevance
239 dst = (const struct sockaddr_in *)rt_mask_const(rt); in rt_get_inet_prefix_plen()262 dst = (const struct sockaddr_in *)rt_mask_const(rt); in rt_get_inet_prefix_pmask()298 dst = (const struct sockaddr_in6 *)rt_mask_const(rt); in rt_get_inet6_prefix_plen()323 dst = (const struct sockaddr_in6 *)rt_mask_const(rt); in rt_get_inet6_prefix_pmask()
374 return (lookup_prefix_bysa(rnh, rt_key_const(rt), rt_mask_const(rt), rnd)); in lookup_prefix_rt()1226 rn = rnh->rnh_addaddr(rt_key(rt), rt_mask_const(rt), &rnh->head, rt->rt_nodes); in add_route()1261 rn = rnh->rnh_deladdr(rt_key_const(rt), rt_mask_const(rt), &rnh->head); in delete_route()
158 #define rt_mask_const(r) (*((const struct sockaddr * const *)(&(r)->rt_nodes->rn_mask))) macro