1dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes/* Generated by ./xlat/gen.sh from ./xlat/tcp_states.in; do not edit. */ 2dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#if !(defined(TCP_ESTABLISHED) || (defined(HAVE_DECL_TCP_ESTABLISHED) && HAVE_DECL_TCP_ESTABLISHED)) 3dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes# define TCP_ESTABLISHED 1 4dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#endif 5dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#if !(defined(TCP_SYN_SENT) || (defined(HAVE_DECL_TCP_SYN_SENT) && HAVE_DECL_TCP_SYN_SENT)) 6dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes# define TCP_SYN_SENT 2 7dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#endif 8dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#if !(defined(TCP_SYN_RECV) || (defined(HAVE_DECL_TCP_SYN_RECV) && HAVE_DECL_TCP_SYN_RECV)) 9dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes# define TCP_SYN_RECV 3 10dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#endif 11dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#if !(defined(TCP_FIN_WAIT1) || (defined(HAVE_DECL_TCP_FIN_WAIT1) && HAVE_DECL_TCP_FIN_WAIT1)) 12dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes# define TCP_FIN_WAIT1 4 13dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#endif 14dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#if !(defined(TCP_FIN_WAIT2) || (defined(HAVE_DECL_TCP_FIN_WAIT2) && HAVE_DECL_TCP_FIN_WAIT2)) 15dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes# define TCP_FIN_WAIT2 5 16dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#endif 17dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#if !(defined(TCP_TIME_WAIT) || (defined(HAVE_DECL_TCP_TIME_WAIT) && HAVE_DECL_TCP_TIME_WAIT)) 18dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes# define TCP_TIME_WAIT 6 19dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#endif 20dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#if !(defined(TCP_CLOSE) || (defined(HAVE_DECL_TCP_CLOSE) && HAVE_DECL_TCP_CLOSE)) 21dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes# define TCP_CLOSE 7 22dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#endif 23dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#if !(defined(TCP_CLOSE_WAIT) || (defined(HAVE_DECL_TCP_CLOSE_WAIT) && HAVE_DECL_TCP_CLOSE_WAIT)) 24dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes# define TCP_CLOSE_WAIT 8 25dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#endif 26dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#if !(defined(TCP_LAST_ACK) || (defined(HAVE_DECL_TCP_LAST_ACK) && HAVE_DECL_TCP_LAST_ACK)) 27dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes# define TCP_LAST_ACK 9 28dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#endif 29dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#if !(defined(TCP_LISTEN) || (defined(HAVE_DECL_TCP_LISTEN) && HAVE_DECL_TCP_LISTEN)) 30dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes# define TCP_LISTEN 10 31dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#endif 32dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#if !(defined(TCP_CLOSING) || (defined(HAVE_DECL_TCP_CLOSING) && HAVE_DECL_TCP_CLOSING)) 33dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes# define TCP_CLOSING 11 34dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#endif 35dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#if !(defined(TCP_NEW_SYN_RECV) || (defined(HAVE_DECL_TCP_NEW_SYN_RECV) && HAVE_DECL_TCP_NEW_SYN_RECV)) 36dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes# define TCP_NEW_SYN_RECV 12 37dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#endif 38dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes 39dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#ifdef IN_MPERS 40dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes 41dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes# error static const struct xlat tcp_states in mpers mode 42dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes 43dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#else 44dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes 45dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughesstatic 46dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughesconst struct xlat tcp_states[] = { 47dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes XLAT(TCP_ESTABLISHED), 48dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes XLAT(TCP_SYN_SENT), 49dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes XLAT(TCP_SYN_RECV), 50dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes XLAT(TCP_FIN_WAIT1), 51dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes XLAT(TCP_FIN_WAIT2), 52dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes XLAT(TCP_TIME_WAIT), 53dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes XLAT(TCP_CLOSE), 54dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes XLAT(TCP_CLOSE_WAIT), 55dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes XLAT(TCP_LAST_ACK), 56dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes XLAT(TCP_LISTEN), 57dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes XLAT(TCP_CLOSING), 58dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes XLAT(TCP_NEW_SYN_RECV), 59dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes XLAT_END 60dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes}; 61dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes 62dc75b01004a0588c1eb3bc26d7248a6e473b2cddElliott Hughes#endif /* !IN_MPERS */ 63