| ... | ... | @@ -12,29 +12,28 @@ const in_bpf_program = switch (std.builtin.arch) { |
| 12 | 12 | |
| 13 | 13 | pub const helpers = if (in_bpf_program) @import("helpers.zig") else struct {}; |
| 14 | 14 | |
| 15 | | // TODO: fill these in |
| 16 | | pub const BpfSock = packed struct {}; |
| 17 | | pub const BpfSockAddr = packed struct {}; |
| 18 | | pub const FibLookup = packed struct {}; |
| 19 | | pub const MapDef = packed struct {}; |
| 20 | | pub const PerfEventData = packed struct {}; |
| 21 | | pub const PerfEventValue = packed struct {}; |
| 22 | | pub const PidNsInfo = packed struct {}; |
| 23 | | pub const SeqFile = packed struct {}; |
| 24 | | pub const SkBuff = packed struct {}; |
| 25 | | pub const SkMsgMd = packed struct {}; |
| 26 | | pub const SkReusePortMd = packed struct {}; |
| 27 | | pub const Sock = packed struct {}; |
| 28 | | pub const SockAddr = packed struct {}; |
| 29 | | pub const SockOps = packed struct {}; |
| 30 | | pub const SockTuple = packed struct {}; |
| 31 | | pub const SpinLock = packed struct {}; |
| 32 | | pub const SysCtl = packed struct {}; |
| 33 | | pub const Tcp6Sock = packed struct {}; |
| 34 | | pub const TcpRequestSock = packed struct {}; |
| 35 | | pub const TcpSock = packed struct {}; |
| 36 | | pub const TcpTimewaitSock = packed struct {}; |
| 37 | | pub const TunnelKey = packed struct {}; |
| 38 | | pub const Udp6Sock = packed struct {}; |
| 39 | | pub const XdpMd = packed struct {}; |
| 40 | | pub const XfrmState = packed struct {}; |
| 15 | pub const BpfSock = @Type(.Opaque); |
| 16 | pub const BpfSockAddr = @Type(.Opaque); |
| 17 | pub const FibLookup = @Type(.Opaque); |
| 18 | pub const MapDef = @Type(.Opaque); |
| 19 | pub const PerfEventData = @Type(.Opaque); |
| 20 | pub const PerfEventValue = @Type(.Opaque); |
| 21 | pub const PidNsInfo = @Type(.Opaque); |
| 22 | pub const SeqFile = @Type(.Opaque); |
| 23 | pub const SkBuff = @Type(.Opaque); |
| 24 | pub const SkMsgMd = @Type(.Opaque); |
| 25 | pub const SkReusePortMd = @Type(.Opaque); |
| 26 | pub const Sock = @Type(.Opaque); |
| 27 | pub const SockAddr = @Type(.Opaque); |
| 28 | pub const SockOps = @Type(.Opaque); |
| 29 | pub const SockTuple = @Type(.Opaque); |
| 30 | pub const SpinLock = @Type(.Opaque); |
| 31 | pub const SysCtl = @Type(.Opaque); |
| 32 | pub const Tcp6Sock = @Type(.Opaque); |
| 33 | pub const TcpRequestSock = @Type(.Opaque); |
| 34 | pub const TcpSock = @Type(.Opaque); |
| 35 | pub const TcpTimewaitSock = @Type(.Opaque); |
| 36 | pub const TunnelKey = @Type(.Opaque); |
| 37 | pub const Udp6Sock = @Type(.Opaque); |
| 38 | pub const XdpMd = @Type(.Opaque); |
| 39 | pub const XfrmState = @Type(.Opaque); |