> > 
 > > Why are we fabricating the ethernet header rather than having
 > > snoop ask lo0 what MAC type it is and using that to understand
 > > that there is no MAC header to speak of?
 > 
 > Hear, hear.  Software that assumes that all packets are carried
 > over Ethernet should be squashed, not coddled.

Since Phil's asleep and this thread may otherwise run amok: we are
fabricating an Ethernet header because that's what /dev/lo0 on other
Unix-like systems do.  We agree it sucks, but the whole idea of the
/dev/lo0 device is to provide compatibility; if we're not going to follow
the same packet format, we might as well just scrap it entirely and force
applications to use /dev/ipnet/lo0.

BTW, we originally did not have /dev/lo0 at all, but added it based
on previous feedback.

-- 
meem
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to