Lines Matching refs:igmp_ifsoftc
96 static struct igmp_ifsoftc *
101 static void igmp_final_leave(struct in_multi *, struct igmp_ifsoftc *);
103 struct igmp_ifsoftc *);
104 static int igmp_initial_join(struct in_multi *, struct igmp_ifsoftc *);
112 struct igmp_ifsoftc *, int, /*const*/ struct igmpv3 *);
124 static void igmp_set_version(struct igmp_ifsoftc *, const int);
128 static void igmp_v1v2_process_querier_timers(struct igmp_ifsoftc *);
130 static void igmp_v3_cancel_link_timers(struct igmp_ifsoftc *);
131 static void igmp_v3_dispatch_general_query(struct igmp_ifsoftc *);
170 * * IGMP_LOCK covers igmp_ifsoftc and any global variables in this file,
174 * * igmp_ifsoftc is valid as long as PF_INET is attached to the interface,
176 * We allow unlocked reads of igmp_ifsoftc when accessed via in_multi.
235 VNET_DEFINE_STATIC(LIST_HEAD(, igmp_ifsoftc), igi_head) =
474 * Expose struct igmp_ifsoftc to userland, keyed by ifindex.
489 struct igmp_ifsoftc *igi;
609 struct igmp_ifsoftc *
612 struct igmp_ifsoftc *igi;
631 static struct igmp_ifsoftc *
634 struct igmp_ifsoftc *igi;
638 igi = malloc(sizeof(struct igmp_ifsoftc), M_IGMP, M_NOWAIT|M_ZERO);
653 CTR2(KTR_IGMPV3, "allocate igmp_ifsoftc for ifp %p(%s)",
673 struct igmp_ifsoftc *igi;
721 struct igmp_ifsoftc *igi, *tigi;
723 CTR3(KTR_IGMPV3, "%s: freeing igmp_ifsoftc for ifp %p(%s)",
753 struct igmp_ifsoftc *igi;
775 KASSERT(igi != NULL, ("%s: no igmp_ifsoftc for ifp %p", __func__, ifp));
837 struct igmp_ifsoftc *igi;
868 KASSERT(igi != NULL, ("%s: no igmp_ifsoftc for ifp %p", __func__, ifp));
987 struct igmp_ifsoftc *igi;
1060 KASSERT(igi != NULL, ("%s: no igmp_ifsoftc for ifp %p", __func__, ifp));
1148 igmp_input_v3_group_query(struct in_multi *inm, struct igmp_ifsoftc *igi,
1291 struct igmp_ifsoftc *igi;
1410 struct igmp_ifsoftc *igi;
1683 struct igmp_ifsoftc *igi;
1981 igmp_set_version(struct igmp_ifsoftc *igi, const int version)
2030 igmp_v3_cancel_link_timers(struct igmp_ifsoftc *igi)
2112 igmp_v1v2_process_querier_timers(struct igmp_ifsoftc *igi)
2218 struct igmp_ifsoftc *igi;
2317 struct igmp_ifsoftc *igi;
2340 KASSERT(igi != NULL, ("%s: no igmp_ifsoftc for ifp %p", __func__, ifp));
2381 igmp_initial_join(struct in_multi *inm, struct igmp_ifsoftc *igi)
2509 igmp_handle_state_change(struct in_multi *inm, struct igmp_ifsoftc *igi)
2567 igmp_final_leave(struct in_multi *inm, struct igmp_ifsoftc *igi)
3364 igmp_v3_dispatch_general_query(struct igmp_ifsoftc *igi)
3656 struct igmp_ifsoftc *igi, *tigi;
3657 LIST_HEAD(_igi_list, igmp_ifsoftc) *igi_head;
3666 db_printf("igmp_ifsoftc %p:\n", igi);