Searched refs:dst_sock (Results 1 – 1 of 1) sorted by relevance
2258 static struct sockaddr_in dst_sock = {AF_INET}; variable2282 dst_sock.sin_addr.s_addr = dst; in rtget()2284 rt = (struct rt_entry *)rhead->rnh_lookup(&dst_sock, &mask_sock, rhead); in rtget()2296 dst_sock.sin_addr.s_addr = dst; in rtfind()2297 return ((struct rt_entry *)rhead->rnh_matchaddr(&dst_sock, rhead)); in rtfind()2481 dst_sock.sin_addr.s_addr = rt->rt_dst; in rtdelete()2484 ((struct rt_entry *)rhead->rnh_deladdr(&dst_sock, &mask_sock, in rtdelete()2495 if (dst_sock.sin_addr.s_addr == RIP_DEFAULT) { in rtdelete()