Searched refs:mcaddr (Results 1 – 7 of 7) sorted by relevance
/freebsd/sys/netinet6/ |
H A D | raw_ip6.c | 269 struct sockaddr_in6 mcaddr; in rip6_input() local 271 bzero(&mcaddr, sizeof(struct sockaddr_in6)); in rip6_input() 272 mcaddr.sin6_len = sizeof(struct sockaddr_in6); in rip6_input() 273 mcaddr.sin6_family = AF_INET6; in rip6_input() 274 mcaddr.sin6_addr = ip6->ip6_dst; in rip6_input() 278 (struct sockaddr *)&mcaddr, in rip6_input()
|
H A D | in6_mcast.c | 355 in6m_lookup_locked(struct ifnet *ifp, const struct in6_addr *mcaddr) in in6m_lookup_locked() argument 366 if (IN6_ARE_ADDR_EQUAL(&inm->in6m_addr, mcaddr)) in in6m_lookup_locked() 1211 in6_joingroup(struct ifnet *ifp, const struct in6_addr *mcaddr, in in6_joingroup() argument 1218 error = in6_joingroup_locked(ifp, mcaddr, NULL, pinm, delay); in in6_joingroup() 1233 in6_joingroup_locked(struct ifnet *ifp, const struct in6_addr *mcaddr, in in6_joingroup_locked() argument 1250 KASSERT(IN6_IS_ADDR_MULTICAST(mcaddr), in in6_joingroup_locked() 1252 if (IN6_IS_ADDR_MC_LINKLOCAL(mcaddr) || in in6_joingroup_locked() 1253 IN6_IS_ADDR_MC_INTFACELOCAL(mcaddr)) { in in6_joingroup_locked() 1254 KASSERT(mcaddr->s6_addr16[1] != 0, in in6_joingroup_locked() 1262 ip6_sprintf(ip6tbuf, mcaddr), ifp, if_name(ifp)); in in6_joingroup_locked() [all …]
|
H A D | udp6_usrreq.c | 287 struct sockaddr_in6 mcaddr; in udp6_multi_input() local 290 bzero(&mcaddr, sizeof(struct sockaddr_in6)); in udp6_multi_input() 291 mcaddr.sin6_len = sizeof(struct sockaddr_in6); in udp6_multi_input() 292 mcaddr.sin6_family = AF_INET6; in udp6_multi_input() 293 mcaddr.sin6_addr = ctx.ip6->ip6_dst; in udp6_multi_input() 296 (struct sockaddr *)&mcaddr, in udp6_multi_input()
|
H A D | in6_var.h | 782 in6m_lookup_locked(struct ifnet *ifp, const struct in6_addr *mcaddr); 790 in6m_lookup(struct ifnet *ifp, const struct in6_addr *mcaddr) in in6m_lookup() argument 797 inm = in6m_lookup_locked(ifp, mcaddr); in in6m_lookup()
|
H A D | in6.c | 625 in6_joingroup_legacy(struct ifnet *ifp, const struct in6_addr *mcaddr, in in6_joingroup_legacy() argument 639 error = in6_joingroup(ifp, mcaddr, NULL, &imm->i6mm_maddr, delay); in in6_joingroup_legacy()
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_main.c | 6147 const uint8_t *mcaddr[FW_MAC_EXACT_CHUNK]; member 6165 ctx->mcaddr[ctx->i] = LLADDR(sdl); in add_maddr() 6166 MPASS(ETHER_IS_MULTICAST(ctx->mcaddr[ctx->i])); in add_maddr() 6171 ctx->i, ctx->mcaddr, NULL, &ctx->hash, 0); in add_maddr() 6180 ctx->mcaddr[j][0], ctx->mcaddr[j][1], in add_maddr() 6181 ctx->mcaddr[j][2], ctx->mcaddr[j][3], in add_maddr() 6182 ctx->mcaddr[j][4], ctx->mcaddr[j][5], in add_maddr() 6274 ctx.del, ctx.i, ctx.mcaddr, NULL, &ctx.hash, 0); in update_mac_settings() 6283 ctx.mcaddr[j][0], ctx.mcaddr[j][1], in update_mac_settings() 6284 ctx.mcaddr[j][2], ctx.mcaddr[j][3], in update_mac_settings() [all …]
|
/freebsd/sys/dev/nfe/ |
H A D | if_nfe.c | 2522 uint8_t *addrp, mcaddr; in nfe_hash_maddr() local 2527 mcaddr = addrp[j]; in nfe_hash_maddr() 2528 ctx->addr[j] &= mcaddr; in nfe_hash_maddr() 2529 ctx->mask[j] &= ~mcaddr; in nfe_hash_maddr()
|