Searched refs:ocmsg (Results 1 – 1 of 1) sorted by relevance
220 struct cmsghdr *ocmsg; in sosctp_pack_cmsg() local226 ocmsg = (struct cmsghdr *)opt; in sosctp_pack_cmsg()230 if ((char *)(ocmsg + 1) > cend || in sosctp_pack_cmsg()231 ((char *)ocmsg + ocmsg->cmsg_len) > cend) { in sosctp_pack_cmsg()234 if (isaligned && !ISALIGNED_cmsghdr(ocmsg)) in sosctp_pack_cmsg()236 optlen += ROUNDUP_cmsglen(ocmsg->cmsg_len); in sosctp_pack_cmsg()237 if (ocmsg->cmsg_len > 0) { in sosctp_pack_cmsg()238 ocmsg = (struct cmsghdr *) in sosctp_pack_cmsg()239 ((uchar_t *)ocmsg + ocmsg->cmsg_len); in sosctp_pack_cmsg()254 ocmsg = (struct cmsghdr *)opt; in sosctp_pack_cmsg()[all …]