summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_options.h
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2005-11-19 14:01:32 +0000
committerandre <andre@FreeBSD.org>2005-11-19 14:01:32 +0000
commit5d67ac3cb1da24760c07ff17c629966078b6f747 (patch)
tree76e3a2879e1d820c2cbc4cf223e9c4e3c3f72aa2 /sys/netinet/ip_options.h
parent9ea441a30903994510472fe182179780de64f9f6 (diff)
downloadFreeBSD-src-5d67ac3cb1da24760c07ff17c629966078b6f747.zip
FreeBSD-src-5d67ac3cb1da24760c07ff17c629966078b6f747.tar.gz
Move MAX_IPOPTLEN and struct ipoption back into ip_var.h as
userland programs depend on it. Pointed out by: le Sponsored by: TCP/IP Optimization Fundraise 2005
Diffstat (limited to 'sys/netinet/ip_options.h')
-rw-r--r--sys/netinet/ip_options.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/netinet/ip_options.h b/sys/netinet/ip_options.h
index b7c0050..ed032c7 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);
OpenPOWER on IntegriCloud