diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2017-04-03 16:22:50 +0200 |
|---|---|---|
| committer | Andrey Konovalov <andreyknvl@google.com> | 2017-04-07 14:52:39 +0200 |
| commit | 7e129a3adc7b572f07c129ee83a295e13fd192d5 (patch) | |
| tree | 2456b33d9a8b5997865cb0958cbb00fc932b9716 /sys/socket.txt | |
| parent | bb39958f893b94c0407654cee53ca66a79f3965b (diff) | |
sys: add loopback and syzN devices to devname
Diffstat (limited to 'sys/socket.txt')
| -rw-r--r-- | sys/socket.txt | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/sys/socket.txt b/sys/socket.txt index c33fef0fe..e36d40366 100644 --- a/sys/socket.txt +++ b/sys/socket.txt @@ -207,11 +207,20 @@ ifreq { ifr_ifru ifr_ifru } -# TODO: use strings -devname { - devname array[int8, IFNAMSIZ] +syzn_devname { + s const[115, int8] + y const[121, int8] + z const[122, int8] + N proc[int8, 48, 1] + 0 const[0, int8] } +devname [ + generic array[int8, IFNAMSIZ] + loopback string["lo", IFNAMSIZ] + ethernet syzn_devname +] + ifr_ifru [ ifru_addrs sockaddr ifru_flags flags[ifru_flags, int16] |
