projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
delete OURFINNOTACKED
[unix-history]
/
usr
/
src
/
sys
/
netinet
/
ip_var.h
diff --git
a/usr/src/sys/netinet/ip_var.h
b/usr/src/sys/netinet/ip_var.h
index
41e721e
..
337a18a
100644
(file)
--- a/
usr/src/sys/netinet/ip_var.h
+++ b/
usr/src/sys/netinet/ip_var.h
@@
-1,4
+1,4
@@
-/* ip_var.h 4.
2 81/11/15
*/
+/* ip_var.h 4.
5 81/12/02
*/
/*
* Overlay for ip header used by other protocols (tcp, udp).
/*
* Overlay for ip header used by other protocols (tcp, udp).
@@
-7,9
+7,9
@@
struct ipovly {
caddr_t ih_next, ih_prev; /* for protocol sequence q's */
u_char ih_x1; /* (unused) */
u_char ih_pr; /* protocol */
caddr_t ih_next, ih_prev; /* for protocol sequence q's */
u_char ih_x1; /* (unused) */
u_char ih_pr; /* protocol */
- short ih_len; /* protocol length */
- struct i
p
_addr ih_src; /* source internet address */
- struct i
p
_addr ih_dst; /* destination internet address */
+ short ih_len;
/* protocol length */
+ struct i
n
_addr ih_src; /* source internet address */
+ struct i
n
_addr ih_dst; /* destination internet address */
};
/*
};
/*
@@
-25,7
+25,7
@@
struct ipq {
u_short ipq_id; /* sequence id for reassembly */
struct ipasfrag *ipq_next,*ipq_prev;
/* to ip headers of fragments */
u_short ipq_id; /* sequence id for reassembly */
struct ipasfrag *ipq_next,*ipq_prev;
/* to ip headers of fragments */
- struct i
p
_addr ipq_src,ipq_dst;
+ struct i
n
_addr ipq_src,ipq_dst;
};
/*
};
/*
@@
-45,7
+45,13
@@
struct ipasfrag {
struct ipasfrag *ipf_prev; /* previous fragment */
};
struct ipasfrag *ipf_prev; /* previous fragment */
};
+struct ipstat {
+ int ips_badsum; /* checksum bad */
+ int ips_tooshort; /* packet too short */
+};
+
#ifdef KERNEL
#ifdef KERNEL
+struct ipstat ipstat;
struct ipq ipq; /* ip reass. queue */
struct ipq *ip_freef();
u_short ip_id; /* ip packet ctr, for ids */
struct ipq ipq; /* ip reass. queue */
struct ipq *ip_freef();
u_short ip_id; /* ip packet ctr, for ids */