Home
last modified time | relevance | path

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

/net-tools-2.7.6/libcoap/src/
Dcoap_io.c267 struct cmsghdr *cmsg; in coap_network_send() local
273 cmsg = CMSG_FIRSTHDR(&mhdr); in coap_network_send()
274 cmsg->cmsg_level = IPPROTO_IPV6; in coap_network_send()
275 cmsg->cmsg_type = IPV6_PKTINFO; in coap_network_send()
276 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in coap_network_send()
278 pktinfo = (struct in6_pktinfo *)CMSG_DATA(cmsg); in coap_network_send()
296 struct cmsghdr *cmsg; in coap_network_send() local
302 cmsg = CMSG_FIRSTHDR(&mhdr); in coap_network_send()
303 cmsg->cmsg_level = SOL_IP; in coap_network_send()
304 cmsg->cmsg_type = IP_PKTINFO; in coap_network_send()
[all …]