Deleted Added
full compact
ip6_mroute.c (109623) ip6_mroute.c (111119)
1/* $FreeBSD: head/sys/netinet6/ip6_mroute.c 109623 2003-01-21 08:56:16Z alfred $ */
1/* $FreeBSD: head/sys/netinet6/ip6_mroute.c 111119 2003-02-19 05:47:46Z imp $ */
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

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

1526#ifdef MRT6DEBUG
1527 if (mrt6debug)
1528 log(LOG_DEBUG, "** IPv6 register_send **\n src %s dst %s\n",
1529 ip6_sprintf(&ip6->ip6_src), ip6_sprintf(&ip6->ip6_dst));
1530#endif
1531 ++pim6stat.pim6s_snd_registers;
1532
1533 /* Make a copy of the packet to send to the user level process */
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

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

1526#ifdef MRT6DEBUG
1527 if (mrt6debug)
1528 log(LOG_DEBUG, "** IPv6 register_send **\n src %s dst %s\n",
1529 ip6_sprintf(&ip6->ip6_src), ip6_sprintf(&ip6->ip6_dst));
1530#endif
1531 ++pim6stat.pim6s_snd_registers;
1532
1533 /* Make a copy of the packet to send to the user level process */
1534 MGETHDR(mm, M_NOWAIT, MT_HEADER);
1534 MGETHDR(mm, M_DONTWAIT, MT_HEADER);
1535 if (mm == NULL)
1536 return ENOBUFS;
1537 mm->m_pkthdr.rcvif = NULL;
1538 mm->m_data += max_linkhdr;
1539 mm->m_len = sizeof(struct ip6_hdr);
1540
1541 if ((mm->m_next = m_copy(m, 0, M_COPYALL)) == NULL) {
1542 m_freem(mm);

--- 272 unchanged lines hidden ---
1535 if (mm == NULL)
1536 return ENOBUFS;
1537 mm->m_pkthdr.rcvif = NULL;
1538 mm->m_data += max_linkhdr;
1539 mm->m_len = sizeof(struct ip6_hdr);
1540
1541 if ((mm->m_next = m_copy(m, 0, M_COPYALL)) == NULL) {
1542 m_freem(mm);

--- 272 unchanged lines hidden ---