Lines Matching refs:message
124 const Message& message) { in sendOnInterface() argument
141 iov.iov_base = const_cast<uint8_t*>(message.data()); in sendOnInterface()
142 iov.iov_len = message.size(); in sendOnInterface()
171 const Message& message) { in sendRawUdp() argument
178 ip.tot_len = htons(sizeof(ip) + sizeof(udp) + message.size()); in sendRawUdp()
190 udp.len = htons(sizeof(udp) + message.size()); in sendRawUdp()
199 udpChecksum = addChecksum(message.data(), message.size(), udpChecksum); in sendRawUdp()
209 iov[2].iov_base = static_cast<void*>(const_cast<uint8_t*>(message.data())); in sendRawUdp()
210 iov[2].iov_len = message.size(); in sendRawUdp()
234 Result Socket::receiveFromInterface(Message* message, in receiveFromInterface() argument
240 iov.iov_base = message->data(); in receiveFromInterface()
241 iov.iov_len = message->capacity(); in receiveFromInterface()
251 message->setSize(static_cast<size_t>(bytesRead)); in receiveFromInterface()
268 Message* message, in receiveRawUdp() argument
278 iov[2].iov_base = message->data(); in receiveRawUdp()
279 iov[2].iov_len = message->capacity(); in receiveRawUdp()
295 message->setSize(bytesRead - sizeof(ip) - sizeof(udp)); in receiveRawUdp()