Home | History | Annotate | Download | only in route6d

Lines Matching defs:nh

687 	struct in6_addr *nh;	/* next hop */
702 nrt = 0; nip = ripbuf->rip6_nets; nh = NULL;
711 nh = NULL;
748 nrt = 0; nip = ripbuf->rip6_nets; nh = NULL;
770 if (nh == NULL || !IN6_ARE_ADDR_EQUAL(nh, &rrt->rrt_gw)) {
779 nh = &rrt->rrt_gw;
782 } else if (nh && (rrt->rrt_index != ifcp->ifc_index ||
783 !IN6_ARE_ADDR_EQUAL(nh, &rrt->rrt_gw) ||
790 nh = NULL;
799 nh = NULL;
969 struct in6_addr nh; /* next hop */
1020 nh = fsock.sin6_addr;
1063 ifcp->ifc_name, inet6_n2p(&nh), ntohs(fsock.sin6_port), (int)nn);
1071 nh = np->rip6_dest;
1072 SET_IN6_LINKLOCAL_IFINDEX(nh, idx);
1073 trace(1, "\tNexthop: %s\n", inet6_n2p(&nh));
1075 nh = fsock.sin6_addr;
1076 trace(1, "\tNexthop: %s\n", inet6_n2p(&nh));
1078 nh = fsock.sin6_addr;
1159 IN6_ARE_ADDR_EQUAL(&nh, &rrt->rrt_gw)) {
1167 rrt->rrt_gw = nh;
1169 addroute(rrt, &nh, ifcp);
1176 IN6_ARE_ADDR_EQUAL(&nh, &rrt->rrt_gw)) {
1185 IN6_ARE_ADDR_EQUAL(&nh, &rrt->rrt_gw)) {
1193 rrt->rrt_gw = nh;
1195 addroute(rrt, &nh, ifcp);
1215 rrt->rrt_gw = nh;
1225 addroute(rrt, &nh, ifcp);