Skip to content

Commit

Permalink
Merge pull request #3 from Raytwo/sockaddr_storage
Browse files Browse the repository at this point in the history
Add ss_len to sockaddr_storage
  • Loading branch information
jam1garner authored Oct 12, 2020
2 parents 4f2c257 + c94c3c3 commit 9a2d611
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ pub struct timeval {
#[repr(C)]
#[derive(Copy, Clone)]
pub struct sockaddr_storage {
pub sin_len: u8,
pub ss_family: sa_family_t,
pub __ss_padding: [c_char; 118usize],
pub __ss_align: c_ulong,
Expand Down

0 comments on commit 9a2d611

Please sign in to comment.