| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
source-route options.
|
|
|
|
|
|
|
| |
in a packet header and the computed checksum for the data that the
checksum covers, what the checksum field's value should have been.
Use that routine in the IP printer.
|
| |
|
|
|
|
|
|
|
| |
purpose of 1.105 was to print the ip header values (len, ttl, tos)
at the beginning of the line (where it belongs to) and not at the end;
it is only displayed using the -v(erbose) options;
the BGP output (where i am working now on) gets much more cleaner now;
|
|
|
|
|
|
|
| |
added support for Originator_ID, Cluster List Attributes;
reworked BGP Open Message Decoder do decode optional Capabilities;
fixed the NEXTHOP decoder of MP_REACH and MP_UNREACH to honor
NH length based on AFI,SAFI
|
| |
|
| |
|
| |
|
|
|
|
| |
on bpf taps with netbsd 1.5Y.
|
|
|
|
|
|
|
|
| |
for fragments other than the first fragment.
Also, for packets whose IP protocols we don't handle ourselves, print
the protocol name if "getprotobynumber()" finds it, otherwise print the
protocol number.
|
|
|
|
|
|
|
|
|
|
|
| |
Use const more.
Use EXTRACT_* macros more.
Use TCHECK* more.
Use tok2str() to replace some home-grown workalikes.
smb:
- Get rid of private types, use tcpdump-defined types
- Rename fdata and fdata1 to smb_fdata and smb_fdata1 to avoid conflict
with IRIX library function.
|
|
|
|
|
|
|
|
| |
padding info are in the last fragment but the header is in the first
fragment.
Pass padding length back to IP to allow trimming the padding.
Update in_cksum() prototype to allow using it for checksums including
the pseudo-header.
|
|
|
|
|
|
|
|
| |
Finish converting over to having the caller print the IP address
(except for UDP, TCP and SCTP). This consists mostly of removing
places where the IP address is printed, both in the big "case"
in ip_print() and in the individual printers.
Also fix a couple of spacing bugs.
|
| |
|
| |
|
|
|
|
|
| |
Modified to print IP/IPv6-level addresses like TCP does,
and to not print multi-line detail unless -vv by fenner.
|
| |
|
| |
|
|
|
|
| |
if "-v" was specified. From OpenBSD.
|
|
|
|
| |
from: jinmei@kame.net
|
|
|
|
|
|
| |
Add IGMPv3 support.
Contributed by: Wilbert de Graaf <wilbertdg@hetnet.nl>
|
|
|
|
|
|
| |
come with exact size. while at it, correct signedness of ip/udp header field.
nuke most of the use of bitfield.
TODO: bitfield in namser.h
|
|
|
|
| |
"n_long", and "n_time", defined in that file, with other types.
|
|
|
|
|
|
|
|
|
|
|
| |
have dissectors include them rather than <netinet/ip.h> or
<netinet/ip_var.h>, if they actually need that stuff.
Put the declarations of the ICMP stuff directly into "print-icmp.c".
Remove all unnecessary includes of <netinet/ip*.h> files.
Copy the byte-order stuff from "nameser.h" into "tcp.h".
|
|
|
|
|
|
|
|
|
| |
by dissectors, and have dissectors include them rather than
<netinet/udp.h>, <netinet/udp_var.h>, or <netinet/tcp.h>, if they
actually need that stuff.
Remove all unnecessary includes of <netinet/udp*.h> or <netinet/tcp*.h>
files.
|
| |
|
|
|
|
| |
<lha@stacken.kth.se>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Pointed out on BUGTRAQ on 16 Jun 1999 (reported as infinite loop on
Linux and core dump on all other OS's)
|
|
|
|
|
|
|
|
|
|
|
| |
API.
* print-bgp.c: improve options printing. ugly code exists for
unaligned option parsing (need some fix).
* const poisoning in SMB decoder.
* make dump format back to original. someone may want to add an
option to do ascii printing, but keep the default behavior as is
for scripts used in many places.
* -Wall -Werror clean checks.
|
|
|
|
|
| |
Don't use len without initializing in ip_printts()
(in the case of an invalid type).
|
|
|
|
|
|
|
| |
- Identify IGMPv1 and IGMPv2 instead of "report" and "nreport".
- Don't use questionably-portable bitfields for packet formats.
- Don't try to check the IGMP checksum if the packet was not completely
captured.
|
|
|
|
| |
Cisco Auto-RP support.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- endian checks (use WORDS_BIGENDIAN)
- fallback def for IPPROTO_{AH,ESP}
- sa_len issues
- do not use bittypes.h, respect AC_LBL_CHECK_TYPES
|
| |
|
|
|
|
|
|
|
| |
Hope I did not break anything. Portability on IPv4-only node needs checking,
I'll do this very soon. (sorry for rather jumbo commit)
XXx what is _FAVOR_BSD?
|
| |
|
|
|
|
| |
AH/ESP printing.
|
| |
|
|
|