Changeset 7af0cc5 in mainline for uspace/lib/c
- Timestamp:
- 2013-09-20T16:46:56Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bd88bee
- Parents:
- 947e2ef
- Location:
- uspace/lib/c
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/inetcfg.c
r947e2ef r7af0cc5 267 267 } 268 268 269 int inetcfg_link_add(sysarg_t link_id) 270 { 271 async_exch_t *exch = async_exchange_begin(inetcfg_sess); 272 273 int rc = async_req_1_0(exch, INETCFG_LINK_ADD, link_id); 274 async_exchange_end(exch); 275 276 return rc; 277 } 278 269 279 int inetcfg_link_get(sysarg_t link_id, inet_link_info_t *linfo) 270 280 { … … 305 315 } 306 316 317 int inetcfg_link_remove(sysarg_t link_id) 318 { 319 async_exch_t *exch = async_exchange_begin(inetcfg_sess); 320 321 int rc = async_req_1_0(exch, INETCFG_LINK_REMOVE, link_id); 322 async_exchange_end(exch); 323 324 return rc; 325 } 326 307 327 int inetcfg_sroute_create(const char *name, inet_naddr_t *dest, 308 328 inet_addr_t *router, sysarg_t *sroute_id) -
uspace/lib/c/include/inet/inetcfg.h
r947e2ef r7af0cc5 48 48 extern int inetcfg_get_link_list(sysarg_t **, size_t *); 49 49 extern int inetcfg_get_sroute_list(sysarg_t **, size_t *); 50 extern int inetcfg_link_add(sysarg_t); 50 51 extern int inetcfg_link_get(sysarg_t, inet_link_info_t *); 52 extern int inetcfg_link_remove(sysarg_t); 51 53 extern int inetcfg_sroute_get(sysarg_t, inet_sroute_info_t *); 52 54 extern int inetcfg_sroute_get_id(const char *, sysarg_t *); -
uspace/lib/c/include/ipc/inet.h
r947e2ef r7af0cc5 72 72 INETCFG_GET_LINK_LIST, 73 73 INETCFG_GET_SROUTE_LIST, 74 INETCFG_LINK_ADD, 74 75 INETCFG_LINK_GET, 76 INETCFG_LINK_REMOVE, 75 77 INETCFG_SROUTE_CREATE, 76 78 INETCFG_SROUTE_DELETE, -
uspace/lib/c/include/ipc/services.h
r947e2ef r7af0cc5 59 59 #define SERVICE_NAME_INETPING "net/inetping" 60 60 #define SERVICE_NAME_INETPING6 "net/inetping6" 61 #define SERVICE_NAME_NETCONF "net/netconf" 61 62 62 63 #endif
Note:
See TracChangeset
for help on using the changeset viewer.