aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Oppermann <andre@FreeBSD.org>2005-11-19 14:01:32 +0000
committerAndre Oppermann <andre@FreeBSD.org>2005-11-19 14:01:32 +0000
commitc444cdded24766f5b1ff4efb363dba8882c925be (patch)
tree76e3a2879e1d820c2cbc4cf223e9c4e3c3f72aa2
parentaddbe0bc06decea0d61f2c325b081ee1d32370ad (diff)
Notes
-rw-r--r--sys/netinet/ip_options.h13
-rw-r--r--sys/netinet/ip_var.h13
2 files changed, 13 insertions, 13 deletions
diff --git a/sys/netinet/ip_options.h b/sys/netinet/ip_options.h
index b7c00500f8ed0..ed032c7d84100 100644
--- a/sys/netinet/ip_options.h
+++ b/sys/netinet/ip_options.h
@@ -34,14 +34,6 @@
#ifndef _NETINET_IP_OPTIONS_H_
#define _NETINET_IP_OPTIONS_H_
-/*
- * Structure stored in mbuf in inpcb.ip_options
- * and passed to ip_output when ip options are in use.
- * The actual length of the options (including ipopt_dst)
- * is in m_len.
- */
-#define MAX_IPOPTLEN 40
-
struct ipoptrt {
struct in_addr dst; /* final destination */
char nop; /* one NOP to align */
@@ -55,11 +47,6 @@ struct ipopt_tag {
struct ipoptrt ip_srcrt;
};
-struct ipoption {
- struct in_addr ipopt_dst; /* first-hop dst if source routed */
- char ipopt_list[MAX_IPOPTLEN]; /* options proper */
-};
-
extern int ip_doopts; /* process or ignore IP options */
int ip_dooptions(struct mbuf *, int);
diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h
index 49a6f9a92f2a6..6d0a12218ead5 100644
--- a/sys/netinet/ip_var.h
+++ b/sys/netinet/ip_var.h
@@ -66,6 +66,19 @@ struct ipq {
#endif /* _KERNEL */
/*
+ * Structure stored in mbuf in inpcb.ip_options
+ * and passed to ip_output when ip options are in use.
+ * The actual length of the options (including ipopt_dst)
+ * is in m_len.
+ */
+#define MAX_IPOPTLEN 40
+
+struct ipoption {
+ struct in_addr ipopt_dst; /* first-hop dst if source routed */
+ char ipopt_list[MAX_IPOPTLEN]; /* options proper */
+};
+
+/*
* Structure attached to inpcb.ip_moptions and
* passed to ip_output when IP multicast options are in use.
*/