Added function tcp_debug_state_str() to convert a tcp state to a human-readable string.

This commit is contained in:
goldsimon
2009-08-23 10:57:37 +00:00
parent 4f265dce60
commit ae7a7a0abf
3 changed files with 26 additions and 36 deletions

View File

@@ -591,6 +591,7 @@ extern u32_t tcp_ticks;
#if TCP_DEBUG || TCP_INPUT_DEBUG || TCP_OUTPUT_DEBUG
void tcp_debug_print(struct tcp_hdr *tcphdr);
void tcp_debug_print_flags(u8_t flags);
const char* tcp_debug_state_str(enum tcp_state s);
void tcp_debug_print_state(enum tcp_state s);
void tcp_debug_print_pcbs(void);
s16_t tcp_pcbs_sane(void);