Lines Matching refs:pktinfo
268 struct in6_pktinfo *pktinfo; in coap_network_send() local
278 pktinfo = (struct in6_pktinfo *)CMSG_DATA(cmsg); in coap_network_send()
279 memset(pktinfo, 0, sizeof(struct in6_pktinfo)); in coap_network_send()
281 pktinfo->ipi6_ifindex = ep->ifindex; in coap_network_send()
285 pktinfo->ipi6_ifindex = 0; in coap_network_send()
286 memset(&pktinfo->ipi6_addr, 0, sizeof(pktinfo->ipi6_addr)); in coap_network_send()
288 pktinfo->ipi6_ifindex = ep->ifindex; in coap_network_send()
289 memcpy(&pktinfo->ipi6_addr, in coap_network_send()
297 struct in_pktinfo *pktinfo; in coap_network_send() local
307 pktinfo = (struct in_pktinfo *)CMSG_DATA(cmsg); in coap_network_send()
308 memset(pktinfo, 0, sizeof(struct in_pktinfo)); in coap_network_send()
313 pktinfo->ipi_ifindex = 0; in coap_network_send()
314 memset(&pktinfo->ipi_spec_dst, 0, sizeof(pktinfo->ipi_spec_dst)); in coap_network_send()
316 pktinfo->ipi_ifindex = ep->ifindex; in coap_network_send()
317 memcpy(&pktinfo->ipi_spec_dst, in coap_network_send()