Searched refs:cmh (Results 1 - 3 of 3) sorted by relevance
/freebsd-10-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-10-stable/sys/netinet/ |
H A D | sctp_output.c | 3473 struct cmsghdr cmh; local 3487 if ((tlen - at) < (int)CMSG_ALIGN(sizeof(cmh))) { 3491 m_copydata(control, at, sizeof(cmh), (caddr_t)&cmh); 3492 if (cmh.cmsg_len < CMSG_ALIGN(sizeof(cmh))) { 3496 if (((int)cmh.cmsg_len + at) > tlen) { 3500 if ((cmh.cmsg_level == IPPROTO_SCTP) && 3501 ((c_type == cmh.cmsg_type) || 3503 ((cmh 3569 struct cmsghdr cmh; local 3741 struct cmsghdr cmh; local [all...] |
H A D | sctp_indata.c | 208 struct cmsghdr *cmh; local 252 cmh = mtod(ret, struct cmsghdr *); 257 memset(cmh, 0, len); 259 cmh->cmsg_level = IPPROTO_SCTP; 260 cmh->cmsg_len = CMSG_LEN(sizeof(struct sctp_rcvinfo)); 261 cmh->cmsg_type = SCTP_RCVINFO; 262 rcvinfo = (struct sctp_rcvinfo *)CMSG_DATA(cmh); 271 cmh = (struct cmsghdr *)((caddr_t)cmh + CMSG_SPACE(sizeof(struct sctp_rcvinfo))); 275 cmh [all...] |
Completed in 60 milliseconds