Commit Graph

7 Commits

Author SHA1 Message Date
Kovarththanan Rajaratnam
08696c5fab ipproto.h/c: mark several structs as const 2010-02-20 08:45:56 +01:00
guy
1c902dcdf3 From Ian McDonald and Arnaldo Carvalho de Melo: DCCP support. 2005-09-20 06:01:20 +00:00
hannes
a5370b71fe from Andy Heffernan <ahh@juniper.net>:
add PGM upport as per rfc3208
2005-05-20 21:02:29 +00:00
guy
f06770b12d Some BSDs define IPPROTO_IGRP as 88 and don't define IPPROTO_EIGRP, so
we also define it as 88, so we can't have

	case IPPROTO_IGRP:
	case IPPROTO_EIGRP:

in a switch statement.

The current IANA protocol number assignments page lists 9 as "any
private interior gateway (used by Cisco for their IGRP)" and 88 as
"EIGRP" from Cisco, so we define IPPROTO_PIGP as 9 (which matches what
those BSDs do) and IPPROTO_EIGRP as 88 (so we don't bother with
IPPROTO_IGRP at all), and do

	case IPPROTO_PIGP:
	case IPPROTO_EIGRP:

It's not clear that we should handle both with the same print routine,
however - Cisco IGRP and Cisco EIGRP don't appear to have the same
packet format.
2004-04-28 22:02:23 +00:00
hannes
b4709d5e6f add infrastructure for host-OS indep. ipproto name resolution 2004-04-26 17:49:44 +00:00
guy
4bf6f976ab 135 appears to be the current IP protocol number for mobility headers;
support it, as well as 62 (which presumably was one that was used
before, even though it was already assigned to some protocol named
CFTP).
2003-11-24 20:30:51 +00:00
guy
c90e936060 Add a new "ipproto.h" header file, with definitions of IP protocol type
values.  Use that rather than private definitions in various files.

Add "gmpls.h" to the list of files in FILES, and add it and "ipfc.h" to
the list of files in INSTALL.
2003-06-07 11:57:51 +00:00