Commit Graph
2 Commits
Author SHA1 Message Date
Eduardo Ruiz fa4f3df8da fix(libSceNet): report why the raw socket test skips 2026-11-02 23:18:06 +01:00
Eduardo Ruiz 01dbe9a91e feat(libSceNet): return SO_PROTOCOL for raw sockets with an explicit protocol
A raw socket created with a nonzero protocol returns the protocol of the entry FreeBSD selects: the requested number for the raw protocols listed in in_proto.c and in6_proto.c, or zero from the raw wildcard entry otherwise. A raw socket created with protocol 0 still throws because its selection is not mapped; FreeBSD accepts that socket through pffindtype, so this is an unsupported path here rather than a console rejection.
2026-11-02 23:17:52 +01:00