OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:cmh
(Results
1 - 4
of
4
) sorted by relevancy
/src/external/apache2/mDNSResponder/dist/ServiceRegistration/
posix.c
448
struct cmsghdr *
cmh
;
local
466
for (
cmh
= CMSG_FIRSTHDR(&msg);
cmh
;
cmh
= CMSG_NXTHDR(&msg,
cmh
)) {
467
if (
cmh
->cmsg_level == IPPROTO_IPV6 &&
cmh
->cmsg_type == IPV6_PKTINFO &&
468
cmh
->cmsg_len == CMSG_LEN(sizeof(struct in6_pktinfo)))
472
memcpy(&pktinfo, CMSG_DATA(
cmh
), sizeof pktinfo);
482
} else if (
cmh
->cmsg_level == IPPROTO_IP && cmh->cmsg_type == IP_PKTINFO &
[
all
...]
ioloop.c
582
struct cmsghdr *
cmh
;
local
616
for (
cmh
= CMSG_FIRSTHDR(&msg);
cmh
;
cmh
= CMSG_NXTHDR(&msg,
cmh
)) {
619
if (
cmh
->cmsg_level == IPPROTO_IPV6 &&
cmh
->cmsg_type == IPV6_PKTINFO) {
622
memcpy(&pktinfo, CMSG_DATA(
cmh
), sizeof pktinfo);
633
} else if (
cmh
->cmsg_level == IPPROTO_IP &&
cmh
->cmsg_type == IP_PKTINFO)
[
all
...]
/src/sys/netinet/
sctp_indata.c
184
struct cmsghdr *
cmh
;
local
198
cmh
= mtod(ret, struct cmsghdr *);
199
outinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(
cmh
);
200
cmh
->cmsg_level = IPPROTO_SCTP;
201
cmh
->cmsg_type = SCTP_SNDRCV;
202
cmh
->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo));
215
ret->m_len =
cmh
->cmsg_len;
236
struct cmsghdr *
cmh
;
local
249
cmh
= mtod(ret, struct cmsghdr *);
250
outinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(
cmh
);
[
all
...]
sctp_output.c
119
struct cmsghdr
cmh
;
local
129
if ((tlen-at) < (int)CMSG_ALIGN(sizeof(
cmh
))) {
133
m_copydata(control, at, sizeof(
cmh
), (void *)&
cmh
);
134
if ((
cmh
.cmsg_len + at) > tlen) {
141
if ((
cmh
.cmsg_level == IPPROTO_SCTP) &&
142
(c_type ==
cmh
.cmsg_type)) {
145
if ((int)(
cmh
.cmsg_len - CMSG_ALIGN(sizeof(struct cmsghdr))) < cpsize) {
155
at += CMSG_ALIGN(
cmh
.cmsg_len);
156
if (
cmh
.cmsg_len == 0)
[
all
...]
Completed in 39 milliseconds
Indexes created Fri Apr 10 00:22:58 UTC 2026