path: root/qa/nssocket.h
Commit message (Collapse)AuthorAgeFilesLines
* src: Use stdint types everywhereFelix Janda2015-05-251-3/+3
| | | | | Signed-off-by: Felix Janda <> Signed-off-by: Pablo Neira Ayuso <>
* qa: build unshared nfct environmentKen-ichirou MATSUZAWA2014-10-141-0/+102
nssocket forks and change netns pre-establishd by ip(8), serves its socket descriptor to parent via nssocket(). Since this socket is isolated, it can be used to create regression tests for conntrack. This also adds a conntrack event testcase as a first user. A script is provided to build and run this test automatically: # ./qa/ make: Entering directory... ...debug output like: [NEW] tcp 6 2 SYN_SENT src= dst= sport... [UPDATE] tcp 6 2 SYN_RECV src= dst= sport... ... [DESTROY] icmp 1 src= dst= type=8 code=0... # echo $? 0 Signed-off-by: Ken-ichirou MATSUZAWA <> Signed-off-by: Florian Westphal <>