Searched refs:imo (Results 1 - 10 of 10) sorted by relevance

/freebsd-9.3-release/sys/netinet/
H A Din_mcast.c227 imo_grow(struct ip_moptions *imo) argument
239 omships = imo->imo_membership;
240 omfilters = imo->imo_mfilters;
241 oldmax = imo->imo_max_memberships;
255 imo->imo_max_memberships = newmax;
256 imo->imo_membership = nmships;
257 imo->imo_mfilters = nmfilters;
278 imo_match_group(const struct ip_moptions *imo, const struct ifnet *ifp, argument
289 if (imo->imo_membership == NULL || imo
316 imo_match_source(const struct ip_moptions *imo, const size_t gidx, const struct sockaddr *src) argument
348 imo_multi_filter(const struct ip_moptions *imo, const struct ifnet *ifp, const struct sockaddr *group, const struct sockaddr *src) argument
1301 struct ip_moptions *imo; local
1484 struct ip_moptions *imo; local
1532 inp_freemoptions(struct ip_moptions *imo) argument
1565 struct ip_moptions *imo; local
1682 struct ip_moptions *imo; local
1861 struct ip_moptions *imo; local
2160 struct ip_moptions *imo; local
2380 struct ip_moptions *imo; local
2447 struct ip_moptions *imo; local
2619 struct ip_moptions *imo; local
[all...]
H A Dip_output.c117 struct ip_moptions *imo, struct inpcb *inp)
252 imo != NULL && imo->imo_multicast_ifp != NULL) {
257 ifp = imo->imo_multicast_ifp;
336 if (imo != NULL) {
337 ip->ip_ttl = imo->imo_multicast_ttl;
338 if (imo->imo_multicast_vif != -1)
341 ip_mcast_src(imo->imo_multicast_vif) :
348 if ((imo == NULL) || (imo
116 ip_output(struct mbuf *m, struct mbuf *opt, struct route *ro, int flags, struct ip_moptions *imo, struct inpcb *inp) argument
[all...]
H A Dip_carp.c1472 struct ip_moptions *imo = &sc->sc_imo; local
1473 u_int16_t n = imo->imo_num_memberships;
1477 if (imo->imo_membership[n] != NULL) {
1479 in_delmulti(imo->imo_membership[n]);
1480 imo->imo_membership[n] = NULL;
1483 KASSERT(imo->imo_mfilters == NULL,
1485 imo->imo_num_memberships = 0;
1486 imo->imo_multicast_ifp = NULL;
1518 struct ip_moptions *imo = &sc->sc_imo; local
1564 (imo
1667 struct ip_moptions *imo = &sc->sc_imo; local
[all...]
H A Din_pcb.c1000 struct ip_moptions *imo; local
1003 imo = inp->inp_moptions;
1004 if (imo->imo_multicast_ifp != NULL) {
1005 ifp = imo->imo_multicast_ifp;
1353 struct ip_moptions *imo; local
1359 imo = inp->inp_moptions;
1361 imo != NULL) {
1366 if (imo->imo_multicast_ifp == ifp)
1367 imo->imo_multicast_ifp = NULL;
1373 for (i = 0, gap = 0; i < imo
[all...]
H A Dip_mroute.c1219 struct ip_moptions *imo)
1244 if (imo && ((vifi = imo->imo_multicast_vif) < V_numvifs)) {
1679 struct ip_moptions imo; local
1685 imo.imo_multicast_ifp = vifp->v_ifp;
1686 imo.imo_multicast_ttl = mtod(m, struct ip *)->ip_ttl - 1;
1687 imo.imo_multicast_loop = 1;
1688 imo.imo_multicast_vif = -1;
1689 imo.imo_num_memberships = 0;
1690 imo
1218 X_ip_mforward(struct ip *ip, struct ifnet *ifp, struct mbuf *m, struct ip_moptions *imo) argument
[all...]
H A Dudp_usrreq.c445 struct ip_moptions *imo; local
479 imo = inp->inp_moptions;
483 if (imo == NULL) {
492 blocked = imo_multi_filter(imo, ifp,
H A Digmp.c3390 struct ip_moptions imo; local
3423 imo.imo_multicast_ttl = 1;
3424 imo.imo_multicast_vif = -1;
3425 imo.imo_multicast_loop = (V_ip_mrouter != NULL);
3434 imo.imo_multicast_ifp = V_loif;
3436 imo.imo_multicast_ifp = ifp;
3456 error = ip_output(m0, ipopts, NULL, 0, &imo, NULL);
/freebsd-9.3-release/sys/netinet6/
H A Din6_mcast.c223 im6o_grow(struct ip6_moptions *imo) argument
235 omships = imo->im6o_membership;
236 omfilters = imo->im6o_mfilters;
237 oldmax = imo->im6o_max_memberships;
252 imo->im6o_max_memberships = newmax;
253 imo->im6o_membership = nmships;
254 imo->im6o_mfilters = nmfilters;
275 im6o_match_group(const struct ip6_moptions *imo, const struct ifnet *ifp, argument
286 if (imo->im6o_membership == NULL || imo
318 im6o_match_source(const struct ip6_moptions *imo, const size_t gidx, const struct sockaddr *src) argument
350 im6o_mc_filter(const struct ip6_moptions *imo, const struct ifnet *ifp, const struct sockaddr *group, const struct sockaddr *src) argument
1329 struct ip6_moptions *imo; local
1486 struct ip6_moptions *imo; local
1532 ip6_freemoptions(struct ip6_moptions *imo) argument
1566 struct ip6_moptions *imo; local
1812 struct ip6_moptions *imo; local
2102 struct ip6_moptions *imo; local
2342 struct ip6_moptions *imo; local
2378 struct ip6_moptions *imo; local
[all...]
H A Dudp6_usrreq.c254 struct ip6_moptions *imo; local
304 imo = inp->in6p_moptions;
305 if (imo && IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) {
316 blocked = im6o_mc_filter(imo, ifp,
/freebsd-9.3-release/sys/contrib/pf/net/
H A Dif_pfsync.c1763 struct ip_moptions *imo = &sc->sc_imo; local
1854 if (imo->imo_membership)
1857 if (imo->imo_num_memberships > 0) {
1858 in_delmulti(imo->imo_membership[
1859 --imo->imo_num_memberships]);
1860 imo->imo_multicast_ifp = NULL;
1888 if (imo->imo_membership) {
1894 if (imo->imo_num_memberships > 0) {
1895 in_delmulti(imo->imo_membership[--imo
[all...]

Completed in 232 milliseconds