Message ID | 1309423279-3093-14-git-send-email-asias.hejun@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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;
Signed-off-by: Asias He <asias.hejun@gmail.com> --- tools/kvm/include/kvm/uip.h | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-)