summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in.h
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2001-09-27 11:53:22 +0000
committerluigi <luigi@FreeBSD.org>2001-09-27 11:53:22 +0000
commitaf2cc9a06808d52ba584bc2c8b5d4b2472ddac38 (patch)
treee313b74d93e1521d4c8401ca34f1a4cd05f36bdd /sys/netinet/in.h
parented54ab2f1962282edade623a7d9f92d0196416b2 (diff)
downloadFreeBSD-src-af2cc9a06808d52ba584bc2c8b5d4b2472ddac38.zip
FreeBSD-src-af2cc9a06808d52ba584bc2c8b5d4b2472ddac38.tar.gz
Remove unused (and duplicate) struct ip_opts which is never used,
not referenced in Stevens, and does not compile with g++. There is an equivalent structure, struct ipoption in ip_var.h which is actually used in various parts of the kernel, and also referenced in Stevens. Bill Fenner also says: ... if you want the trivia, struct ip_opts was introduced in in.h SCCS revision 7.9, on 6/28/1990, by Mike Karels. struct ipoption was introduced in ip_var.h SCCS revision 6.5, on 9/16/1985, by... Mike Karels. MFC-after: 3 days
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r--sys/netinet/in.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index c4f944d..a80877d 100644
--- a/sys/netinet/in.h
+++ b/sys/netinet/in.h
@@ -294,18 +294,6 @@ struct sockaddr_in {
#define INET_ADDRSTRLEN 16
/*
- * Structure used to describe IP options.
- * Used to store options internally, to pass them to a process,
- * or to restore options retrieved earlier.
- * The ip_dst is used for the first-hop gateway when using a source route
- * (this gets put into the header proper).
- */
-struct ip_opts {
- struct in_addr ip_dst; /* first hop, 0 w/o src rt */
- char ip_opts[40]; /* actually variable in size */
-};
-
-/*
* Options for use with [gs]etsockopt at the IP level.
* First word of comment is data type; bool is stored in int.
*/
OpenPOWER on IntegriCloud