OpenBSD/src P3NT44nsys/net if_ethersubr.c, sys/netinet if_ether.h

   split ether_output into resolution, encapsulation, and output functions

   if if_output can be overridden on ethernet interfaces, it will allow
   things like vlan to do it's packet encapsulation during output
   before putting the packet directly on the underlying interface for
   output.

   this has two benefits. first, it can avoid having ether_output on
   pseudo interfaces recurse, which makes profiling of the network
   stack a lot clearer. secondly, and more importantly, it allows
   pseudo ethernet interface packet encapsulation to by run concurrently
   by the stack, rather than having packets unnecessarily serialied
   by an ifq.

   this diff just splits ether_output up, it doesnt have any interface
   take advantage of it yet.

   tweaks and ok claudio@
VersionDeltaFile
1.254+95-68sys/net/if_ethersubr.c
1.74+8-3sys/netinet/if_ether.h
+103-712 files

UnifiedSplitRaw