fb9a61e67d797e56ac62aced3f6f23415c30507f |
|
12-Feb-2015 |
Samuel Tan <samueltan@chromium.org> |
autotest: lansim: update wrappers to work with v3.19 headers Update lansim wrappers to work with symbols defined in linux kernel v3.19 headers. BUG=None. CQ-DEPEND=CL:248191 TEST=`cbuildbot chromiumos-sdk {daisy,lumpy,x86-alex}-release` passes Change-Id: I8cec17f697829c85033a337bb4d170f9be627225 Reviewed-on: https://chromium-review.googlesource.com/249231 Tested-by: Samuel Tan <samueltan@chromium.org> Reviewed-by: Alex Deymo <deymo@chromium.org> Commit-Queue: Samuel Tan <samueltan@chromium.org>
/external/autotest/client/deps/lansim/src/wrapper_linux_if.c
|
1b4c9aa650045deb13c545b2bead4ae99fb564b4 |
|
28-Jul-2014 |
Mike Frysinger <vapier@chromium.org> |
lansim: drop private netdevice flags These flags are not supposed to be used by userspace as they are internal to the kernel and can be changed between versions. The latest release has also dropped them from the exported file which means we fail to build. BUG=chromium:394487 TEST=`cbuildbot {lumpy,daisy,x86-alex}-release` passes Change-Id: I6e58748412bbf82dfe6addfdc45b63ae96bc5ade Reviewed-on: https://chromium-review.googlesource.com/209794 Commit-Queue: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org> Reviewed-by: Alex Deymo <deymo@chromium.org>
/external/autotest/client/deps/lansim/src/wrapper_linux_if.c
|
af88241d227f977178b0c42a473bbfc3d863e735 |
|
11-Sep-2013 |
Alex Deymo <deymo@chromium.org> |
lansim: Add a LAN simulator in python to use in tests. lansim is a LAN simulator that runs over a TAP network interface and allows to simulate network traffic on that interface from Python code. A TAP interface is a virtual network kernel device that acts as any other network interface, except that instead of sending and receiving the traffic through a hardware interface it allows a given program to handle that traffic through a socket. It is essentially a bi-directional pipe where one side is a network interface and the other side is a socket on a program. This simulator is useful on situations where you can't fake a network service using the normal kernel network stack. For example, if you need to fake a network of several hosts publishing services via mDNS with multicast you can write those services using this simulator but it's more complicated to do the same using the system's network stack since an outbound multicast packet will be sent out on the real interface. The simulator consists on various Python modules with the logic and a small C module that exposes many system dependent constants to Python. The C module is required to expose the architecture dependent constants. BUG=chromium:288385 TEST=Ran "make install test" on lansim/src/ (runs unittests). Change-Id: I5475e445046ce505503627f48ed4ab220a6cfef2 Reviewed-on: https://chromium-review.googlesource.com/168882 Reviewed-by: Chris Sosa <sosa@chromium.org> Commit-Queue: Alex Deymo <deymo@chromium.org> Tested-by: Alex Deymo <deymo@chromium.org>
/external/autotest/client/deps/lansim/src/wrapper_linux_if.c
|