mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
changed to opaque
This commit is contained in:
parent
1afbf4fb21
commit
88dacd3b70
@ -12,29 +12,28 @@ const in_bpf_program = switch (std.builtin.arch) {
|
||||
|
||||
pub const helpers = if (in_bpf_program) @import("helpers.zig") else struct {};
|
||||
|
||||
// TODO: fill these in
|
||||
pub const BpfSock = packed struct {};
|
||||
pub const BpfSockAddr = packed struct {};
|
||||
pub const FibLookup = packed struct {};
|
||||
pub const MapDef = packed struct {};
|
||||
pub const PerfEventData = packed struct {};
|
||||
pub const PerfEventValue = packed struct {};
|
||||
pub const PidNsInfo = packed struct {};
|
||||
pub const SeqFile = packed struct {};
|
||||
pub const SkBuff = packed struct {};
|
||||
pub const SkMsgMd = packed struct {};
|
||||
pub const SkReusePortMd = packed struct {};
|
||||
pub const Sock = packed struct {};
|
||||
pub const SockAddr = packed struct {};
|
||||
pub const SockOps = packed struct {};
|
||||
pub const SockTuple = packed struct {};
|
||||
pub const SpinLock = packed struct {};
|
||||
pub const SysCtl = packed struct {};
|
||||
pub const Tcp6Sock = packed struct {};
|
||||
pub const TcpRequestSock = packed struct {};
|
||||
pub const TcpSock = packed struct {};
|
||||
pub const TcpTimewaitSock = packed struct {};
|
||||
pub const TunnelKey = packed struct {};
|
||||
pub const Udp6Sock = packed struct {};
|
||||
pub const XdpMd = packed struct {};
|
||||
pub const XfrmState = packed struct {};
|
||||
pub const BpfSock = @Type(.Opaque);
|
||||
pub const BpfSockAddr = @Type(.Opaque);
|
||||
pub const FibLookup = @Type(.Opaque);
|
||||
pub const MapDef = @Type(.Opaque);
|
||||
pub const PerfEventData = @Type(.Opaque);
|
||||
pub const PerfEventValue = @Type(.Opaque);
|
||||
pub const PidNsInfo = @Type(.Opaque);
|
||||
pub const SeqFile = @Type(.Opaque);
|
||||
pub const SkBuff = @Type(.Opaque);
|
||||
pub const SkMsgMd = @Type(.Opaque);
|
||||
pub const SkReusePortMd = @Type(.Opaque);
|
||||
pub const Sock = @Type(.Opaque);
|
||||
pub const SockAddr = @Type(.Opaque);
|
||||
pub const SockOps = @Type(.Opaque);
|
||||
pub const SockTuple = @Type(.Opaque);
|
||||
pub const SpinLock = @Type(.Opaque);
|
||||
pub const SysCtl = @Type(.Opaque);
|
||||
pub const Tcp6Sock = @Type(.Opaque);
|
||||
pub const TcpRequestSock = @Type(.Opaque);
|
||||
pub const TcpSock = @Type(.Opaque);
|
||||
pub const TcpTimewaitSock = @Type(.Opaque);
|
||||
pub const TunnelKey = @Type(.Opaque);
|
||||
pub const Udp6Sock = @Type(.Opaque);
|
||||
pub const XdpMd = @Type(.Opaque);
|
||||
pub const XfrmState = @Type(.Opaque);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user