Lines Matching defs:group

32  * IPv4 multicast socket, group, and socket option processing module.
85 static MALLOC_DEFINE(M_IPMADDR, "in_multi", "IPv4 multicast group");
173 "Max source filters per group");
324 * Find an IPv4 multicast group entry for this ip_moptions instance
325 * which matches the specified group, and optionally an interface.
330 const struct sockaddr *group)
337 gsin = (const struct sockaddr_in *)group;
361 * the given group index for this socket, and source address.
393 * Perform filtering for multicast datagrams on a socket by group and source.
396 * if the socket was not a member of the group, or the source was muted, etc.
400 const struct sockaddr *group, const struct sockaddr *src)
408 gidx = imo_match_group(imo, ifp, group);
418 * NOTE: We are comparing group state here at IGMP t1 (now)
432 * Find and return a reference to an in_multi record for (ifp, group),
435 * filters on ifp to listen for group.
440 in_getmulti(struct ifnet *ifp, const struct in_addr *group,
453 inm = inm_lookup(ifp, *group);
456 * If we already joined this group, just bump the
469 gsin.sin_addr = *group;
472 * Check if a link-layer group is already associated
473 * with this network-layer group on the given ifnet.
484 * group, print a meaningful error message and back out of
487 * group association and return it.
498 !in_hosteq(inm->inm_addr, *group)) {
502 __func__, ifma, inm, inet_ntoa_r(*group, addrbuf));
526 inm->inm_addr = *group;
584 * Clear recorded source entries for a group.
609 * inm is the group descriptor.
617 * the group actually being joined on the local host.
621 * the group has not been joined.
864 * Look up a source filter entry for a multicast group.
866 * inm is the group descriptor to work with.
939 * imf is the per-inpcb-membership group filter pointer.
1034 * and the IGMP lifecycle for this group should finish.
1129 * Join a multicast group; unlocked entry point.
1149 * Join a multicast group; real entry point.
1154 * If the IGMP downcall fails, the group is not joined, and an error
1214 * Leave a multicast group; unlocked entry point.
1229 * Leave a multicast group; real entry point.
1291 * Join an IPv4 multicast group in (*,G) exclusive mode.
1292 * The group must be a 224.0.0.0/24 link-scope group.
1316 * Leave an IPv4 multicast group, assumed to be in exclusive (*,G) mode.
1429 * Check if we are actually a member of this group.
1557 /* Initialize per-group source filters. */
1631 * Atomically get source filters on a socket for an IPv4 multicast group.
1672 * Lookup group on the socket.
1859 * Look up the ifnet to use for a multicast group membership,
1860 * given the IPv4 address of an interface, and the IPv4 group address.
1869 * If ina is INADDR_ANY, look up the group address in the unicast FIB,
1926 * Join an IPv4 multicast group, possibly with a source.
2133 * membership of the group. The in_multi may not have
2224 * Leave an IPv4 multicast group on an inpcb, possibly with a source.
2520 * Atomically set source filters on a socket for an IPv4 multicast group.
2567 * Check if this socket is a member of this group.
2614 * Restore new group filter mode, as imf_leave()
2844 * keyed by (ifindex, group).
2853 struct in_addr src, group;
2879 group.s_addr = name[1];
2880 if (!IN_MULTICAST(ntohl(group.s_addr))) {
2881 CTR2(KTR_IGMPV3, "%s: group 0x%08x is not multicast",
2882 __func__, ntohl(group.s_addr));
2906 if (!in_hosteq(inm->inm_addr, group))