aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2018-01-08 14:29:00 -0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-14 18:16:13 +0100
commit65dabc733de09109a53259792bda21f0014aa4ac (patch)
treebcdb8309f07dca8722d2ec370b6b343440506e9f
parentaf7a3b0d44653ccce93434a4059a98ac076a9528 (diff)
downloadslirp-65dabc733de09109a53259792bda21f0014aa4ac.zip
slirp-65dabc733de09109a53259792bda21f0014aa4ac.tar.gz
slirp-65dabc733de09109a53259792bda21f0014aa4ac.tar.bz2
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>
-rw-r--r--ip.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/ip.h b/ip.h
index d09717a..4b23ad4 100644
--- a/ip.h
+++ b/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