diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2025-10-14 18:41:25 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2025-10-14 18:41:25 +0000 |
| commit | 663a571514fbbc237ac841f7ff2f5e26db966445 (patch) | |
| tree | c69af5220cddc45faeef7579fb471e66a59bc35c | |
| parent | d1bd541b385d49d2ae3a8bad9df72779b606e208 (diff) | |
sockets: add PF_HYPERV alias
Just make it like all other sockets that have PF_FOO -> AF_FOO alias.
| -rw-r--r-- | lib/libsys/socket.2 | 2 | ||||
| -rw-r--r-- | sys/sys/socket.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/libsys/socket.2 b/lib/libsys/socket.2 index b211611c6354..979f6227c9b8 100644 --- a/lib/libsys/socket.2 +++ b/lib/libsys/socket.2 @@ -64,7 +64,7 @@ PF_NETGRAPH Netgraph sockets, PF_NETLINK Netlink protocols, PF_BLUETOOTH Bluetooth protocols, PF_INET_SDP OFED socket direct protocol (IPv4), -AF_HYPERV HyperV sockets +PF_HYPERV HyperV sockets .Ed .Pp Each protocol family is connected to an address family, which has the diff --git a/sys/sys/socket.h b/sys/sys/socket.h index cdd4fa3b4b89..cf1d95da6168 100644 --- a/sys/sys/socket.h +++ b/sys/sys/socket.h @@ -396,6 +396,7 @@ struct sockproto { #define PF_NETLINK AF_NETLINK #define PF_INET_SDP AF_INET_SDP #define PF_INET6_SDP AF_INET6_SDP +#define PF_HYPERV AF_HYPERV #define PF_DIVERT AF_DIVERT #define PF_IPFWLOG AF_IPFWLOG |
