Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
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)
 DNS getaddrinfo offloaded implementation API.
 
void(* freeaddrinfo )(struct zsock_addrinfo *res)
 DNS freeaddrinfo offloaded implementation API.
 

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)

DNS freeaddrinfo offloaded implementation API.

◆ getaddrinfo

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

DNS getaddrinfo offloaded implementation API.


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