ng_iface.c (40f65a4df509c6b29b9e72407c7afefe28838844) | ng_iface.c (c495c9356770443e21a88170ddfc517826cfaadc) |
---|---|
1/* 2 * ng_iface.c 3 */ 4 5/*- 6 * Copyright (c) 1996-1999 Whistle Communications, Inc. 7 * All rights reserved. 8 * --- 760 unchanged lines hidden (view full) --- 769 case AF_APPLETALK: 770 isr = NETISR_ATALK2; 771 break; 772#endif 773 default: 774 m_freem(m); 775 return (EAFNOSUPPORT); 776 } | 1/* 2 * ng_iface.c 3 */ 4 5/*- 6 * Copyright (c) 1996-1999 Whistle Communications, Inc. 7 * All rights reserved. 8 * --- 760 unchanged lines hidden (view full) --- 769 case AF_APPLETALK: 770 isr = NETISR_ATALK2; 771 break; 772#endif 773 default: 774 m_freem(m); 775 return (EAFNOSUPPORT); 776 } |
777 /* First chunk of an mbuf contains good junk */ | |
778 if (harvest.point_to_point) | 777 if (harvest.point_to_point) |
779 random_harvest(m, 16, 3, 0, RANDOM_NET); | 778 random_harvest(&(m->m_data), 12, 3, 0, RANDOM_NET_NG); |
780 M_SETFIB(m, ifp->if_fib); 781 netisr_dispatch(isr, m); 782 return (0); 783} 784 785/* 786 * Shutdown and remove the node and its associated interface. 787 */ --- 74 unchanged lines hidden --- | 779 M_SETFIB(m, ifp->if_fib); 780 netisr_dispatch(isr, m); 781 return (0); 782} 783 784/* 785 * Shutdown and remove the node and its associated interface. 786 */ --- 74 unchanged lines hidden --- |