Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/net/
H A Dndrv.c899 struct ndrv_multiaddr* ndrv_multi; in ndrv_do_add_multicast() local
914 MALLOC(ndrv_multi, struct ndrv_multiaddr*, sizeof(struct ndrv_multiaddr) - in ndrv_do_add_multicast()
916 if (ndrv_multi == NULL) { in ndrv_do_add_multicast()
921 result = copyin(sopt->sopt_val, &ndrv_multi->addr, sopt->sopt_valsize); in ndrv_do_add_multicast()
924 if (result == 0 && sopt->sopt_valsize != ndrv_multi->addr.sa_len) { in ndrv_do_add_multicast()
928 if (result == 0 && ndrv_have_multicast(np, &ndrv_multi->addr)) { in ndrv_do_add_multicast()
934 result = ifnet_add_multicast(np->nd_if, &ndrv_multi->addr, in ndrv_do_add_multicast()
935 &ndrv_multi->ifma); in ndrv_do_add_multicast()
940 ndrv_multi->next = np->nd_multiaddrs; in ndrv_do_add_multicast()
941 np->nd_multiaddrs = ndrv_multi; in ndrv_do_add_multicast()
[all …]