Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 05/18/1999 16:57:21
Module Name:	src
Committed By:	thorpej
Date:		Tue May 18 23:57:21 UTC 1999

Modified Files:
	src/sys/net: if.h if_arcsubr.c if_atmsubr.c if_ethersubr.c if_fddi.h
	    if_fddisubr.c if_hippi.h if_hippisubr.c if_token.h if_tokensubr.c
Log Message:
Rework layer 2 protocol input routines.  Instead of calling e.g. ether_input()
directly, call the function pointer (*if_input)(ifp, m).  The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary.  Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.