Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet6/mld6.c
Show First 20 Lines • Show All 2,280 Lines • ▼ Show 20 Lines | mld_v2_enqueue_group_record(struct mbufq *mq, struct in6_multi *inm, | ||||
const int is_state_change, const int is_group_query, | const int is_state_change, const int is_group_query, | ||||
const int is_source_query, const int use_block_allow) | const int is_source_query, const int use_block_allow) | ||||
{ | { | ||||
struct mldv2_record mr; | struct mldv2_record mr; | ||||
struct mldv2_record *pmr; | struct mldv2_record *pmr; | ||||
struct ifnet *ifp; | struct ifnet *ifp; | ||||
struct ip6_msource *ims, *nims; | struct ip6_msource *ims, *nims; | ||||
struct mbuf *m0, *m, *md; | struct mbuf *m0, *m, *md; | ||||
int error, is_filter_list_change; | int is_filter_list_change; | ||||
int minrec0len, m0srcs, msrcs, nbytes, off; | int minrec0len, m0srcs, msrcs, nbytes, off; | ||||
int record_has_sources; | int record_has_sources; | ||||
int now; | int now; | ||||
int type; | int type; | ||||
uint8_t mode; | uint8_t mode; | ||||
#ifdef KTR | #ifdef KTR | ||||
char ip6tbuf[INET6_ADDRSTRLEN]; | char ip6tbuf[INET6_ADDRSTRLEN]; | ||||
#endif | #endif | ||||
IN6_MULTI_LOCK_ASSERT(); | IN6_MULTI_LOCK_ASSERT(); | ||||
error = 0; | |||||
ifp = inm->in6m_ifp; | ifp = inm->in6m_ifp; | ||||
is_filter_list_change = 0; | is_filter_list_change = 0; | ||||
m = NULL; | m = NULL; | ||||
m0 = NULL; | m0 = NULL; | ||||
m0srcs = 0; | m0srcs = 0; | ||||
msrcs = 0; | msrcs = 0; | ||||
nbytes = 0; | nbytes = 0; | ||||
nims = NULL; | nims = NULL; | ||||
▲ Show 20 Lines • Show All 1,009 Lines • Show Last 20 Lines |