Searched refs:cmh (Results 1 - 3 of 3) sorted by relevance
/freebsd-13-stable/tools/regression/netinet6/inet6_rth/ |
H A D | inet6_rth-segments.c | 227 struct cmsghdr cmh; local 237 init_hdrs(&mh, &cmh, ancbuf, sizeof(ancbuf)); 240 cmh.cmsg_len = CMSG_LEN(0); 246 bcopy((void *)&cmh, (void *)ancbuf, sizeof(cmh)); 247 strlcpy((char *)&cmh, (const char *)&magic, sizeof(magic)); 248 bcopy((void *)&cmh, 250 sizeof(cmh)); 259 init_hdrs(&mh, &cmh, ancbuf, sizeof(ancbuf)); 262 cmh 285 struct cmsghdr cmh; local [all...] |
/freebsd-13-stable/sys/netinet/ |
H A D | sctp_output.c | 3459 struct cmsghdr cmh; local 3472 for (off = 0; off < tot_len; off += CMSG_ALIGN(cmh.cmsg_len)) { 3474 if (rem_len < (int)CMSG_ALIGN(sizeof(cmh))) { 3478 m_copydata(control, off, sizeof(cmh), (caddr_t)&cmh); 3479 if (cmh.cmsg_len < CMSG_ALIGN(sizeof(cmh))) { 3483 if ((cmh.cmsg_len > INT_MAX) || ((int)cmh.cmsg_len > rem_len)) { 3487 cmsg_data_len = (int)cmh 3560 struct cmsghdr cmh; local 3730 struct cmsghdr cmh; local [all...] |
H A D | sctp_indata.c | 178 struct cmsghdr *cmh; local 223 cmh = mtod(ret, struct cmsghdr *); 228 memset(cmh, 0, len); 230 cmh->cmsg_level = IPPROTO_SCTP; 231 cmh->cmsg_len = CMSG_LEN(sizeof(struct sctp_rcvinfo)); 232 cmh->cmsg_type = SCTP_RCVINFO; 233 rcvinfo = (struct sctp_rcvinfo *)CMSG_DATA(cmh); 242 cmh = (struct cmsghdr *)((caddr_t)cmh + CMSG_SPACE(sizeof(struct sctp_rcvinfo))); 246 cmh [all...] |
Completed in 107 milliseconds