Message ID | 1309423279-3093-11-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 e79cc4b..979e2b0 100644 --- a/tools/kvm/include/kvm/uip.h +++ b/tools/kvm/include/kvm/uip.h @@ -151,6 +151,11 @@ static inline u16 uip_udp_len(struct uip_udp *udp) return ntohs(udp->len); } +static inline u16 uip_eth_hdrlen(struct uip_eth *eth) +{ + return sizeof(*eth); +} + int uip_tx_do_ipv4_icmp(struct uip_tx_arg *arg); int uip_tx_do_ipv4(struct uip_tx_arg *arg); int uip_tx_do_arp(struct uip_tx_arg *arg);
Signed-off-by: Asias He <asias.hejun@gmail.com> --- tools/kvm/include/kvm/uip.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)