summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_options.h
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2009-03-04 02:51:22 +0000
committerbms <bms@FreeBSD.org>2009-03-04 02:51:22 +0000
commit0bcee3a566c117ffa18c27edc1dcc09cc951c10b (patch)
treede8d354ce665368c01e20a91affc2741fb4d08b9 /sys/netinet/ip_options.h
parent4fdc56d3dc7f01475ef728333f2ed348155f9107 (diff)
downloadFreeBSD-src-0bcee3a566c117ffa18c27edc1dcc09cc951c10b.zip
FreeBSD-src-0bcee3a566c117ffa18c27edc1dcc09cc951c10b.tar.gz
Add function ip_checkrouteralert(), which will be used
by IGMPv3 to check for the IPv4 Router Alert [RFC2113] option in a pulled-up IP mbuf chain.
Diffstat (limited to 'sys/netinet/ip_options.h')
-rw-r--r--sys/netinet/ip_options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ip_options.h b/sys/netinet/ip_options.h
index 0633fce..7ba5ae6 100644
--- a/sys/netinet/ip_options.h
+++ b/sys/netinet/ip_options.h
@@ -49,6 +49,7 @@ struct ipopt_tag {
extern int ip_doopts; /* process or ignore IP options */
+int ip_checkrouteralert(struct mbuf *);
int ip_dooptions(struct mbuf *, int);
struct mbuf *ip_insertoptions(struct mbuf *, struct mbuf *, int *);
int ip_optcopy(struct ip *, struct ip *);
OpenPOWER on IntegriCloud