]> Git Repo - qemu.git/blobdiff - slirp/tcp.h
slirp: Factor out internal state structure
[qemu.git] / slirp / tcp.h
index 40570326cb6abc06bdeb98f9e31b6a10255c3840..c65ed434233f3dc47ea45cb8701855283cc3a280 100644 (file)
@@ -38,8 +38,6 @@ typedef       u_int32_t       tcp_seq;
 #define      PR_SLOWHZ       2               /* 2 slow timeouts per second (approx) */
 #define      PR_FASTHZ       5               /* 5 fast timeouts per second (not important) */
 
-extern struct socket *tcp_last_so;
-
 #define TCP_SNDSPACE 8192
 #define TCP_RCVSPACE 8192
 
@@ -113,7 +111,6 @@ struct tcphdr {
 #undef TCP_NODELAY
 #define        TCP_NODELAY     0x01    /* don't delay send to coalesce packets */
 #undef TCP_MAXSEG
-/* #define     TCP_MAXSEG      0x02 */ /* set maximum segment size */
 
 /*
  * TCP FSM state definitions.
@@ -164,8 +161,4 @@ struct tcphdr {
 
 #define TCP_ISSINCR     (125*1024)      /* increment for tcp_iss each second */
 
-extern tcp_seq tcp_iss;                /* tcp initial send seq # */
-
-extern const char * const tcpstates[];
-
 #endif
This page took 0.024528 seconds and 4 git commands to generate.