Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/icmp6.h
| Show First 20 Lines • Show All 707 Lines • ▼ Show 20 Lines | |||||
| 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_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 nhop_object *); | void icmp6_redirect_output(struct mbuf *, struct nhop_object *); | ||||
| int icmp6_ratelimit(const struct in6_addr *, const int, const int); | int icmp6_ratelimit(const struct in6_addr *, const int, const int); | ||||
| struct ip6ctlparam; | |||||
| 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) \ | ||||
| counter_u64_add(((struct in6_ifextra *) \ | counter_u64_add(((struct in6_ifextra *) \ | ||||
| ((ifp)->if_afdata[AF_INET6]))->icmp6_ifstat[\ | ((ifp)->if_afdata[AF_INET6]))->icmp6_ifstat[\ | ||||
| offsetof(struct icmp6_ifstat, tag) / sizeof(uint64_t)], 1);\ | offsetof(struct icmp6_ifstat, tag) / sizeof(uint64_t)], 1);\ | ||||
| } while (/*CONSTCOND*/ 0) | } while (/*CONSTCOND*/ 0) | ||||
| ▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines | |||||