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
Made all header files idempotent and moved incorrect common data from
[unix-history]
/
sys
/
netinet
/
ip_var.h
diff --git
a/sys/netinet/ip_var.h
b/sys/netinet/ip_var.h
index
606209f
..
1fccdb3
100644
(file)
--- a/
sys/netinet/ip_var.h
+++ b/
sys/netinet/ip_var.h
@@
-31,9
+31,12
@@
* SUCH DAMAGE.
*
* from: @(#)ip_var.h 7.7 (Berkeley) 6/28/90
* SUCH DAMAGE.
*
* from: @(#)ip_var.h 7.7 (Berkeley) 6/28/90
- * $Id$
+ * $Id
: ip_var.h,v 1.2 1993/10/16 18:26:17 rgrimes Exp
$
*/
*/
+#ifndef _NETINET_IP_VAR_H_
+#define _NETINET_IP_VAR_H_ 1
+
/*
* Overlay for ip header used by other protocols (tcp, udp).
*/
/*
* Overlay for ip header used by other protocols (tcp, udp).
*/
@@
-129,9
+132,10
@@
struct ipstat {
#define IP_ROUTETOIF SO_DONTROUTE /* bypass routing tables */
#define IP_ALLOWBROADCAST SO_BROADCAST /* can send broadcast packets */
#define IP_ROUTETOIF SO_DONTROUTE /* bypass routing tables */
#define IP_ALLOWBROADCAST SO_BROADCAST /* can send broadcast packets */
-
struct
ipstat ipstat;
-
struct ipq ipq;
/* ip reass. queue */
-
u_short ip_id;
/* ip packet ctr, for ids */
+
extern struct
ipstat ipstat;
+
extern struct ipq ipq;
/* ip reass. queue */
+
extern u_short ip_id;
/* ip packet ctr, for ids */
struct mbuf *ip_srcroute();
#endif
struct mbuf *ip_srcroute();
#endif
+#endif /* _NETINET_IP_VAR_H_ */