From 2c7ce7de12d16cb407fd40224b6cb802528ee942 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 22 Dec 2003 11:05:23 +0000 Subject: [PATCH] Missing definitions. --- lib/ipv4.h | 6 +++++- lib/ipv6.h | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/ipv4.h b/lib/ipv4.h index 0ee46fb2..dcac0bf8 100644 --- a/lib/ipv4.h +++ b/lib/ipv4.h @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: ipv4.h,v 1.1.2.4 2003/10/08 11:34:55 guus Exp $ + $Id: ipv4.h,v 1.1.2.5 2003/12/22 11:05:23 guus Exp $ */ #ifndef __TINC_IPV4_H__ @@ -35,6 +35,10 @@ #define ICMP_DEST_UNREACH 3 #endif +#ifndef ICMP_FRAG_NEEDED +#define ICMP_FRAG_NEEDED 4 +#endif + #ifndef ICMP_NET_UNKNOWN #define ICMP_NET_UNKNOWN 6 #endif diff --git a/lib/ipv6.h b/lib/ipv6.h index 1c3a2494..3fdb959c 100644 --- a/lib/ipv6.h +++ b/lib/ipv6.h @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: ipv6.h,v 1.1.2.8 2003/11/08 15:09:03 guus Exp $ + $Id: ipv6.h,v 1.1.2.9 2003/12/22 11:05:23 guus Exp $ */ #ifndef __TINC_IPV6_H__ @@ -96,12 +96,14 @@ struct icmp6_hdr { } __attribute__ ((__packed__)); #define ICMP6_DST_UNREACH_NOROUTE 0 #define ICMP6_DST_UNREACH 1 +#define ICMP6_PACKET_TOO_BIG 2 #define ICMP6_DST_UNREACH_ADDR 3 #define ND_NEIGHBOR_SOLICIT 135 #define ND_NEIGHBOR_ADVERT 136 #define icmp6_data32 icmp6_dataun.icmp6_un_data32 #define icmp6_data16 icmp6_dataun.icmp6_un_data16 #define icmp6_data8 icmp6_dataun.icmp6_un_data8 +#define icmp6_mtu icmp6_data32[0] #endif #ifndef HAVE_STRUCT_ND_NEIGHBOR_SOLICIT -- 2.39.5