diff options
author | bms <bms@FreeBSD.org> | 2009-04-29 10:20:17 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2009-04-29 10:20:17 +0000 |
commit | a60f8f9e736efdadc667169531bd22b78a83c323 (patch) | |
tree | 5433db4384db510d5d37cdca4b549b0c842b33a3 /sys/netinet | |
parent | cab8f7a0ebceb1ab66be265cc05aa1f9dd8e3059 (diff) | |
download | FreeBSD-src-a60f8f9e736efdadc667169531bd22b78a83c323.zip FreeBSD-src-a60f8f9e736efdadc667169531bd22b78a83c323.tar.gz |
Add MLDv2 prototypes and defines.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/icmp6.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/icmp6.h b/sys/netinet/icmp6.h index ad5f7bc..c9daa93 100644 --- a/sys/netinet/icmp6.h +++ b/sys/netinet/icmp6.h @@ -125,6 +125,7 @@ struct icmp6_hdr { #define ICMP6_FQDN_REPLY 140 /* FQDN reply */ #define ICMP6_NI_QUERY 139 /* node information request */ #define ICMP6_NI_REPLY 140 /* node information reply */ +#define MLDV2_LISTENER_REPORT 143 /* RFC3810 listener report */ /* The definitions below are experimental. TBA */ #define MLD_MTRACE_RESP 200 /* mtrace resp (to sender) */ @@ -194,6 +195,8 @@ struct mld_hdr { #define mld_cksum mld_icmp6_hdr.icmp6_cksum #define mld_maxdelay mld_icmp6_hdr.icmp6_data16[0] #define mld_reserved mld_icmp6_hdr.icmp6_data16[1] +#define mld_v2_reserved mld_icmp6_hdr.icmp6_data16[0] +#define mld_v2_numrecs mld_icmp6_hdr.icmp6_data16[1] /* * Neighbor Discovery @@ -644,6 +647,7 @@ void icmp6_error(struct mbuf *, int, int, int); void icmp6_error2(struct mbuf *, int, int, int, struct ifnet *); int icmp6_input(struct mbuf **, int *, int); void icmp6_fasttimo(void); +void icmp6_slowtimo(void); void icmp6_reflect(struct mbuf *, size_t); void icmp6_prepare(struct mbuf *); void icmp6_redirect_input(struct mbuf *, int); |