Skip to content

feat(socket): add AF_UNSPEC = 0 and make AF_INET = 3 #1640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 20, 2025
Merged

feat(socket): add AF_UNSPEC = 0 and make AF_INET = 3 #1640

merged 2 commits into from
Mar 20, 2025

Conversation

mkroening
Copy link
Member

@mkroening mkroening commented Mar 13, 2025

[..] symbolic constants with distinct values [..]
The value of AF_UNSPEC shall be 0.

<sys/socket.h>

@mkroening mkroening requested a review from stlankes March 13, 2025 13:39
@mkroening mkroening self-assigned this Mar 13, 2025
@mkroening mkroening changed the title feat(socket): make AF_INET non-zero feat(socket): add AF_UNSPEC = 0 and make AF_INET non-zero Mar 13, 2025
@mkroening mkroening force-pushed the af branch 2 times, most recently from ee849ef to b8659e5 Compare March 13, 2025 14:50
@mkroening mkroening added this pull request to the merge queue Mar 20, 2025
@mkroening mkroening removed this pull request from the merge queue due to a manual request Mar 20, 2025
@mkroening mkroening changed the title feat(socket): add AF_UNSPEC = 0 and make AF_INET non-zero feat(socket): add AF_UNSPEC = 0 and make AF_INET = 3 Mar 20, 2025
@mkroening mkroening added this pull request to the merge queue Mar 20, 2025
Merged via the queue into main with commit beeb8ee Mar 20, 2025
13 checks passed
@mkroening mkroening deleted the af branch March 20, 2025 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants