diff options
author | RajithaY <rajithax.yerrumsetty@intel.com> | 2017-04-25 03:31:15 -0700 |
---|---|---|
committer | Rajitha Yerrumchetty <rajithax.yerrumsetty@intel.com> | 2017-05-22 06:48:08 +0000 |
commit | bb756eebdac6fd24e8919e2c43f7d2c8c4091f59 (patch) | |
tree | ca11e03542edf2d8f631efeca5e1626d211107e3 /qemu/roms/ipxe/src/include/old_tcp.h | |
parent | a14b48d18a9ed03ec191cf16b162206998a895ce (diff) |
Adding qemu as a submodule of KVMFORNFV
This Patch includes the changes to add qemu as a submodule to
kvmfornfv repo and make use of the updated latest qemu for the
execution of all testcase
Change-Id: I1280af507a857675c7f81d30c95255635667bdd7
Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
Diffstat (limited to 'qemu/roms/ipxe/src/include/old_tcp.h')
-rw-r--r-- | qemu/roms/ipxe/src/include/old_tcp.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/qemu/roms/ipxe/src/include/old_tcp.h b/qemu/roms/ipxe/src/include/old_tcp.h deleted file mode 100644 index 93e1485e8..000000000 --- a/qemu/roms/ipxe/src/include/old_tcp.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef _TCP_H -#define _TCP_H - -#define TCP_INITIAL_TIMEOUT (3*TICKS_PER_SEC) -#define TCP_MAX_TIMEOUT (60*TICKS_PER_SEC) -#define TCP_MIN_TIMEOUT (TICKS_PER_SEC) -#define TCP_MAX_RETRY 10 -#define TCP_MAX_HEADER ((int)sizeof(struct iphdr)+64) -#define TCP_MIN_WINDOW (1500-TCP_MAX_HEADER) -#define TCP_MAX_WINDOW (65535-TCP_MAX_HEADER) - -#define FIN 1 -#define SYN 2 -#define RST 4 -#define PSH 8 -#define ACK 16 -#define URG 32 - - -struct tcphdr { - uint16_t src; - uint16_t dst; - int32_t seq; - int32_t ack; - uint16_t ctrl; - uint16_t window; - uint16_t chksum; - uint16_t urgent; -}; - -extern int tcp_transaction ( unsigned long destip, unsigned int destsock, - void *ptr, - int (*send)(int len, void *buf, void *ptr), - int (*recv)(int len, const void *buf, void *ptr)); - - -#endif /* _TCP_H */ |