Rev 4499 | Rev 4589 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4499 | Rev 4579 | ||
---|---|---|---|
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 "../../socket/socket_core.h" |
|
- | 40 | ||
39 | typedef struct udp_globals udp_globals_t; |
41 | typedef struct udp_globals udp_globals_t; |
40 | 42 | ||
41 | struct udp_globals{ |
43 | struct udp_globals{ |
42 | int ip_phone; |
44 | int ip_phone; |
- | 45 | size_t addr_len; |
|
- | 46 | size_t prefix; |
|
- | 47 | size_t content; |
|
- | 48 | size_t suffix; |
|
43 | int net_phone; |
49 | int net_phone; |
- | 50 | int port_search_start; |
|
- | 51 | socket_ports_t sockets; |
|
44 | }; |
52 | }; |
45 | 53 | ||
46 | #endif |
54 | #endif |
47 | 55 | ||
48 | /** @} |
56 | /** @} |