Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/inetsrv/inetsrv.h

    r1bbc6dc rb4edc96  
    11/*
    2  * Copyright (c) 2024 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    4444#include <inet/iplink.h>
    4545#include <ipc/loc.h>
    46 #include <sif.h>
    4746#include <stddef.h>
    4847#include <stdint.h>
     
    115114} inet_link_t;
    116115
    117 /** Link information needed for autoconfiguration */
    118116typedef 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 */
    126117        link_t addr_list;
    127         /** Address object ID */
    128118        sysarg_t id;
    129         /** Network address */
    130119        inet_naddr_t naddr;
    131         /** Underlying IP link */
    132120        inet_link_t *ilink;
    133         /** Address name */
    134121        char *name;
    135         /** Temporary object */
    136         bool temp;
    137122} inet_addrobj_t;
    138123
     
    140125typedef struct {
    141126        link_t sroute_list;
    142         /** ID */
    143127        sysarg_t id;
    144128        /** Destination network */
     
    146130        /** Router via which to route packets */
    147131        inet_addr_t router;
    148         /** Route name */
    149132        char *name;
    150         /** Temporary route */
    151         bool temp;
    152133} inet_sroute_t;
    153134
     
    171152} inet_dir_t;
    172153
    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 
    181154extern errno_t inet_ev_recv(inet_client_t *, inet_dgram_t *);
    182155extern errno_t inet_recv_packet(inet_packet_t *);
Note: See TracChangeset for help on using the changeset viewer.