Deleted Added
full compact
ip6_input.c (122320) ip6_input.c (122921)
1/* $FreeBSD: head/sys/netinet6/ip6_input.c 122320 2003-11-08 22:28:40Z sam $ */
1/* $FreeBSD: head/sys/netinet6/ip6_input.c 122921 2003-11-20 19:47:31Z andre $ */
2/* $KAME: ip6_input.c,v 1.259 2002/01/21 04:58:09 jinmei Exp $ */
3
4/*
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 484 unchanged lines hidden (view full) ---

494 }
495
496 bzero(&ip6_forward_rt.ro_dst, sizeof(struct sockaddr_in6));
497 dst6 = (struct sockaddr_in6 *)&ip6_forward_rt.ro_dst;
498 dst6->sin6_len = sizeof(struct sockaddr_in6);
499 dst6->sin6_family = AF_INET6;
500 dst6->sin6_addr = ip6->ip6_dst;
501
2/* $KAME: ip6_input.c,v 1.259 2002/01/21 04:58:09 jinmei Exp $ */
3
4/*
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 484 unchanged lines hidden (view full) ---

494 }
495
496 bzero(&ip6_forward_rt.ro_dst, sizeof(struct sockaddr_in6));
497 dst6 = (struct sockaddr_in6 *)&ip6_forward_rt.ro_dst;
498 dst6->sin6_len = sizeof(struct sockaddr_in6);
499 dst6->sin6_family = AF_INET6;
500 dst6->sin6_addr = ip6->ip6_dst;
501
502 rtalloc_ign((struct route *)&ip6_forward_rt, RTF_PRCLONING);
502 rtalloc((struct route *)&ip6_forward_rt);
503 }
504
505#define rt6_key(r) ((struct sockaddr_in6 *)((r)->rt_nodes->rn_key))
506
507 /*
508 * Accept the packet if the forwarding interface to the destination
509 * according to the routing table is the loopback interface,
510 * unless the associated route has a gateway.

--- 1066 unchanged lines hidden ---
503 }
504
505#define rt6_key(r) ((struct sockaddr_in6 *)((r)->rt_nodes->rn_key))
506
507 /*
508 * Accept the packet if the forwarding interface to the destination
509 * according to the routing table is the loopback interface,
510 * unless the associated route has a gateway.

--- 1066 unchanged lines hidden ---