We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3d67c5 commit 0b7b4b7Copy full SHA for 0b7b4b7
lib/std/os/linux.zig
@@ -3174,6 +3174,17 @@ pub const sockaddr = extern struct {
3174
path: [108]u8,
3175
};
3176
3177
+ /// Packet socket address
3178
+ pub const ll = extern struct {
3179
+ family: sa_family_t = AF.PACKET,
3180
+ protocol: u16,
3181
+ ifindex: i32,
3182
+ hatype: u16,
3183
+ pkttype: u8,
3184
+ halen: u8,
3185
+ addr: [8]u8,
3186
+ };
3187
+
3188
/// Netlink socket address
3189
pub const nl = extern struct {
3190
family: sa_family_t = AF.NETLINK,
0 commit comments