Added definition of sockaddr_un_bsd

This commit is contained in:
Fabrizio Bertocci 2021-03-25 19:48:03 -04:00
parent 100e219181
commit cd22936712

View file

@ -46,6 +46,12 @@ struct msghdr_bsd {
uint32_t msg_flags; /* « different type */
};
struct sockaddr_un_bsd {
uint8_t sun_len; /* sockaddr len including NUL on freebsd but excluding it on openbsd/xnu */
uint8_t sun_family;
char sun_path[14];
};
struct SockFd {
int family;
int type;