summaryrefslogtreecommitdiffstats
path: root/slirp
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2018-01-08 18:29:00 +0100
committerSamuel Thibault2018-01-14 18:16:13 +0100
commit676e26800357a569bdbe71e3edccb70e8bbb5aba (patch)
tree18ad80b920a5e0279bad16a018a07f0898f3067a /slirp
parentslirp: remove unnecessary struct declaration (diff)
downloadqemu-676e26800357a569bdbe71e3edccb70e8bbb5aba.tar.gz
qemu-676e26800357a569bdbe71e3edccb70e8bbb5aba.tar.xz
qemu-676e26800357a569bdbe71e3edccb70e8bbb5aba.zip
slirp: removed unused code
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'slirp')
-rw-r--r--slirp/ip.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/slirp/ip.h b/slirp/ip.h
index 1df6723357..59cf4aa918 100644
--- a/slirp/ip.h
+++ b/slirp/ip.h
@@ -233,17 +233,4 @@ struct ipasfrag {
#define ipf_next ipf_link.next
#define ipf_prev ipf_link.prev
-/*
- * Structure stored in mbuf in inpcb.ip_options
- * and passed to ip_output when ip options are in use.
- * The actual length of the options (including ipopt_dst)
- * is in m_len.
- */
-#define MAX_IPOPTLEN 40
-
-struct ipoption {
- struct in_addr ipopt_dst; /* first-hop dst if source routed */
- int8_t ipopt_list[MAX_IPOPTLEN]; /* options proper */
-} QEMU_PACKED;
-
#endif