diff options
author | andre <andre@FreeBSD.org> | 2005-11-18 20:12:40 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2005-11-18 20:12:40 +0000 |
commit | a6a209f2cc1f1d34f8b16c17f8cb345db2ecbe99 (patch) | |
tree | 2177105da5828491dd19a0aad0cf83477925d06f /sys/netinet/tcp_syncache.c | |
parent | 50b1ba762b66c4f2056c0aa72e275ba857413419 (diff) | |
download | FreeBSD-src-a6a209f2cc1f1d34f8b16c17f8cb345db2ecbe99.zip FreeBSD-src-a6a209f2cc1f1d34f8b16c17f8cb345db2ecbe99.tar.gz |
Consolidate all IP Options handling functions into ip_options.[ch] and
include ip_options.h into all files making use of IP Options functions.
From ip_input.c rev 1.306:
ip_dooptions(struct mbuf *m, int pass)
save_rte(m, option, dst)
ip_srcroute(m0)
ip_stripoptions(m, mopt)
From ip_output.c rev 1.249:
ip_insertoptions(m, opt, phlen)
ip_optcopy(ip, jp)
ip_pcbopts(struct inpcb *inp, int optname, struct mbuf *m)
No functional changes in this commit.
Discussed with: rwatson
Sponsored by: TCP/IP Optimization Fundraise 2005
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
-rw-r--r-- | sys/netinet/tcp_syncache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c index c92f922..87d919a 100644 --- a/sys/netinet/tcp_syncache.c +++ b/sys/netinet/tcp_syncache.c @@ -60,6 +60,7 @@ #include <netinet/in_var.h> #include <netinet/in_pcb.h> #include <netinet/ip_var.h> +#include <netinet/ip_options.h> #ifdef INET6 #include <netinet/ip6.h> #include <netinet/icmp6.h> |