diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1996-10-23 18:35:50 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1996-10-23 18:35:50 +0000 |
commit | 64682bc28aeae91c7499d67f85f8082a8398657b (patch) | |
tree | d8154bf384f8ed42299e582657efb8f21f0e8b75 /sys | |
parent | 728b07018e50be08d609f5c0a628fa8ca234cf99 (diff) | |
download | src-64682bc28aeae91c7499d67f85f8082a8398657b.tar.gz src-64682bc28aeae91c7499d67f85f8082a8398657b.zip |
Notes
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip.h | 6 | ||||
-rw-r--r-- | sys/netinet/ip_var.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/netinet/ip.h b/sys/netinet/ip.h index 7b895047b35d..d0905ae0a5ba 100644 --- a/sys/netinet/ip.h +++ b/sys/netinet/ip.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ip.h 8.2 (Berkeley) 6/1/94 - * $Id: ip.h,v 1.8 1996/03/14 16:59:20 fenner Exp $ + * $Id: ip.h,v 1.9 1996/04/18 15:42:50 wollman Exp $ */ #ifndef _NETINET_IP_H_ @@ -64,9 +64,9 @@ struct ip { #endif #endif /* not _IP_VHL */ u_char ip_tos; /* type of service */ - short ip_len; /* total length */ + u_short ip_len; /* total length */ u_short ip_id; /* identification */ - short ip_off; /* fragment offset field */ + u_short ip_off; /* fragment offset field */ #define IP_DF 0x4000 /* dont fragment flag */ #define IP_MF 0x2000 /* more fragments flag */ #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h index ca037ed8ff52..d71008f3a79b 100644 --- a/sys/netinet/ip_var.h +++ b/sys/netinet/ip_var.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ip_var.h 8.2 (Berkeley) 1/9/95 - * $Id: ip_var.h,v 1.21 1996/07/10 19:44:27 julian Exp $ + * $Id: ip_var.h,v 1.22 1996/10/15 16:54:47 bde Exp $ */ #ifndef _NETINET_IP_VAR_H_ @@ -85,9 +85,9 @@ struct ipasfrag { u_char ipf_mff; /* XXX overlays ip_tos: use low bit * to avoid destroying tos; * copied from (ip_off&IP_MF) */ - short ip_len; + u_short ip_len; u_short ip_id; - short ip_off; + u_short ip_off; u_char ip_ttl; u_char ip_p; u_short ip_sum; |