Lines Matching defs:so
201 * so pad with 0.
217 * could pick this out at compile-time, it would be better, so as to
248 * so pad with 0.
264 * could pick this out at compile-time, it would be better, so as to
499 * ipc_perm; at least a few still use 16-bit uid's and gid's, so
502 * BSM defines 4 so pad with 0.
923 * converted to the BSM constant space, so we don't do that here.
1002 au_to_sock_unix(struct sockaddr_un *so)
1007 GET_TOKEN_AREA(t, dptr, 3 * sizeof(u_char) + strlen(so->sun_path) + 1);
1012 ADD_U_CHAR(dptr, so->sun_family);
1013 ADD_STRING(dptr, so->sun_path, strlen(so->sun_path) + 1);
1025 au_to_sock_inet32(struct sockaddr_in *so)
1045 family = so->sin_family;
1047 ADD_MEM(dptr, &so->sin_port, sizeof(uint16_t));
1048 ADD_MEM(dptr, &so->sin_addr.s_addr, sizeof(uint32_t));
1054 au_to_sock_inet128(struct sockaddr_in6 *so)
1069 ADD_U_CHAR(dptr, so->sin6_family);
1071 ADD_U_INT16(dptr, so->sin6_port);
1072 ADD_MEM(dptr, &so->sin6_addr, 4 * sizeof(uint32_t));
1078 au_to_sock_inet(struct sockaddr_in *so)
1081 return (au_to_sock_inet32(so));