Home
last modified time | relevance | path

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

/foundation/communication/dhcp/test/services/dhcp_server/unittest/
Ddhcp_binding_test.cpp58 binding.bindingStatus = BIND_PENDING;
61 binding.bindingStatus = BIND_PENDING;
64 binding.bindingStatus = BIND_ASSOCIATED;
67 binding.bindingStatus = BIND_ASSOCIATED;
85 binding.bindingStatus = 0;
Ddhcp_address_pool_test.cpp290 lease.bindingStatus = BIND_ASSOCIATED;
316 lease.bindingStatus = BIND_ASSOCIATED;
339 EXPECT_EQ(lease.bindingStatus, leaseRec->bindingStatus);
347 lease.bindingStatus = BIND_ASSOCIATED;
366 EXPECT_EQ(lease.bindingStatus, leaseRec->bindingStatus);
392 lease.bindingStatus = BIND_ASSOCIATED;
461 lease.bindingStatus = BIND_ASSOCIATED;
479 lease.bindingStatus = BIND_ASSOCIATED;
516 lease.bindingStatus = BIND_ASSOCIATED;
533 EXPECT_EQ(lease.bindingStatus, binding->bindingStatus);
[all …]
/foundation/communication/dhcp/services/dhcp_server/src/
Ddhcp_binding.c63 if (binding->bindingStatus == BIND_PENDING) { in IsExpire()
65 } else if (binding->bindingStatus == BIND_ASSOCIATED) { in IsExpire()
70 binding->bindingStatus = BIND_EXPIRED; in IsExpire()
98 binding->bindingStatus) < 0) { in WriteAddressBinding()
197 binding->bindingStatus = atoi(strs[BINDING_BINDING_STATUS_POS]); in ParseAddressBinding()
198 if (binding->bindingStatus == BIND_ASSOCIATED) { in ParseAddressBinding()
Ddhcp_server.c793 binding->bindingStatus = BIND_PENDING; in Repending()
818 binding->bindingStatus = BIND_ASSOCIATED; in Rebinding()
1024 if (lease->bindingStatus == BIND_ASSOCIATED && !sameAddr) { in NotBindingRequest()
1053 lease->bindingStatus = BIND_ASSOCIATED; in NotBindingRequest()
1161 lease->bindingStatus = BIND_ASSOCIATED; in OnReceivedRequest()
1211 lease->bindingStatus = BIND_MODE_RESERVED; in OnReceivedDecline()
Ddhcp_address_pool.c76 newBind.bindingStatus = BIND_PENDING; in AddNewBinding()
444 binding->bindingStatus = BIND_RELEASED; in ReleaseBinding()
/foundation/communication/dhcp/services/dhcp_server/include/
Ddhcp_binding.h39 int bindingStatus; member