Changeset ebb1489 in mainline for uspace/srv/net/inetsrv/inetsrv.h
- Timestamp:
- 2024-10-13T08:23:40Z (8 weeks ago)
- Children:
- 0472cf17
- Parents:
- 2a0c827c (diff), b3b79981 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
- git-committer:
- GitHub <noreply@…> (2024-10-13 08:23:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/inetsrv.h
r2a0c827c rebb1489 1 1 /* 2 * Copyright (c) 202 1Jiri Svoboda2 * Copyright (c) 2024 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> 46 47 #include <stddef.h> 47 48 #include <stdint.h> … … 114 115 } inet_link_t; 115 116 117 /** Link information needed for autoconfiguration */ 116 118 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 */ 117 126 link_t addr_list; 127 /** Address object ID */ 118 128 sysarg_t id; 129 /** Network address */ 119 130 inet_naddr_t naddr; 131 /** Underlying IP link */ 120 132 inet_link_t *ilink; 133 /** Address name */ 121 134 char *name; 135 /** Temporary object */ 136 bool temp; 122 137 } inet_addrobj_t; 123 138 … … 125 140 typedef struct { 126 141 link_t sroute_list; 142 /** ID */ 127 143 sysarg_t id; 128 144 /** Destination network */ … … 130 146 /** Router via which to route packets */ 131 147 inet_addr_t router; 148 /** Route name */ 132 149 char *name; 150 /** Temporary route */ 151 bool temp; 133 152 } inet_sroute_t; 134 153 … … 152 171 } inet_dir_t; 153 172 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 154 181 extern errno_t inet_ev_recv(inet_client_t *, inet_dgram_t *); 155 182 extern errno_t inet_recv_packet(inet_packet_t *);
Note:
See TracChangeset
for help on using the changeset viewer.