Changes in uspace/srv/net/tl/udp/udp.h [457a6f5:849ed54] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/udp/udp.h
r457a6f5 r849ed54 28 28 29 29 /** @addtogroup udp 30 * @{30 * @{ 31 31 */ 32 32 33 33 /** @file 34 * UDP module.34 * UDP module. 35 35 */ 36 36 37 #ifndef NET_UDP_H_38 #define NET_UDP_H_37 #ifndef __NET_UDP_H__ 38 #define __NET_UDP_H__ 39 39 40 40 #include <fibril_synch.h> … … 43 43 44 44 /** Type definition of the UDP global data. 45 * @see udp_globals45 * @see udp_globals 46 46 */ 47 typedef struct udp_globals 47 typedef struct udp_globals udp_globals_t; 48 48 49 /** UDP global data. */ 50 struct udp_globals { 51 /** Networking module phone. */ 49 /** UDP global data. 50 */ 51 struct udp_globals{ 52 /** Networking module phone. 53 */ 52 54 int net_phone; 53 /** IP module phone. */ 55 /** IP module phone. 56 */ 54 57 int ip_phone; 55 /** ICMP module phone. */ 58 /** ICMP module phone. 59 */ 56 60 int icmp_phone; 57 /** Packet dimension. */ 61 /** Packet dimension. 62 */ 58 63 packet_dimension_t packet_dimension; 59 /** Indicates whether UDP checksum computing is enabled. */ 64 /** Indicates whether UDP checksum computing is enabled. 65 */ 60 66 int checksum_computing; 61 /** Indicates whether UDP autobnding on send is enabled. */ 67 /** Indicates whether UDP autobnding on send is enabled. 68 */ 62 69 int autobinding; 63 /** Last used free port. */ 70 /** Last used free port. 71 */ 64 72 int last_used_port; 65 /** Active sockets. */ 73 /** Active sockets. 74 */ 66 75 socket_ports_t sockets; 67 /** Device packet dimensions. */ 76 /** Device packet dimensions. 77 */ 68 78 packet_dimensions_t dimensions; 69 /** Safety lock. */ 79 /** Safety lock. 80 */ 70 81 fibril_rwlock_t lock; 71 82 }; … … 75 86 /** @} 76 87 */ 88
Note:
See TracChangeset
for help on using the changeset viewer.