tcp_fsm.h (d22e451d5b1c1b9d64377747567d48dc867db459) | tcp_fsm.h (218cbbea9a4ff5953d6c1b87438a876388b5a181) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1993 3 * The Regents of the University of California. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 88 unchanged lines hidden (view full) --- 97}; 98#endif 99 100#ifdef KPROF 101int tcp_acounts[TCP_NSTATES][PRU_NREQ]; 102#endif 103 104#ifdef TCPSTATES | 1/*- 2 * Copyright (c) 1982, 1986, 1993 3 * The Regents of the University of California. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 88 unchanged lines hidden (view full) --- 97}; 98#endif 99 100#ifdef KPROF 101int tcp_acounts[TCP_NSTATES][PRU_NREQ]; 102#endif 103 104#ifdef TCPSTATES |
105const char *tcpstates[] = { | 105static char const * const tcpstates[] = { |
106 "CLOSED", "LISTEN", "SYN_SENT", "SYN_RCVD", 107 "ESTABLISHED", "CLOSE_WAIT", "FIN_WAIT_1", "CLOSING", 108 "LAST_ACK", "FIN_WAIT_2", "TIME_WAIT", 109}; 110#endif 111 112#endif | 106 "CLOSED", "LISTEN", "SYN_SENT", "SYN_RCVD", 107 "ESTABLISHED", "CLOSE_WAIT", "FIN_WAIT_1", "CLOSING", 108 "LAST_ACK", "FIN_WAIT_2", "TIME_WAIT", 109}; 110#endif 111 112#endif |