diff options
author | Kevin Krakauer <krakauer@google.com> | 2019-07-29 13:18:58 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-07-29 13:20:09 -0700 |
commit | 09be87bbee1e4338b488f22199d0f079ffec8d0e (patch) | |
tree | a653c4530420b3a4612fedcddab74df2008d311e /test/util/test_main.cc | |
parent | 4183b9021ac1d055085dc1fd2f525689fc055d78 (diff) |
Add iptables types for syscalls tests.
Unfortunately, Linux's ip_tables.h header doesn't compile in C++ because it
implicitly converts from void* to struct xt_entry_target*. C allows this, but
C++ does not. So we have to re-implement many types ourselves.
Relevant code here:
https://github.com/torvalds/linux/blob/master/include/uapi/linux/netfilter_ipv4/ip_tables.h#L222
PiperOrigin-RevId: 260565570
Diffstat (limited to 'test/util/test_main.cc')
0 files changed, 0 insertions, 0 deletions