diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2015-12-29 15:00:57 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2015-12-29 15:00:57 +0100 |
| commit | e6529b30ec934f285d57dc16dd8acbbab074f102 (patch) | |
| tree | 9bf9673e44997f24e702833904294f3116d4f209 /sys/sys.txt | |
| parent | d40104b8a35f01d31cad1f11e312e76e034ffc4a (diff) | |
sys: add union type
Diffstat (limited to 'sys/sys.txt')
| -rw-r--r-- | sys/sys.txt | 32 |
1 files changed, 6 insertions, 26 deletions
diff --git a/sys/sys.txt b/sys/sys.txt index a0976e26d..be7479532 100644 --- a/sys/sys.txt +++ b/sys/sys.txt @@ -707,25 +707,9 @@ sock_filter { } file_handle { - bytes int32 + bytes len[parent, int32] type int32 -# TODO: again embed array of variable length (bytes is the length) - handl0 int64 - handl1 int64 - handl2 int64 - handl3 int64 - handl4 int64 - handl5 int64 - handl6 int64 - handl7 int64 - handl8 int64 - handl9 int64 - handl10 int64 - handl11 int64 - handl12 int64 - handl13 int64 - handl14 int64 - handl15 int64 + handle array[int8] } mq_attr { @@ -902,9 +886,8 @@ ip_msfilter { multi in_addr iface in_addr fmode flags[ip_msfilter_mode, int32] - numsrc flags[ip_msfilter_numsrc, int32] -# TODO: this is variable-length array and numsrc it its length - slist in_addr + numsrc len[slist, int32] + slist array[in_addr] } in_pktinfo { @@ -1011,11 +994,8 @@ fiemap { len int64 flags flags[fiemap_flags, int32] mapped int32 -# TODO: count is number of elements in extents array below - count int32 -# TODO: this is variable-length array - extent0 fiemap_extent - extent1 fiemap_extent + count len[extent, int32] + extent array[fiemap_extent] } fiemap_extent { |
