Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/nplab/packetdrill. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Oct 04, 2018
  2. Jun 23, 2018
    • Michael Tüxen's avatar
      Fix endianess detection. · f4a6f696
      Michael Tüxen authored
      The names of the constants were wrong and the code wasn't dealing
      with the case that none of the constants are defined, like in
      the case on PowerPC for FreeBSD.
      f4a6f696
  3. Jun 03, 2018
  4. May 04, 2018
  5. Apr 22, 2018
  6. Apr 21, 2018
  7. Apr 19, 2018
  8. Feb 28, 2017
  9. Dec 28, 2014
    • Michael Tüxen's avatar
      Fix alignment of headers in the packet buffer · a9e2e535
      Michael Tüxen authored
      
      This patch makes sure that all heaaders start at a four byte
      boundary. This is done by not having the ethernet header, which
      is 14 bytes long, in the packet buffer.
      This fixes the remote mode for platforms having strict alignment
      restrictions, like ARM. Without this patch you can't use the remote
      mode on a Rasperry Pi running FreeBSD.
      This patch has been tested on Linux (Intel) in local and remote mode
      and one FreeBSD (Intel and ARM) in local and remote mode.
      
      Signed-off-by: default avatarMichael Tuexen <tuexen@fh-muenster.de>
      a9e2e535
    • Michael Tüxen's avatar
      Bugfix: Let packet_socket_receive honor the direction when using libpcap. · a3292811
      Michael Tüxen authored
      
      When using libpcap, the function packet_socket_receive was ignoring the
      direction. If there were inbound packets sniffed the following try to
      read the packet from the tun descriptor blocked.
      This patch makes packet_socket_receive aware of the direction and therefore
      the libpcap implementation has the same functionality as the Linux one.
      It just uses two pcap handles, one for each direction.
      
      Tested on FreeBSD.
      
      Signed-off-by: default avatarMichael Tuexen <tuexen@fh-muenster.de>
      a3292811
  10. Jun 26, 2013
Loading