Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
socket_dns_offload Struct Reference

An offloaded Socket DNS API interface. More...

#include <socket_offload.h>

Data Fields

int(* getaddrinfo )(const char *node, const char *service, const struct zsock_addrinfo *hints, struct zsock_addrinfo **res)
 
void(* freeaddrinfo )(struct zsock_addrinfo *res)
 

Detailed Description

An offloaded Socket DNS API interface.

It is assumed that these offload functions follow the POSIX socket API standard for arguments, return values and setting of errno.

Field Documentation

◆ freeaddrinfo

void(* socket_dns_offload::freeaddrinfo) (struct zsock_addrinfo *res)

◆ getaddrinfo

int(* socket_dns_offload::getaddrinfo) (const char *node, const char *service, const struct zsock_addrinfo *hints, struct zsock_addrinfo **res)

The documentation for this struct was generated from the following file: