authorgravatar for mattnite@protonmail.comMatt Knight <mattnite@protonmail.com> 2020-09-13 09:53:20-07:00
committergravatar for mattnite@protonmail.comMatt Knight <mattnite@protonmail.com> 2020-09-13 09:53:20-07:00
log88dacd3b70118710884f53f55d5a8ec9a78f149f
tree12bc0dd0482505b753bc555a2386f8c6c94bf4cc
parent1afbf4fb21e516693161121cf3cb484b4c7374ef
signaturelock-open Commit is signed but in an unrecognized format.

changed to opaque


1 files changed, 25 insertions(+), 26 deletions(-)

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