diff options
author | Jianfeng Tan <henry.tjf@antfin.com> | 2019-09-05 15:03:41 +0800 |
---|---|---|
committer | Jianfeng Tan <henry.tjf@antfin.com> | 2019-09-20 17:20:08 +0000 |
commit | 329b6653ffbb29b47409a923a7fbb3bd3aff074f (patch) | |
tree | a59421e2d533cc06de488e8c04122f5f9a6cd91f /test/syscalls/linux/ip_socket_test_util.h | |
parent | e9af227a61b836310fdd0c8543c31afe094af5ae (diff) |
Implement /proc/net/tcp6
Fixes: #829
Signed-off-by: Jianfeng Tan <henry.tjf@antfin.com>
Signed-off-by: Jielong Zhou <jielong.zjl@antfin.com>
Diffstat (limited to 'test/syscalls/linux/ip_socket_test_util.h')
-rw-r--r-- | test/syscalls/linux/ip_socket_test_util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/syscalls/linux/ip_socket_test_util.h b/test/syscalls/linux/ip_socket_test_util.h index 3d36b9620..a7825770e 100644 --- a/test/syscalls/linux/ip_socket_test_util.h +++ b/test/syscalls/linux/ip_socket_test_util.h @@ -96,6 +96,10 @@ SocketKind IPv4UDPUnboundSocket(int type); // a SimpleSocket created with AF_INET, SOCK_STREAM and the given type. SocketKind IPv4TCPUnboundSocket(int type); +// IPv6TCPUnboundSocketPair returns a SocketKind that represents +// a SimpleSocket created with AF_INET6, SOCK_STREAM and the given type. +SocketKind IPv6TCPUnboundSocket(int type); + // IfAddrHelper is a helper class that determines the local interfaces present // and provides functions to obtain their names, index numbers, and IP address. class IfAddrHelper { |