Ignore:
File:
1 edited

Legend:

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

    r01a9ef5 raadf01e  
    155155 *  @see device.h
    156156 */
    157 DEVICE_MAP_DECLARE( netifs, netif_t )
     157DEVICE_MAP_DECLARE(netifs, netif_t)
    158158
    159159/** Configuration settings.
     
    161161 *  @see generic_char_map.h
    162162 */
    163 GENERIC_CHAR_MAP_DECLARE( measured_strings, measured_string_t )
     163GENERIC_CHAR_MAP_DECLARE(measured_strings, measured_string_t)
    164164
    165165/** Present network interface device.
     
    168168        /** System-unique network interface identifier.
    169169         */
    170         device_id_t             id;
     170        device_id_t id;
    171171        /** Serving network interface driver module index.
    172172         */
    173         module_ref              driver;
     173        module_ref driver;
    174174        /** Serving link layer module index.
    175175         */
    176         module_ref              nil;
     176        module_ref nil;
    177177        /** Serving internet layer module index.
    178178         */
    179         module_ref              il;
     179        module_ref il;
    180180        /** System-unique network interface name.
    181181         */
    182         char *                  name;
     182        char * name;
    183183        /** Configuration.
    184184         */
    185         measured_strings_t      configuration;
     185        measured_strings_t configuration;
    186186};
    187187
     
    191191        /** Present network interfaces.
    192192         */
    193         netifs_t                netifs;
     193        netifs_t netifs;
    194194        /** Network interface structure indices by names.
    195195         */
    196         char_map_t              netif_names;
     196        char_map_t netif_names;
    197197        /** Available modules.
    198198         */
    199         modules_t               modules;
     199        modules_t modules;
    200200        /** Global configuration.
    201201         */
    202         measured_strings_t      configuration;
     202        measured_strings_t configuration;
    203203};
    204204
     
    210210 *  @returns ENOMEM if there is not enough memory left.
    211211 */
    212 int     add_configuration( measured_strings_ref configuration, const char * name, const char * value );
     212int add_configuration(measured_strings_ref configuration, const char * name, const char * value);
    213213
    214214/** Processes the networking message.
     
    222222 *  @see IS_NET_NET_MESSAGE()
    223223 */
    224 int net_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count );
     224int net_message(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count);
    225225
    226226/** Initializes the networking module for the chosen subsystem build type.
     
    229229 *  @returns ENOMEM if there is not enough memory left.
    230230 */
    231 int     net_initialize_build( async_client_conn_t client_connection );
     231int net_initialize_build(async_client_conn_t client_connection);
    232232
    233233/** Processes the module message.
     
    241241 *  @returns Other error codes as defined for each bundled module message function.
    242242 */
    243 int     module_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count );
     243int module_message(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count);
    244244
    245245#endif
Note: See TracChangeset for help on using the changeset viewer.