Provides APIs for DHCP(Dynamic Host Configuration Protocol) Client.
More...
Provides APIs for DHCP(Dynamic Host Configuration Protocol) Client.
void dhcpc_close |
( |
void * |
handle | ) |
|
dhcpc_close() return dhcp client handle
- Parameters
-
[in] | handle | generic data structure that contains dhcpc information |
- Returns
- none
- Since
- Tizen RT v1.0
void* dhcpc_open |
( |
const char * |
intf | ) |
|
Get DHCP client handle.
- Parameters
-
[in] | intf | the name of network interface |
[in] | mac_addr | the mac address of network interface |
[in] | mac_len | the length of mac address |
- Returns
- On success, handle. On failure, returns null
- Since
- Tizen RT v1.0
int dhcpc_request |
( |
void * |
handle, |
|
|
struct dhcpc_state * |
presult |
|
) |
| |
Starts DHCP client.
- Parameters
-
[in] | handle | generic data structure that contains dhcpc information |
[out] | presult | dhcp informations that contain ip address, netmask and gateway |
- Returns
- On success, 0. On failure, returns negative
- Since
- Tizen RT v1.0