Changes in uspace/lib/c/include/inet/inetcfg.h [7af0cc5:3495654] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/inet/inetcfg.h
r7af0cc5 r3495654 38 38 #include <inet/inet.h> 39 39 #include <sys/types.h> 40 #include <types/inetcfg.h> 40 41 /** Address object info */ 42 typedef struct { 43 /** Network address */ 44 inet_naddr_t naddr; 45 /** Link service ID */ 46 sysarg_t ilink; 47 /** Address object name */ 48 char *name; 49 } inet_addr_info_t; 50 51 /** IP link info */ 52 typedef struct { 53 /** Link service name */ 54 char *name; 55 /** Default MTU */ 56 size_t def_mtu; 57 } inet_link_info_t; 58 59 /** Static route info */ 60 typedef struct { 61 /** Destination network address */ 62 inet_naddr_t dest; 63 /** Router address */ 64 inet_addr_t router; 65 /** Static route name */ 66 char *name; 67 } inet_sroute_info_t; 41 68 42 69 extern int inetcfg_init(void); … … 48 75 extern int inetcfg_get_link_list(sysarg_t **, size_t *); 49 76 extern int inetcfg_get_sroute_list(sysarg_t **, size_t *); 50 extern int inetcfg_link_add(sysarg_t);51 77 extern int inetcfg_link_get(sysarg_t, inet_link_info_t *); 52 extern int inetcfg_link_remove(sysarg_t);53 78 extern int inetcfg_sroute_get(sysarg_t, inet_sroute_info_t *); 54 79 extern int inetcfg_sroute_get_id(const char *, sysarg_t *);
Note:
See TracChangeset
for help on using the changeset viewer.