Commit Graph

11 Commits

Author SHA1 Message Date
Guy Harris 3adea4e389 From Peter Fales: count IPX-over-ARCNET packets in "capture_arcnet()".
svn path=/trunk/; revision=9357
2003-12-19 19:09:49 +00:00
Guy Harris 3118e2a0c2 As noted by Peter Fales, the offset in "capture_arcnet()" should be 4 if
the extra offset field is present and 2 if it's absent, not the other
way around.

svn path=/trunk/; revision=9351
2003-12-19 01:24:09 +00:00
Guy Harris 2942cb3927 Put in an entry for the BACnet protocol ID.
svn path=/trunk/; revision=6989
2003-01-23 10:11:54 +00:00
Guy Harris 94aa5a707c Support BACNET over ARCNET, under the assumption that no fragmentation
is done.

Support "Novell EC" over ARCNET, under the assumption that it's just
another way of sending IPX over ARCNET.

svn path=/trunk/; revision=6988
2003-01-23 09:54:54 +00:00
Guy Harris 5b1484f7b3 From a look at the Linux ARCNET code, it appears that no frame delivered
to the networking stack will have an exception frame header.

Note, however, that on the BSD's ARCNET might be a bit of a mess.

svn path=/trunk/; revision=6986
2003-01-23 09:04:54 +00:00
Guy Harris 7ab511a7d7 Handle exception frames.
svn path=/trunk/; revision=6985
2003-01-23 07:55:28 +00:00
Guy Harris 498c94b10a Add a "capture_arcnet()" routine and use it when capturing.
In "dissect_arcnet_common()", fetch the protocol ID using the correct
offset rather than a hardwired 4.

svn path=/trunk/; revision=6982
2003-01-23 06:57:37 +00:00
Guy Harris 8e6518ea60 In the BSDs, ARCNET packets don't have an offset field between the
addresses and the protocol type, as supplied by BPF; on Linux, they *do*
have an offset field, as supplied by PF_PACKET sockets.  Add a new
WTAP_ENCAP_ARCNET_LINUX, with packets that include the offset field, and
don't dissect an offset in WTAP_ENCAP_ARCNET packets.

Map a libpcap link-layer type of 129 to WTAP_ENCAP_ARCNET_LINUX; that
value was recently assigned to Linux-style ARCNET.

Add some more ARCNET protocol IDs.

For most protocol IDs, dissect an ATA 878.2 fragmentation header; don't
do it for RFC 1051 IP and ARP, and Diagnose packets.  Set the length of
the ARCNET protocol tree item appropriately.

Dissect both the RFC 1051 and RFC 1201 styles of IP and ARP over ARCNET,
and dissect the RFC 1201 style of RARP as well.

svn path=/trunk/; revision=6981
2003-01-23 04:04:01 +00:00
Guy Harris c7cacdf4b7 Add an AT_ARCNET address type for ARCNET addresses, and have the ARCNET
dissector set the source and destination link-layer addresses.

svn path=/trunk/; revision=6452
2002-10-18 21:40:13 +00:00
Guy Harris 1a25bf1cfd Get rid of (probably-)unnecessary #includes.
svn path=/trunk/; revision=6451
2002-10-18 21:10:38 +00:00
Guy Harris 27df774d0b From Peter Fales: ARCNET support.
Sort the lists of dissectors in the DISSECTOR_SRC macros in
"Makefile.am" and "Makefile.nmake".

svn path=/trunk/; revision=6450
2002-10-18 21:00:01 +00:00