Searched refs:cMsg (Results 1 – 1 of 1) sorted by relevance
680 struct cmsghdr *cMsg; in handleIpHeadersIfReceived() local681 cMsg = CMSG_FIRSTHDR(&sMsg); in handleIpHeadersIfReceived()683 if (cMsg == NULL) { in handleIpHeadersIfReceived()687 for (; cMsg != NULL; cMsg = CMSG_NXTHDR(&sMsg, cMsg)) { in handleIpHeadersIfReceived()688 bool isTOSHeader = ((cMsg->cmsg_level == (mIsIPv6 ? IPPROTO_IPV6 : IPPROTO_IP)) in handleIpHeadersIfReceived()689 && (cMsg->cmsg_type == (mIsIPv6 ? IPV6_TCLASS : IP_TOS)) in handleIpHeadersIfReceived()690 && (cMsg->cmsg_len)); in handleIpHeadersIfReceived()693 receivedTOS = *((uint8_t *) CMSG_DATA(cMsg)); in handleIpHeadersIfReceived()