diff options
Diffstat (limited to 'tests/unit/stubs/lwip/prot/tcp.h')
| -rw-r--r-- | tests/unit/stubs/lwip/prot/tcp.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/unit/stubs/lwip/prot/tcp.h b/tests/unit/stubs/lwip/prot/tcp.h new file mode 100644 index 0000000..5841371 --- /dev/null +++ b/tests/unit/stubs/lwip/prot/tcp.h | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | #ifndef STUBS_LWIP_PROT_TCP_H | ||
| 2 | #define STUBS_LWIP_PROT_TCP_H | ||
| 3 | |||
| 4 | #include <stdint.h> | ||
| 5 | |||
| 6 | #define TCP_HLEN 20 | ||
| 7 | |||
| 8 | struct tcp_hdr { | ||
| 9 | uint16_t src; | ||
| 10 | uint16_t dest; | ||
| 11 | }; | ||
| 12 | |||
| 13 | #endif | ||