Searched refs:cmh (Results 1 – 3 of 3) sorted by relevance
184 struct cmsghdr *cmh; in sctp_build_ctl_nchunk() local198 cmh = mtod(ret, struct cmsghdr *); in sctp_build_ctl_nchunk()199 outinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmh); in sctp_build_ctl_nchunk()200 cmh->cmsg_level = IPPROTO_SCTP; in sctp_build_ctl_nchunk()201 cmh->cmsg_type = SCTP_SNDRCV; in sctp_build_ctl_nchunk()215 ret->m_len = cmh->cmsg_len; in sctp_build_ctl_nchunk()236 struct cmsghdr *cmh; in sctp_build_ctl() local249 cmh = mtod(ret, struct cmsghdr *); in sctp_build_ctl()251 cmh->cmsg_level = IPPROTO_SCTP; in sctp_build_ctl()252 cmh->cmsg_type = SCTP_SNDRCV; in sctp_build_ctl()[all …]
119 struct cmsghdr cmh; in sctp_find_cmsg() local129 if ((tlen-at) < (int)CMSG_ALIGN(sizeof(cmh))) { in sctp_find_cmsg()133 m_copydata(control, at, sizeof(cmh), (void *)&cmh); in sctp_find_cmsg()134 if ((cmh.cmsg_len + at) > tlen) { in sctp_find_cmsg()141 if ((cmh.cmsg_level == IPPROTO_SCTP) && in sctp_find_cmsg()142 (c_type == cmh.cmsg_type)) { in sctp_find_cmsg()145 if ((int)(cmh.cmsg_len - CMSG_ALIGN(sizeof(struct cmsghdr))) < cpsize) { in sctp_find_cmsg()155 at += CMSG_ALIGN(cmh.cmsg_len); in sctp_find_cmsg()156 if (cmh.cmsg_len == 0) { in sctp_find_cmsg()
20073 … Colin Henein mailto:iana&cmh.parliant.com …