Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/network/protocols/unix/
H A Dunix.cpp380 cmsghdr* messageHeader = (cmsghdr*)buffer; in unix_process_ancillary_data() local
381 messageHeader->cmsg_level = SOL_SOCKET; in unix_process_ancillary_data()
382 messageHeader->cmsg_type = SCM_RIGHTS; in unix_process_ancillary_data()
383 messageHeader->cmsg_len = CMSG_LEN(sizeof(int) * totalCount); in unix_process_ancillary_data()
386 int* fds = (int*)CMSG_DATA(messageHeader); in unix_process_ancillary_data()
/haiku/src/add-ons/kernel/network/stack/
H A Dnet_socket.cpp236 msghdr* messageHeader) in process_ancillary_data() argument
238 uint8* dataBuffer = (uint8*)messageHeader->msg_control; in process_ancillary_data()
239 int dataBufferLen = messageHeader->msg_controllen; in process_ancillary_data()
242 messageHeader->msg_controllen = 0; in process_ancillary_data()
254 messageHeader->msg_controllen = bytesWritten; in process_ancillary_data()
261 net_buffer* buffer, msghdr* messageHeader) in process_ancillary_data() argument
263 void *dataBuffer = messageHeader->msg_control; in process_ancillary_data()
267 messageHeader->msg_controllen = 0; in process_ancillary_data()
276 messageHeader->msg_controllen); in process_ancillary_data()
279 messageHeader->msg_controllen = bytesWritten; in process_ancillary_data()
/haiku/src/add-ons/kernel/network/protocols/ipv6/
H A Dipv6.cpp1616 cmsghdr* messageHeader = (cmsghdr*)((char*)msgControl + bytesWritten); in ipv6_process_ancillary_data_no_container() local
1617 messageHeader->cmsg_len = CMSG_LEN(sizeof(int)); in ipv6_process_ancillary_data_no_container()
1618 messageHeader->cmsg_level = IPPROTO_IPV6; in ipv6_process_ancillary_data_no_container()
1619 messageHeader->cmsg_type = IPV6_HOPLIMIT; in ipv6_process_ancillary_data_no_container()
1621 memcpy(CMSG_DATA(messageHeader), &hopLimit, sizeof(int)); in ipv6_process_ancillary_data_no_container()
1633 cmsghdr* messageHeader = (cmsghdr*)((char*)msgControl + bytesWritten); in ipv6_process_ancillary_data_no_container() local
1634 messageHeader->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in ipv6_process_ancillary_data_no_container()
1635 messageHeader->cmsg_level = IPPROTO_IPV6; in ipv6_process_ancillary_data_no_container()
1636 messageHeader->cmsg_type = IPV6_PKTINFO; in ipv6_process_ancillary_data_no_container()
1647 memcpy(CMSG_DATA(messageHeader), &pi, sizeof(struct in6_pktinfo)); in ipv6_process_ancillary_data_no_container()
/haiku/src/add-ons/kernel/network/protocols/ipv4/
H A Dipv4.cpp1958 cmsghdr* messageHeader = (cmsghdr*)msgControl; in ipv4_process_ancillary_data_no_container() local
1959 messageHeader->cmsg_len = CMSG_LEN(sizeof(struct in_addr)); in ipv4_process_ancillary_data_no_container()
1960 messageHeader->cmsg_level = IPPROTO_IP; in ipv4_process_ancillary_data_no_container()
1961 messageHeader->cmsg_type = IP_RECVDSTADDR; in ipv4_process_ancillary_data_no_container()
1963 memcpy(CMSG_DATA(messageHeader), in ipv4_process_ancillary_data_no_container()