Ignore:
File:
1 edited

Legend:

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

    r457a6f5 r849ed54  
    2828
    2929/** @addtogroup udp
    30  * @{
     30 *  @{
    3131 */
    3232
    3333/** @file
    34  * UDP module.
     34 *  UDP module.
    3535 */
    3636
    37 #ifndef NET_UDP_H_
    38 #define NET_UDP_H_
     37#ifndef __NET_UDP_H__
     38#define __NET_UDP_H__
    3939
    4040#include <fibril_synch.h>
     
    4343
    4444/** Type definition of the UDP global data.
    45  * @see udp_globals
     45 *  @see udp_globals
    4646 */
    47 typedef struct udp_globals udp_globals_t;
     47typedef struct udp_globals      udp_globals_t;
    4848
    49 /** UDP global data. */
    50 struct udp_globals {
    51         /** Networking module phone. */
     49/** UDP global data.
     50 */
     51struct  udp_globals{
     52        /** Networking module phone.
     53         */
    5254        int net_phone;
    53         /** IP module phone. */
     55        /** IP module phone.
     56         */
    5457        int ip_phone;
    55         /** ICMP module phone. */
     58        /** ICMP module phone.
     59         */
    5660        int icmp_phone;
    57         /** Packet dimension. */
     61        /** Packet dimension.
     62         */
    5863        packet_dimension_t packet_dimension;
    59         /** Indicates whether UDP checksum computing is enabled. */
     64        /** Indicates whether UDP checksum computing is enabled.
     65         */
    6066        int checksum_computing;
    61         /** Indicates whether UDP autobnding on send is enabled. */
     67        /** Indicates whether UDP autobnding on send is enabled.
     68         */
    6269        int autobinding;
    63         /** Last used free port. */
     70        /** Last used free port.
     71         */
    6472        int last_used_port;
    65         /** Active sockets. */
     73        /** Active sockets.
     74         */
    6675        socket_ports_t sockets;
    67         /** Device packet dimensions. */
     76        /** Device packet dimensions.
     77         */
    6878        packet_dimensions_t dimensions;
    69         /** Safety lock. */
     79        /** Safety lock.
     80         */
    7081        fibril_rwlock_t lock;
    7182};
     
    7586/** @}
    7687 */
     88
Note: See TracChangeset for help on using the changeset viewer.