RetroArch
Macros | Functions
inet.h File Reference
#include "lwip/arch.h"
#include "lwip/opt.h"
#include "lwip/pbuf.h"
#include "lwip/ip_addr.h"
Include dependency graph for inet.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define htons(x)   (x)
 
#define ntohs(x)   (x)
 
#define htonl(x)   (x)
 
#define ntohl(x)   (x)
 

Functions

u16_t inet_chksum (void *dataptr, u16_t len)
 
u16_t inet_chksum_pbuf (struct pbuf *p)
 
u16_t inet_chksum_pseudo (struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, u8_t proto, u16_t proto_len)
 
u32_t inet_addr (const char *cp)
 
s8_t inet_aton (const char *cp, struct in_addr *addr)
 
char * inet_ntoa (struct in_addr addr)
 

Macro Definition Documentation

◆ htonl

#define htonl (   x)    (x)

◆ htons

#define htons (   x)    (x)

◆ ntohl

#define ntohl (   x)    (x)

◆ ntohs

#define ntohs (   x)    (x)

Function Documentation

◆ inet_addr()

u32_t inet_addr ( const char *  cp)
Here is the caller graph for this function:

◆ inet_aton()

s8_t inet_aton ( const char *  cp,
struct in_addr addr 
)
Here is the caller graph for this function:

◆ inet_chksum()

u16_t inet_chksum ( void dataptr,
u16_t  len 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ inet_chksum_pbuf()

u16_t inet_chksum_pbuf ( struct pbuf p)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ inet_chksum_pseudo()

u16_t inet_chksum_pseudo ( struct pbuf p,
struct ip_addr src,
struct ip_addr dest,
u8_t  proto,
u16_t  proto_len 
)

◆ inet_ntoa()

char* inet_ntoa ( struct in_addr  addr)
Here is the caller graph for this function: