diff options
author | fenner <fenner@FreeBSD.org> | 1996-08-20 23:11:30 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1996-08-20 23:11:30 +0000 |
commit | 07bdd34fc1cbaddf85beb3b4d14d4fa5a2df0118 (patch) | |
tree | ee82bd26638ee0ec5502c27c17c3ad0f5244f89d /sys/netinet/ip_icmp.h | |
parent | b4c0b275790ec3cae28065b1f5d8f1af7c0a0344 (diff) | |
download | FreeBSD-src-07bdd34fc1cbaddf85beb3b4d14d4fa5a2df0118.zip FreeBSD-src-07bdd34fc1cbaddf85beb3b4d14d4fa5a2df0118.tar.gz |
Add #define's for RFC1716/RFC1812 new ICMP UNREACHABLE types.
Obtained from: LBL's tcpdump distribution
Diffstat (limited to 'sys/netinet/ip_icmp.h')
-rw-r--r-- | sys/netinet/ip_icmp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet/ip_icmp.h b/sys/netinet/ip_icmp.h index fbbba92..abb31c9 100644 --- a/sys/netinet/ip_icmp.h +++ b/sys/netinet/ip_icmp.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ip_icmp.h 8.1 (Berkeley) 6/10/93 - * $Id: ip_icmp.h,v 1.7 1996/01/30 22:58:24 mpp Exp $ + * $Id: ip_icmp.h,v 1.8 1996/07/24 18:46:18 wollman Exp $ */ #ifndef _NETINET_IP_ICMP_H_ @@ -149,6 +149,9 @@ struct icmp { #define ICMP_UNREACH_HOST_PROHIB 10 /* ditto */ #define ICMP_UNREACH_TOSNET 11 /* bad tos for net */ #define ICMP_UNREACH_TOSHOST 12 /* bad tos for host */ +#define ICMP_UNREACH_FILTER_PROHIB 13 /* admin prohib */ +#define ICMP_UNREACH_HOST_PRECEDENCE 14 /* host prec vio. */ +#define ICMP_UNREACH_PRECEDENCE_CUTOFF 15 /* prec cutoff */ #define ICMP_SOURCEQUENCH 4 /* packet lost, slow down */ #define ICMP_REDIRECT 5 /* shorter route, codes: */ #define ICMP_REDIRECT_NET 0 /* for network */ |