OSDN Git Service

slirp: removed unused code
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 8 Jan 2018 17:29:00 +0000 (14:29 -0300)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 14 Jan 2018 17:16:13 +0000 (18:16 +0100)
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>
slirp/ip.h

index 1df6723..59cf4aa 100644 (file)
@@ -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