1/* $FreeBSD: head/sys/netinet6/ip6_mroute.c 105194 2002-10-16 01:54:46Z sam $ */
2/* $KAME: ip6_mroute.c,v 1.58 2001/12/18 02:36:31 itojun Exp $ */
3
4/*
5 * Copyright (C) 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
--- 1434 unchanged lines hidden (view full) ---
1444 if (m->m_pkthdr.rcvif == NULL) {
1445 struct ip6_moptions im6o;
1446
1447 im6o.im6o_multicast_ifp = ifp;
1448 /* XXX: ip6_output will override ip6->ip6_hlim */
1449 im6o.im6o_multicast_hlim = ip6->ip6_hlim;
1450 im6o.im6o_multicast_loop = 1;
1451 error = ip6_output(mb_copy, NULL, &ro,
1452 IPV6_FORWARDING, &im6o, NULL, NULL);
1453
1454#ifdef MRT6DEBUG
1455 if (mrt6debug & DEBUG_XMIT)
1456 log(LOG_DEBUG, "phyint_send on mif %d err %d\n",
1457 mifp - mif6table, error);
1458#endif
1459 splx(s);
1460 return;
--- 354 unchanged lines hidden ---
2/* $KAME: ip6_mroute.c,v 1.58 2001/12/18 02:36:31 itojun Exp $ */
3
4/*
5 * Copyright (C) 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
--- 1434 unchanged lines hidden (view full) ---
1444 if (m->m_pkthdr.rcvif == NULL) {
1445 struct ip6_moptions im6o;
1446
1447 im6o.im6o_multicast_ifp = ifp;
1448 /* XXX: ip6_output will override ip6->ip6_hlim */
1449 im6o.im6o_multicast_hlim = ip6->ip6_hlim;
1450 im6o.im6o_multicast_loop = 1;
1451 error = ip6_output(mb_copy, NULL, &ro,
1452 IPV6_FORWARDING, &im6o, NULL, NULL);
1453
1454#ifdef MRT6DEBUG
1455 if (mrt6debug & DEBUG_XMIT)
1456 log(LOG_DEBUG, "phyint_send on mif %d err %d\n",
1457 mifp - mif6table, error);
1458#endif
1459 splx(s);
1460 return;
--- 354 unchanged lines hidden ---