Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/inet/inetcfg.h

    r7af0cc5 r3495654  
    3838#include <inet/inet.h>
    3939#include <sys/types.h>
    40 #include <types/inetcfg.h>
     40
     41/** Address object info */
     42typedef 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 */
     52typedef 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 */
     60typedef 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;
    4168
    4269extern int inetcfg_init(void);
     
    4875extern int inetcfg_get_link_list(sysarg_t **, size_t *);
    4976extern int inetcfg_get_sroute_list(sysarg_t **, size_t *);
    50 extern int inetcfg_link_add(sysarg_t);
    5177extern int inetcfg_link_get(sysarg_t, inet_link_info_t *);
    52 extern int inetcfg_link_remove(sysarg_t);
    5378extern int inetcfg_sroute_get(sysarg_t, inet_sroute_info_t *);
    5479extern int inetcfg_sroute_get_id(const char *, sysarg_t *);
Note: See TracChangeset for help on using the changeset viewer.