| 1 |
// SPDX-License-Identifier: MIT |
| 2 |
|
| 3 |
syntax = "proto2"; |
| 4 |
|
| 5 |
import "fown.proto"; |
| 6 |
|
| 7 |
message eventpoll_tfd_entry { |
| 8 |
required uint32 id = 1; |
| 9 |
required uint32 tfd = 2; |
| 10 |
required uint32 events = 3; |
| 11 |
required uint64 data = 4; |
| 12 |
|
| 13 |
/* to find dup'ed target files */ |
| 14 |
optional uint32 dev = 5; |
| 15 |
optional uint64 inode = 6; |
| 16 |
optional uint64 pos = 7; |
| 17 |
} |
| 18 |
|
| 19 |
message eventpoll_file_entry { |
| 20 |
required uint32 id = 1; |
| 21 |
required uint32 flags = 2; |
| 22 |
required fown_entry fown = 3; |
| 23 |
repeated eventpoll_tfd_entry tfd = 4; |
| 24 |
} |