Searched refs:ndrv_multi (Results 1 – 1 of 1) sorted by relevance
946 ndrv_multiaddr_free(struct ndrv_multiaddr *ndrv_multi) in ndrv_multiaddr_free() argument948 kfree_data(ndrv_multi->addr, ndrv_multi->addr->sa_len); in ndrv_multiaddr_free()949 kfree_type(struct ndrv_multiaddr, ndrv_multi); in ndrv_multiaddr_free()955 struct ndrv_multiaddr *ndrv_multi = NULL; in ndrv_do_add_multicast() local974 ndrv_multi = kalloc_type(struct ndrv_multiaddr, Z_WAITOK_ZERO_NOFAIL); in ndrv_do_add_multicast()975 ndrv_multi->addr = addr; in ndrv_do_add_multicast()980 if (result == 0 && sopt->sopt_valsize != ndrv_multi->addr->sa_len) { in ndrv_do_add_multicast()984 if (result == 0 && ndrv_have_multicast(np, ndrv_multi->addr)) { in ndrv_do_add_multicast()990 result = ifnet_add_multicast(np->nd_if, ndrv_multi->addr, in ndrv_do_add_multicast()991 &ndrv_multi->ifma); in ndrv_do_add_multicast()[all …]