RetroArch
Macros | Functions
network_common.c File Reference
#include "lwip/def.h"
#include "lwip/inet.h"
Include dependency graph for network_common.c:

Macros

#define in_range(c, lo, up)   ((u8_t)c >= lo && (u8_t)c <= up)
 
#define isascii(c)   in_range(c, 0x20, 0x7f)
 
#define isdigit(c)   in_range(c, '0', '9')
 
#define isxdigit(c)   (isdigit(c) || in_range(c, 'a', 'f') || in_range(c, 'A', 'F'))
 
#define islower(c)   in_range(c, 'a', 'z')
 
#define isspace(c)   (c == ' ' || c == '\f' || c == '\n' || c == '\r' || c == '\t' || c == '\v')
 

Functions

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)
 
u16_t htons (u16_t n)
 
u16_t ntohs (u16_t n)
 
u32_t htonl (u32_t n)
 
u32_t ntohl (u32_t n)
 

Macro Definition Documentation

◆ in_range

#define in_range (   c,
  lo,
  up 
)    ((u8_t)c >= lo && (u8_t)c <= up)

◆ isascii

#define isascii (   c)    in_range(c, 0x20, 0x7f)

◆ isdigit

#define isdigit (   c)    in_range(c, '0', '9')

◆ islower

#define islower (   c)    in_range(c, 'a', 'z')

◆ isspace

#define isspace (   c)    (c == ' ' || c == '\f' || c == '\n' || c == '\r' || c == '\t' || c == '\v')

◆ isxdigit

#define isxdigit (   c)    (isdigit(c) || in_range(c, 'a', 'f') || in_range(c, 'A', 'F'))

Function Documentation

◆ htonl()

u32_t htonl ( u32_t  n)
Here is the caller graph for this function:

◆ htons()

u16_t htons ( u16_t  n)
Here is the caller graph for this function:

◆ inet_addr()

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

◆ inet_aton()

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

◆ inet_ntoa()

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

◆ ntohl()

u32_t ntohl ( u32_t  n)
Here is the call graph for this function:

◆ ntohs()

u16_t ntohs ( u16_t  n)
Here is the call graph for this function: