Changeset 8bf672d in mainline for uspace/srv/inet/inet.h
- Timestamp:
- 2012-03-30T17:42:11Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 66a272f8
- Parents:
- 3b3c689
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/inet/inet.h
r3b3c689 r8bf672d 90 90 } inet_link_info_t; 91 91 92 /** Static route info */ 93 typedef struct { 94 /** Destination network address */ 95 inet_naddr_t dest; 96 /** Router address */ 97 inet_addr_t router; 98 /** Static route name */ 99 char *name; 100 } inet_sroute_info_t; 101 92 102 typedef struct { 93 103 inet_addr_t src; … … 125 135 } inet_addrobj_t; 126 136 137 /** Static route configuration */ 138 typedef struct { 139 link_t sroute_list; 140 sysarg_t id; 141 /** Destination network */ 142 inet_naddr_t dest; 143 /** Router via which to route packets */ 144 inet_addr_t router; 145 char *name; 146 } inet_sroute_t; 147 148 typedef enum { 149 /** Destination is on this network node */ 150 dt_local, 151 /** Destination is directly reachable */ 152 dt_direct, 153 /** Destination is behind a router */ 154 dt_router 155 } inet_dir_type_t; 156 157 /** Direction (next hop) to a destination */ 158 typedef struct { 159 /** Route type */ 160 inet_dir_type_t dtype; 161 /** Address object (direction) */ 162 inet_addrobj_t *aobj; 163 /** Local destination address */ 164 inet_addr_t ldest; 165 } inet_dir_t; 166 127 167 typedef struct { 128 168 inet_addr_t src;
Note:
See TracChangeset
for help on using the changeset viewer.