patch-tcp_raw_h 489 B

1234567891011
  1. --- dsniff-2.4.orig/tcp_raw.h 2001-03-15 09:33:06.000000000 +0100
  2. +++ dsniff-2.4/tcp_raw.h 2009-12-11 12:44:28.000000000 +0100
  3. @@ -15,7 +15,7 @@ typedef void (*tcp_raw_callback_t)(in_ad
  4. u_short sport, u_short dport,
  5. u_char *buf, int len);
  6. -struct iovec *tcp_raw_input(struct libnet_ip_hdr *ip,
  7. +struct iovec *tcp_raw_input(struct libnet_ipv4_hdr *ip,
  8. struct libnet_tcp_hdr *tcp, int len);
  9. void tcp_raw_timeout(int timeout, tcp_raw_callback_t callback);