From f2549c22078abc43f8fa3f7fd6d15e102743f2cb Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Mon, 30 Jun 2014 21:58:03 +0400 Subject: [PATCH] timerfd: protobuf -- Add timerfd_entry Will need it to carry timerfd entries. Signed-off-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- protobuf/Makefile | 1 + protobuf/timerfd.proto | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 protobuf/timerfd.proto diff --git a/protobuf/Makefile b/protobuf/Makefile index e23d9c99a..7f6485b75 100644 --- a/protobuf/Makefile +++ b/protobuf/Makefile @@ -36,6 +36,7 @@ proto-obj-y += mnt.o proto-obj-y += pipe-data.o proto-obj-y += sa.o proto-obj-y += timer.o +proto-obj-y += timerfd.o proto-obj-y += mm.o proto-obj-y += sk-opts.o proto-obj-y += sk-unix.o diff --git a/protobuf/timerfd.proto b/protobuf/timerfd.proto new file mode 100644 index 000000000..b2799520d --- /dev/null +++ b/protobuf/timerfd.proto @@ -0,0 +1,16 @@ +import "fown.proto"; + +message timerfd_entry { + required uint32 id = 1; + required uint32 flags = 2; + required fown_entry fown = 3; + + required uint32 clockid = 4; + required uint64 ticks = 5; + required uint32 settime_flags = 6; + + required uint64 vsec = 7; + required uint64 vnsec = 8; + required uint64 isec = 9; + required uint64 insec = 10; +}