Signed-off-by: Asias He <asias.hejun@xxxxxxxxx> --- tools/kvm/include/kvm/uip.h | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/tools/kvm/include/kvm/uip.h b/tools/kvm/include/kvm/uip.h index ccc1698..1368694 100644 --- a/tools/kvm/include/kvm/uip.h +++ b/tools/kvm/include/kvm/uip.h @@ -89,6 +89,22 @@ struct uip_udp { u8 payload[0]; } __attribute__((packed)); +struct uip_tcp { + /* + * FIXME: IP Options (IP hdr len > 20 bytes) are not supported + */ + struct uip_ip ip; + u16 sport; + u16 dport; + u32 seq; + u32 ack; + u8 off; + u8 flg; + u16 win; + u16 csum; + u16 urgent; +} __attribute__((packed)); + struct uip_pseudo_hdr { u32 sip; u32 dip; -- 1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html