58 |
/*static*/ struct udp_pcb *udp_pcbs = NULL; |
/*static*/ struct udp_pcb *udp_pcbs = NULL; |
59 |
|
|
60 |
static struct udp_pcb *pcb_cache = NULL; |
static struct udp_pcb *pcb_cache = NULL; |
|
#endif /* LWIP_UDP */ |
|
61 |
|
|
62 |
#if UDP_DEBUG |
#if UDP_DEBUG |
63 |
int udp_debug_print(struct udp_hdr *udphdr); |
int udp_debug_print(struct udp_hdr *udphdr); |
67 |
void |
void |
68 |
udp_init(void) |
udp_init(void) |
69 |
{ |
{ |
|
#if LWIP_UDP |
|
70 |
udp_pcbs = pcb_cache = NULL; |
udp_pcbs = pcb_cache = NULL; |
|
#endif /* LWIP_UDP */ |
|
71 |
} |
} |
72 |
|
|
|
#if LWIP_UDP |
|
73 |
/*-----------------------------------------------------------------------------------*/ |
/*-----------------------------------------------------------------------------------*/ |
74 |
/* udp_lookup: |
/* udp_lookup: |
75 |
* |
* |