Deleted Added
full compact
ip6_forward.c (134383) ip6_forward.c (135920)
1/* $FreeBSD: head/sys/netinet6/ip6_forward.c 134383 2004-08-27 15:16:24Z andre $ */
1/* $FreeBSD: head/sys/netinet6/ip6_forward.c 135920 2004-09-29 04:54:33Z mlaier $ */
2/* $KAME: ip6_forward.c,v 1.69 2001/05/17 03:48:30 itojun 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

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

575 in6_clearscope(&ip6->ip6_src);
576 in6_clearscope(&ip6->ip6_dst);
577
578 /* Jump over all PFIL processing if hooks are not active. */
579 if (inet6_pfil_hook.ph_busy_count == -1)
580 goto pass;
581
582 /* Run through list of hooks for output packets. */
2/* $KAME: ip6_forward.c,v 1.69 2001/05/17 03:48:30 itojun 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

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

575 in6_clearscope(&ip6->ip6_src);
576 in6_clearscope(&ip6->ip6_dst);
577
578 /* Jump over all PFIL processing if hooks are not active. */
579 if (inet6_pfil_hook.ph_busy_count == -1)
580 goto pass;
581
582 /* Run through list of hooks for output packets. */
583 error = pfil_run_hooks(&inet6_pfil_hook, &m, rt->rt_ifp, PFIL_OUT);
583 error = pfil_run_hooks(&inet6_pfil_hook, &m, rt->rt_ifp, PFIL_OUT, NULL);
584 if (error != 0)
585 goto senderr;
586 if (m == NULL)
587 goto freecopy;
588 ip6 = mtod(m, struct ip6_hdr *);
589
590pass:
591 error = nd6_output(rt->rt_ifp, origifp, m, dst, rt);

--- 49 unchanged lines hidden ---
584 if (error != 0)
585 goto senderr;
586 if (m == NULL)
587 goto freecopy;
588 ip6 = mtod(m, struct ip6_hdr *);
589
590pass:
591 error = nd6_output(rt->rt_ifp, origifp, m, dst, rt);

--- 49 unchanged lines hidden ---