Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/icmp6.h
Show First 20 Lines • Show All 687 Lines • ▼ Show 20 Lines | |||||
#define ICMPV6CTL_MLD_SOMAXSRC 22 | #define ICMPV6CTL_MLD_SOMAXSRC 22 | ||||
#define ICMPV6CTL_MLD_VERSION 23 | #define ICMPV6CTL_MLD_VERSION 23 | ||||
#define ICMPV6CTL_ND6_MAXQLEN 24 | #define ICMPV6CTL_ND6_MAXQLEN 24 | ||||
#define ICMPV6CTL_NODEINFO_OLDMCPREFIX 25 | #define ICMPV6CTL_NODEINFO_OLDMCPREFIX 25 | ||||
#define ICMPV6CTL_MAXID 26 | #define ICMPV6CTL_MAXID 26 | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
# ifdef __STDC__ | # ifdef __STDC__ | ||||
struct rtentry; | struct nhop_object; | ||||
struct rttimer; | struct rttimer; | ||||
struct in6_multi; | struct in6_multi; | ||||
# endif | # endif | ||||
void icmp6_paramerror(struct mbuf *, int); | void icmp6_paramerror(struct mbuf *, int); | ||||
void icmp6_error(struct mbuf *, int, int, int); | void icmp6_error(struct mbuf *, int, int, int); | ||||
void icmp6_error2(struct mbuf *, int, int, int, struct ifnet *); | void icmp6_error2(struct mbuf *, int, int, int, struct ifnet *); | ||||
int icmp6_input(struct mbuf **, int *, int); | int icmp6_input(struct mbuf **, int *, int); | ||||
void icmp6_fasttimo(void); | void icmp6_fasttimo(void); | ||||
void icmp6_slowtimo(void); | void icmp6_slowtimo(void); | ||||
void icmp6_prepare(struct mbuf *); | void icmp6_prepare(struct mbuf *); | ||||
void icmp6_redirect_input(struct mbuf *, int); | void icmp6_redirect_input(struct mbuf *, int); | ||||
void icmp6_redirect_output(struct mbuf *, struct rtentry *); | void icmp6_redirect_output(struct mbuf *, struct nhop_object *); | ||||
struct ip6ctlparam; | struct ip6ctlparam; | ||||
void icmp6_mtudisc_update(struct ip6ctlparam *, int); | void icmp6_mtudisc_update(struct ip6ctlparam *, int); | ||||
/* XXX: is this the right place for these macros? */ | /* XXX: is this the right place for these macros? */ | ||||
#define icmp6_ifstat_inc(ifp, tag) \ | #define icmp6_ifstat_inc(ifp, tag) \ | ||||
do { \ | do { \ | ||||
if (ifp) \ | if (ifp) \ | ||||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |