Searched refs:lastIp (Results 1 – 1 of 1) sorted by relevance
56 uint32_t lastIp = LastIpAddress(currIp, netmask); in NextIpAddress() local59 if (currIp == lastIp || currIp == broadcast) { in NextIpAddress()66 if (next && nextIp > htonl(lastIp)) { in NextIpAddress()67 nextIp = htonl(network) + (nextIp - htonl(lastIp)); in NextIpAddress()81 uint32_t lastIp = htonl(network) + HostTotal(netmask); in LastIpAddress() local82 if (lastIp) { in LastIpAddress()83 lastIp -= 1; in LastIpAddress()85 return htonl(lastIp); in LastIpAddress()