From b37b65b0e69a4d22551aa6a207856ad7b3801e69 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 26 Feb 2018 16:48:31 +0100 Subject: sys/linux: remove proc type from network descriptions We now always create net namespace for testing, so socket ports and other IDs do not overlap between different test processes. Proc types play badly with squashing packets to ANYBLOB. To squash into a block we need concrete value, but it depends on process id. Removing proc also makes tun setup and address descriptions simpler. --- sys/linux/socket_netlink.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/linux/socket_netlink.txt') diff --git a/sys/linux/socket_netlink.txt b/sys/linux/socket_netlink.txt index 8a1790b71..f23feaa19 100644 --- a/sys/linux/socket_netlink.txt +++ b/sys/linux/socket_netlink.txt @@ -8,8 +8,8 @@ include include resource sock_netlink[sock] -type netlink_seq proc[7388453, 8, int32] -type netlink_port_id proc[635427835, 4, int32] +type netlink_seq int32[7388453:7388461] +type netlink_port_id int32[635427835:635427839] socket$netlink(domain const[AF_NETLINK], type const[SOCK_RAW], proto flags[netlink_proto]) sock_netlink bind$netlink(fd sock_netlink, addr ptr[in, sockaddr_nl_proc], addrlen len[addr]) -- cgit mrf-deployment