Skip to content

Commit 6131789

Browse files
committed
feat(socket): add AF_UNSPEC
1 parent 96d9393 commit 6131789

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/syscalls/socket.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ use crate::fd::{
2424
};
2525
use crate::syscalls::block_on;
2626

27+
pub const AF_UNSPEC: i32 = 0;
2728
pub const AF_INET: i32 = 0;
2829
pub const AF_INET6: i32 = 1;
2930
pub const AF_VSOCK: i32 = 2;

0 commit comments

Comments
 (0)