Skip to content

Commit

Permalink
slirp: removed unused code
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Signed-off-by: Samuel Thibault <[email protected]>
  • Loading branch information
philmd authored and sthibaul committed Jan 14, 2018
1 parent c416d7f commit 676e268
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions slirp/ip.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 676e268

Please sign in to comment.