ip_output.c (120386) | ip_output.c (120727) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1988, 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)ip_output.c 8.3 (Berkeley) 1/21/94 | 1/* 2 * Copyright (c) 1982, 1986, 1988, 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)ip_output.c 8.3 (Berkeley) 1/21/94 |
34 * $FreeBSD: head/sys/netinet/ip_output.c 120386 2003-09-23 17:54:04Z sam $ | 34 * $FreeBSD: head/sys/netinet/ip_output.c 120727 2003-10-04 03:44:50Z sam $ |
35 */ 36 37#include "opt_ipfw.h" 38#include "opt_ipdn.h" 39#include "opt_ipdivert.h" 40#include "opt_ipfilter.h" 41#include "opt_ipsec.h" 42#include "opt_mac.h" --- 1938 unchanged lines hidden (view full) --- 1981 dst->sin_addr = mreq.imr_multiaddr; 1982 rtalloc(&ro); 1983 if (ro.ro_rt == NULL) { 1984 error = EADDRNOTAVAIL; 1985 splx(s); 1986 break; 1987 } 1988 ifp = ro.ro_rt->rt_ifp; | 35 */ 36 37#include "opt_ipfw.h" 38#include "opt_ipdn.h" 39#include "opt_ipdivert.h" 40#include "opt_ipfilter.h" 41#include "opt_ipsec.h" 42#include "opt_mac.h" --- 1938 unchanged lines hidden (view full) --- 1981 dst->sin_addr = mreq.imr_multiaddr; 1982 rtalloc(&ro); 1983 if (ro.ro_rt == NULL) { 1984 error = EADDRNOTAVAIL; 1985 splx(s); 1986 break; 1987 } 1988 ifp = ro.ro_rt->rt_ifp; |
1989 rtfree(ro.ro_rt); | 1989 RTFREE(ro.ro_rt); |
1990 } 1991 else { 1992 ifp = ip_multicast_if(&mreq.imr_interface, NULL); 1993 } 1994 1995 /* 1996 * See if we found an interface, and confirm that it 1997 * supports multicast. --- 263 unchanged lines hidden --- | 1990 } 1991 else { 1992 ifp = ip_multicast_if(&mreq.imr_interface, NULL); 1993 } 1994 1995 /* 1996 * See if we found an interface, and confirm that it 1997 * supports multicast. --- 263 unchanged lines hidden --- |