In message <[EMAIL PROTECTED]>, Julian Elischer writes:

>> these are final patches for NETGRAPH.
>> new features:
>> - new hook ``divertin'' allows to put frame back to
>> kernel stack.
>> - new control message allows to set raw mode on
>> ``divert'' hook. raw mode assumes that we have
>> fully prepared frame and we do not have to update
>> ``ether_shost'' field.
>
>This is good in theory, however the intel 82586 ethernet chip
>(and 596 in 586 mode) will overwrite anything you put there anyhow
>as it treats the header specially and fabricates it.
>(unless you are running in some mode that is not usually used).
>I don't know how many other chips do this but it may be misleading
>for the user who sets this on such a chip because the source 
>address he sets will not be put on the wire.

But the driver would know and could issue an error or warning
in that case ?  I guess the packet should be failed with ENOCANDO ?

--
Poul-Henning Kamp             FreeBSD coreteam member
[EMAIL PROTECTED]               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to