Lines Matching refs:next_hop
558 args.next_hop = NULL;
587 args.next_hop = ipfwd_tag->next_hop;
781 if (args.next_hop)
797 if (i == 0 && args.next_hop == NULL) { /* common case */
815 if (i == 0 && args.next_hop != NULL) {
836 if (hlen > sizeof (struct ip) && ip_dooptions(m, 0, args.next_hop, &ipforward_rt)) {
867 pkt_dst = args.next_hop == NULL ?
868 ip->ip_dst : args.next_hop->sin_addr;
890 && (args.next_hop == NULL);
1022 ip_forward(m, 0, args.next_hop, &ipforward_rt);
1221 if (args.next_hop && ip->ip_p == IPPROTO_TCP) {
1233 ipfwd_tag->next_hop = args.next_hop;
1642 ip_dooptions(struct mbuf *m, __unused int pass, struct sockaddr_in *next_hop, struct route *ipforward_rt)
1894 ip_forward(m, 1, next_hop, ipforward_rt);
2083 ip_forward(struct mbuf *m, int srcrt, struct sockaddr_in *next_hop, struct route *ipforward_rt)
2102 pkt_dst = next_hop ? next_hop->sin_addr : ip->ip_dst;
2207 if (next_hop) {
2221 ipfwd_tag->next_hop = next_hop;