Rev 4589 | Rev 4704 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4589 | Rev 4700 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | */ |
34 | */ |
35 | 35 | ||
36 | #ifndef __NET_UDP_H__ |
36 | #ifndef __NET_UDP_H__ |
37 | #define __NET_UDP_H__ |
37 | #define __NET_UDP_H__ |
38 | 38 | ||
- | 39 | #include <fibril_sync.h> |
|
- | 40 | ||
39 | #include "../../socket/socket_core.h" |
41 | #include "../../socket/socket_core.h" |
40 | 42 | ||
41 | typedef struct udp_globals udp_globals_t; |
43 | typedef struct udp_globals udp_globals_t; |
42 | 44 | ||
43 | struct udp_globals{ |
45 | struct udp_globals{ |
Line 45... | Line 47... | ||
45 | size_t addr_len; |
47 | size_t addr_len; |
46 | size_t prefix; |
48 | size_t prefix; |
47 | size_t content; |
49 | size_t content; |
48 | size_t suffix; |
50 | size_t suffix; |
49 | int net_phone; |
51 | int net_phone; |
- | 52 | int last_used_port; |
|
50 | socket_ports_t sockets; |
53 | socket_ports_t sockets; |
- | 54 | fibril_rwlock_t lock; |
|
51 | }; |
55 | }; |
52 | 56 | ||
53 | #endif |
57 | #endif |
54 | 58 | ||
55 | /** @} |
59 | /** @} |