Searched refs:DhcpAddressPool (Results 1 - 7 of 7) sorted by relevance
/foundation/communication/dhcp/services/dhcp_server/include/ |
H A D | dhcp_address_pool.h | 28 typedef struct DhcpAddressPool DhcpAddressPool; typedef 31 typedef uint32_t (*Distribute)(DhcpAddressPool *pool, uint8_t macAddr[DHCP_HWADDR_LENGTH]); 38 struct DhcpAddressPool { struct 56 int InitAddressPool(DhcpAddressPool *pool, const char *ifname, PDhcpOptionList options); 57 void FreeAddressPool(DhcpAddressPool *pool); 60 int IsReservedIp(DhcpAddressPool *pool, uint32_t ipAddress); 66 int AddLease(DhcpAddressPool *pool, AddressBinding *lease); 67 AddressBinding *GetLease(DhcpAddressPool *pool, uint32_t ipAddress); 68 int UpdateLease(DhcpAddressPool *poo [all...] |
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_address_pool.cpp | 85 int CheckIpAvailability(DhcpAddressPool *pool, uint8_t macAddr[DHCP_HWADDR_LENGTH], uint32_t distIp) in CheckIpAvailability() 128 DhcpAddressPool *pool, uint8_t macAddr[DHCP_HWADDR_LENGTH], uint32_t distIp, int *outOfRange) in CheckRangeAvailability() 180 uint32_t AddressDistribute(DhcpAddressPool *pool, uint8_t macAddr[DHCP_HWADDR_LENGTH]) in AddressDistribute() 223 int InitAddressPool(DhcpAddressPool *pool, const char *ifname, PDhcpOptionList options) in InitAddressPool() 229 if (memset_s(pool, sizeof(DhcpAddressPool), 0, sizeof(DhcpAddressPool)) != EOK) { in InitAddressPool() 255 void FreeAddressPool(DhcpAddressPool *pool) in FreeAddressPool() 301 int IsReservedIp(DhcpAddressPool *pool, uint32_t ipAddress) in IsReservedIp() 398 int AddLease(DhcpAddressPool *pool, AddressBinding *lease) in AddLease() 421 AddressBinding *GetLease(DhcpAddressPool *poo [all...] |
H A D | dhcp_dhcpd.cpp | 48 void LoadLocalConfig(DhcpAddressPool *pool) in LoadLocalConfig() 53 void ReloadLocalConfig(DhcpAddressPool *pool) in ReloadLocalConfig()
|
H A D | dhcp_s_server.cpp | 85 DhcpAddressPool addressPool; 583 static int CheckAddressRange(DhcpAddressPool *pool) in CheckAddressRange() 599 void InitBindingRecoders(DhcpAddressPool *pool) in InitBindingRecoders() 624 void InitLeaseFile(DhcpAddressPool *pool) in InitLeaseFile() 799 static int Repending(DhcpAddressPool *pool, AddressBinding *binding) in Repending() 832 static int Rebinding(DhcpAddressPool *pool, AddressBinding *binding) in Rebinding() 896 AddressBinding *GetBinding(DhcpAddressPool *pool, PDhcpMsgInfo received) in GetBinding() 1043 static int GetYourIpAddress(PDhcpMsgInfo received, uint32_t *yourIpAddr, DhcpAddressPool *pool) in GetYourIpAddress() 1085 static int NotBindingRequest(DhcpAddressPool *pool, PDhcpMsgInfo received, PDhcpMsgInfo reply) in NotBindingRequest()
|
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/ |
H A D | dhcp_address_pool_test.cpp | 81 DhcpAddressPool testPool; 431 DhcpAddressPool tempPool; in HWTEST_F() 432 ASSERT_TRUE(memset_s(&tempPool, sizeof(DhcpAddressPool), 0, sizeof(DhcpAddressPool)) == EOK); in HWTEST_F() 467 DhcpAddressPool pool; in HWTEST_F()
|
H A D | dhcp_s_server_test.cpp | 37 DhcpAddressPool addressPool;
|
/foundation/communication/dhcp/test/fuzztest/dhcpaddresspool_fuzzer/ |
H A D | dhcpaddresspool_fuzzer.cpp | 42 DhcpAddressPool pool; in DhcpAddressPoolFuzzTest()
|
Completed in 6 milliseconds