Skip to content

Commit

Permalink
Add sockaddr_vm definition for Fuchsia
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesr committed Dec 11, 2024
1 parent 3b458ff commit 0fb7389
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/fuchsia/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,14 @@ s! {
pub sin6_scope_id: u32,
}

pub struct sockaddr_vm {
pub svm_family: sa_family_t,
pub svm_reserved: u16,
pub svm_port: crate::in_port_t,
pub svm_cid: u32,
pub svm_zero: [u8; 4],
}

pub struct addrinfo {
pub ai_flags: c_int,
pub ai_family: c_int,
Expand Down

0 comments on commit 0fb7389

Please sign in to comment.