tcpdump mailing list archives
Re: New DLT_ value request
From: Guy Harris <guy () alum mit edu>
Date: Thu, 29 Nov 2007 11:16:41 -0800
Will Barker wrote:
What is the format of the extra information you'll be putting at the beginning of the {PPP, Cisco HDLC, Frame Relay, LAPB} packets to hold the packet direction? (Number of bytes, values to be put there, etc.)It should just be akin to the pseudo header used for generic p2p links e.g. /* Packet "pseudo-header" for point-to-point links with direction flags. */ struct p2p_phdr { gboolean sent; /* TRUE=sent, FALSE=received */ };
That'd be a 32-bit pseudo-header; should the rule be just "zero means received, non-zero means sent", or should a specific value mean "sent" (which means we'd then have to decide whether the header is big-endian or little-endian)?
In addition is it acceptable to have one further value defined for our own proprietary encapsulation type?By "proprietary" do you mean you'll be using this only internally within your company, with special internal versions of tcpdump/Wireshark/etc. or special internal-only Wireshark plugins, or do you mean you'll be, for example, submitting a dissector for that encapsulation for inclusion in Wireshark?The latter (submitting a dissector for that encapsulation for inclusion in Wireshark)
So what's the header for your encapsulation type? - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- New DLT_ value request Will Barker (Nov 28)
- Re: New DLT_ value request Guy Harris (Nov 28)
- Re: New DLT_ value request Will Barker (Nov 29)
- Re: New DLT_ value request Guy Harris (Nov 29)
- Re: New DLT_ value request Will Barker (Nov 30)
- Re: New DLT_ value request Guy Harris (Dec 12)
- Re: New DLT_ value request Will Barker (Dec 18)
- Re: New DLT_ value request Guy Harris (Dec 19)
- Re: New DLT_ value request Will Barker (Dec 20)
- Re: New DLT_ value request Guy Harris (Dec 21)
- Re: New DLT_ value request Fulko Hew (Dec 21)
- Re: New DLT_ value request Will Barker (Nov 29)
- Re: New DLT_ value request Guy Harris (Nov 28)
- Re: New DLT_ value request Will Barker (Dec 12)