Home
last modified time | relevance | path

Searched refs:cmsgPointer (Results 1 – 1 of 1) sorted by relevance

/external/openthread/src/posix/platform/
Dinfra_if.cpp193 struct cmsghdr * cmsgPointer; in SendIcmp6Nd() local
222 cmsgPointer = CMSG_FIRSTHDR(&msgHeader); in SendIcmp6Nd()
223 cmsgPointer->cmsg_level = IPPROTO_IPV6; in SendIcmp6Nd()
224 cmsgPointer->cmsg_type = IPV6_PKTINFO; in SendIcmp6Nd()
225 cmsgPointer->cmsg_len = CMSG_LEN(sizeof(*packetInfo)); in SendIcmp6Nd()
226 packetInfo = (struct in6_pktinfo *)CMSG_DATA(cmsgPointer); in SendIcmp6Nd()
231 cmsgPointer = CMSG_NXTHDR(&msgHeader, cmsgPointer); in SendIcmp6Nd()
232 cmsgPointer->cmsg_level = IPPROTO_IPV6; in SendIcmp6Nd()
233 cmsgPointer->cmsg_type = IPV6_HOPLIMIT; in SendIcmp6Nd()
234 cmsgPointer->cmsg_len = CMSG_LEN(sizeof(hopLimit)); in SendIcmp6Nd()
[all …]