Changeset 053fc2b in mainline for uspace/lib/c
- Timestamp:
- 2015-04-10T13:52:11Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a931b7b
- Parents:
- d7dadcb4
- Location:
- uspace/lib/c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/dhcp.c
rd7dadcb4 r053fc2b 84 84 } 85 85 86 int dhcp_discover(sysarg_t link_id) 87 { 88 async_exch_t *exch = async_exchange_begin(dhcp_sess); 89 90 int rc = async_req_1_0(exch, DHCP_DISCOVER, link_id); 91 async_exchange_end(exch); 92 93 return rc; 94 } 95 86 96 /** @} 87 97 */ -
uspace/lib/c/include/inet/dhcp.h
rd7dadcb4 r053fc2b 41 41 extern int dhcp_link_add(sysarg_t); 42 42 extern int dhcp_link_remove(sysarg_t); 43 extern int dhcp_discover(sysarg_t); 43 44 44 45 #endif -
uspace/lib/c/include/ipc/dhcp.h
rd7dadcb4 r053fc2b 41 41 typedef enum { 42 42 DHCP_LINK_ADD = IPC_FIRST_USER_METHOD, 43 DHCP_LINK_REMOVE 43 DHCP_LINK_REMOVE, 44 DHCP_DISCOVER 44 45 } dhcp_request_t; 45 46
Note:
See TracChangeset
for help on using the changeset viewer.