In article <[EMAIL PROTECTED]>,
Joe Eykholt  <[EMAIL PROTECTED]> wrote:
> 
> It seems like along with the packet being sent up to bpf, there's
> a need for some flags that tell tcpdump about the packet.  I haven't
> looked at the current implementation, but in another system, I found
> it useful to add a flag indicating whether the packet was being received
> or transmitted.   
> 
> Adding a flag indicating that no checksum generation has been done yet,
> but will be done by the NIC, would allow tcpdump to also ignore checksum
> errors on outgoing packets, or it could generate the checksum itself
> if displaying those bytes (in a hex output, e.g.).

Remember, bpf is used by many things besides tcpdump.  Adding these
flags would require extending the bpf API.  They couldn't be added for
the default case, because that would break compatibility with other
applications.  They'd have to be enabled specifically, by means of a
new ioctl.

John
-- 
  John Polstra
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa


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

Reply via email to