Lines Matching refs:network
47 uint32_t network = NetworkAddress(ip, netmask);
48 uint32_t firstIp = htonl(network) + 1;
54 uint32_t network = NetworkAddress(currIp, netmask);
67 nextIp = htonl(network) + (nextIp - htonl(lastIp));
72 uint32_t FirstNetIpAddress(uint32_t network)
74 uint32_t firstIp = htonl(network) + 1;
80 uint32_t network = NetworkAddress(ip, netmask);
81 uint32_t lastIp = htonl(network) + HostTotal(netmask);
88 int IpInNetwork(uint32_t ip, uint32_t network, uint32_t netmask)
91 uint32_t secondNet = NetworkAddress(network, netmask);
93 uint32_t beginIp = FirstIpAddress(network, netmask);
94 uint32_t broadCast = BroadCastAddress(network, netmask);
106 uint32_t network = NetworkAddress(ip, netmask);
109 if (network != firstNet || firstNet != secondNet) {
120 uint32_t network = NetworkAddress(ip, netmask);
121 uint32_t broadcast = htonl(network) + HostTotal(netmask);
271 uint32_t NetworkToHost(uint32_t network)
273 return ntohl(network);