Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
123456789101112131415161718192021222324252627/* SPDX-License-Identifier: GPL-2.0 */#ifndef __NET_NET_NAMESPACE_VSOCK_H#define __NET_NET_NAMESPACE_VSOCK_H
#include <linux/types.h>
enum vsock_net_mode { VSOCK_NET_MODE_GLOBAL, VSOCK_NET_MODE_LOCAL,};
struct netns_vsock { struct ctl_table_header *sysctl_hdr;
/* protected by the vsock_table_lock in af_vsock.c */ u32 port;
enum vsock_net_mode mode; enum vsock_net_mode child_ns_mode;
/* 0 = unlocked, 1 = locked to global, 2 = locked to local */ int child_ns_mode_locked;
int g2h_fallback;};#endif /* __NET_NET_NAMESPACE_VSOCK_H */