Searched refs:SO_NETNS_COOKIE (Results 1 – 9 of 9) sorted by relevance
| /linux/tools/testing/selftests/net/ |
| H A D | so_netns_cookie.c | 13 #ifndef SO_NETNS_COOKIE 14 #define SO_NETNS_COOKIE 71 macro 35 if (getsockopt(sock1, SOL_SOCKET, SO_NETNS_COOKIE, &cookie1, &vallen) != 0) in main() 49 if (getsockopt(sock2, SOL_SOCKET, SO_NETNS_COOKIE, &cookie2, &vallen) != 0) in main()
|
| /linux/tools/include/uapi/asm-generic/ |
| H A D | socket.h | 125 #define SO_NETNS_COOKIE 71 macro
|
| /linux/arch/mips/include/uapi/asm/ |
| H A D | socket.h | 141 #define SO_NETNS_COOKIE 71 macro
|
| /linux/arch/parisc/include/uapi/asm/ |
| H A D | socket.h | 122 #define SO_NETNS_COOKIE 0x4045 macro
|
| /linux/include/uapi/asm-generic/ |
| H A D | socket.h | 125 #define SO_NETNS_COOKIE 71 macro
|
| /linux/arch/sparc/include/uapi/asm/ |
| H A D | socket.h | 123 #define SO_NETNS_COOKIE 0x0050 macro
|
| /linux/arch/alpha/include/uapi/asm/ |
| H A D | socket.h | 130 #define SO_NETNS_COOKIE 71 macro
|
| /linux/tools/testing/selftests/namespaces/ |
| H A D | nsid_test.c | 844 ret = getsockopt(sock, SOL_SOCKET, SO_NETNS_COOKIE, &netns_cookie, &optlen); in TEST() 885 ret = getsockopt(parent_sock, SOL_SOCKET, SO_NETNS_COOKIE, &parent_netns_cookie, &optlen); in TEST_F() 958 ret = getsockopt(child_sock, SOL_SOCKET, SO_NETNS_COOKIE, &child_netns_cookie, &optlen); in TEST_F()
|
| /linux/tools/testing/selftests/net/tcp_ao/lib/ |
| H A D | ftrace.c | 526 if (getsockopt(sk, SOL_SOCKET, SO_NETNS_COOKIE, out, &size)) { in get_ns_cookie()
|