Re: [PATCH v2 2/3] VSOCK: Add vsockmon device

2016-08-13 Thread zhuyj
+#define DEFAULT_MTU (VIRTIO_VSOCK_MAX_PKT_BUF_SIZE + sizeof(struct af_vsockmon_hdr)); It is better. On Sat, Aug 13, 2016 at 6:21 PM, wrote: > From: Gerard Garcia > > Add vsockmon virtual network device that receives packets from the vsock > transports and exposes them to user space. > > Based

[PATCH v2 2/3] VSOCK: Add vsockmon device

2016-08-13 Thread ggarcia
From: Gerard Garcia Add vsockmon virtual network device that receives packets from the vsock transports and exposes them to user space. Based on the nlmon device. Signed-off-by: Gerard Garcia --- drivers/net/Kconfig | 8 ++ drivers/net/Makefile | 1 + drivers/net/vsockm