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