Changes in uspace/srv/net/inetsrv/inetsrv.h [1bbc6dc:b4edc96] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/inetsrv.h
r1bbc6dc rb4edc96 1 1 /* 2 * Copyright (c) 202 4Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 44 44 #include <inet/iplink.h> 45 45 #include <ipc/loc.h> 46 #include <sif.h>47 46 #include <stddef.h> 48 47 #include <stdint.h> … … 115 114 } inet_link_t; 116 115 117 /** Link information needed for autoconfiguration */118 116 typedef struct { 119 service_id_t svc_id;120 char *svc_name;121 } inet_link_cfg_info_t;122 123 /** Address object */124 typedef struct {125 /** Link to list of addresses */126 117 link_t addr_list; 127 /** Address object ID */128 118 sysarg_t id; 129 /** Network address */130 119 inet_naddr_t naddr; 131 /** Underlying IP link */132 120 inet_link_t *ilink; 133 /** Address name */134 121 char *name; 135 /** Temporary object */136 bool temp;137 122 } inet_addrobj_t; 138 123 … … 140 125 typedef struct { 141 126 link_t sroute_list; 142 /** ID */143 127 sysarg_t id; 144 128 /** Destination network */ … … 146 130 /** Router via which to route packets */ 147 131 inet_addr_t router; 148 /** Route name */149 132 char *name; 150 /** Temporary route */151 bool temp;152 133 } inet_sroute_t; 153 134 … … 171 152 } inet_dir_t; 172 153 173 /** Internet server configuration */174 typedef struct {175 /** Configuration file path */176 char *cfg_path;177 } inet_cfg_t;178 179 extern inet_cfg_t *cfg;180 181 154 extern errno_t inet_ev_recv(inet_client_t *, inet_dgram_t *); 182 155 extern errno_t inet_recv_packet(inet_packet_t *);
Note:
See TracChangeset
for help on using the changeset viewer.