Home
last modified time | relevance | path

Searched refs:ifma (Results 1 – 5 of 5) sorted by relevance

/haiku/src/libs/compat/freebsd_network/
H A Dif.c475 struct ifmultiaddr *ifma; in if_findmulti() local
477 TAILQ_FOREACH (ifma, &ifp->if_multiaddrs, ifma_link) { in if_findmulti()
479 LLADDR((struct sockaddr_dl *)ifma->ifma_addr), ETHER_ADDR_LEN) == 0) in if_findmulti()
480 return ifma; in if_findmulti()
494 if_freemulti(struct ifmultiaddr *ifma) in if_freemulti() argument
497 KASSERT(ifma->ifma_refcount == 0, ("if_freemulti: refcount %d", in if_freemulti()
498 ifma->ifma_refcount)); in if_freemulti()
499 KASSERT(ifma->ifma_protospec == NULL, in if_freemulti()
502 if (ifma->ifma_lladdr != NULL) in if_freemulti()
503 free(ifma->ifma_lladdr); in if_freemulti()
[all …]
H A Dfbsd_if.c549 struct ifmultiaddr *ifma; in if_llmaddr_count() local
554 TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) in if_llmaddr_count()
555 if (ifma->ifma_addr->sa_family == AF_LINK) in if_llmaddr_count()
573 struct ifmultiaddr *ifma; in if_foreach_llmaddr() local
580 TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) { in if_foreach_llmaddr()
581 if (ifma->ifma_addr->sa_family != AF_LINK) in if_foreach_llmaddr()
583 count += (*cb)(cb_arg, (struct sockaddr_dl *)ifma->ifma_addr, in if_foreach_llmaddr()
/haiku/src/add-ons/kernel/drivers/network/ether/sis900/dev/sis/
H A Dif_sis.c698 struct ifmultiaddr *ifma; in sis_rxfilter_ns() local
744 TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) { in sis_rxfilter_ns()
745 if (ifma->ifma_addr->sa_family != AF_LINK) in sis_rxfilter_ns()
748 LLADDR((struct sockaddr_dl *)ifma->ifma_addr)); in sis_rxfilter_ns()
769 struct ifmultiaddr *ifma; in sis_rxfilter_sis() local
802 TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) { in sis_rxfilter_sis()
803 if (ifma->ifma_addr->sa_family != AF_LINK) in sis_rxfilter_sis()
806 LLADDR((struct sockaddr_dl *)ifma->ifma_addr)); in sis_rxfilter_sis()
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/dev/pcn/
H A Dif_pcn.c353 struct ifmultiaddr *ifma; local
374 TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) {
375 if (ifma->ifma_addr->sa_family != AF_LINK)
378 ifma->ifma_addr), ETHER_ADDR_LEN) >> 26;
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/dev/de/
H A Dif_de.c3028 struct ifmultiaddr *ifma; in tulip_addr_filter() local
3054 TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) { in tulip_addr_filter()
3056 if (ifma->ifma_addr->sa_family == AF_LINK) in tulip_addr_filter()
3081 TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) { in tulip_addr_filter()
3083 if (ifma->ifma_addr->sa_family != AF_LINK) in tulip_addr_filter()
3086 hash = tulip_mchash(LLADDR((struct sockaddr_dl *)ifma->ifma_addr)); in tulip_addr_filter()
3113 TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) { in tulip_addr_filter()
3114 if (ifma->ifma_addr->sa_family != AF_LINK) in tulip_addr_filter()
3116 addrp = LLADDR((struct sockaddr_dl *)ifma->ifma_addr); in tulip_addr_filter()