Lines Matching defs:cur
969 struct ndrv_multiaddr* cur = np->nd_multiaddrs;
973 if (cur == ndrv_entry)
975 np->nd_multiaddrs = cur->next;
979 for (cur = cur->next; cur != NULL; cur = cur->next)
981 if (cur->next == ndrv_entry)
983 cur->next = cur->next->next;
1000 struct ndrv_multiaddr* cur;
1001 for (cur = np->nd_multiaddrs; cur != NULL; cur = cur->next)
1004 if ((inAddr->sa_len == cur->addr.sa_len) &&
1005 (bcmp(&cur->addr, inAddr, inAddr->sa_len) == 0))
1008 return cur;
1018 struct ndrv_multiaddr* cur;
1024 cur = np->nd_multiaddrs;
1025 np->nd_multiaddrs = cur->next;
1027 ifnet_remove_multicast(cur->ifma);
1028 ifmaddr_release(cur->ifma);
1029 FREE(cur, M_IFADDR);