aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-04-06 17:25:54 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-04-06 17:28:33 +0200
commit8e4c2e24cb05daf27a600b570d3a774083a1210b (patch)
tree6e0be187becc43fa25fd801220e4d9ccef086342 /sys/linux/socket.txt
parent7606c2ac04a132ddb6ff46df1477b6e6d56750bd (diff)
executor: create team device
Diffstat (limited to 'sys/linux/socket.txt')
-rw-r--r--sys/linux/socket.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/linux/socket.txt b/sys/linux/socket.txt
index 5a652fb4f..71a878d14 100644
--- a/sys/linux/socket.txt
+++ b/sys/linux/socket.txt
@@ -233,11 +233,13 @@ ioctl$sock_SIOCGPGRP(fd sock, cmd const[SIOCGPGRP], arg ptr[out, pid])
resource ifindex[int32]
-type ifreq_t[ELEM] {
- ifr_ifrn devname
+type ifreq_dev_t[DEVNAME, ELEM] {
+ ifr_ifrn string[DEVNAME, IFNAMSIZ]
elem ELEM
} [size[IFREQ_SIZE]]
+type ifreq_t[ELEM] ifreq_dev_t[devnames, ELEM]
+
type ifreq ifreq_t[ifr_ifru]
ifr_ifru [
@@ -258,7 +260,7 @@ define IFREQ_SIZE sizeof(struct ifreq)
# between fuzzer and manager and produce lots of "no output" crashes
# (actually, this is not true now since all testing is done in a separate
# network namespace, but we still don't mess with eth0).
-devnames = "", "lo", "tunl0", "gre0", "gretap0", "ip_vti0", "ip6_vti0", "sit0", "ip6tnl0", "ip6gre0", "ip6gretap0", "bond0", "dummy0", "eql", "ifb0", "ipddp0", "yam0", "bcsf0", "bcsh0", "teql0", "nr0", "rose0", "irlan0", "erspan0", "bpq0", "vlan0", "bridge0", "vcan0", "syz_tun", "syzkaller0", "syzkaller1"
+devnames = "", "lo", "tunl0", "gre0", "gretap0", "ip_vti0", "ip6_vti0", "sit0", "ip6tnl0", "ip6gre0", "ip6gretap0", "bond0", "dummy0", "eql", "ifb0", "ipddp0", "yam0", "bcsf0", "bcsh0", "teql0", "nr0", "rose0", "irlan0", "erspan0", "bpq0", "vlan0", "bridge0", "vcan0", "team0", "syz_tun", "syzkaller0", "syzkaller1"
type devname string[devnames, IFNAMSIZ]