RetroArch
Macros | Functions | Variables
uip_ip.c File Reference
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "uip_ip.h"
#include "uip_tcp.h"
#include "uip_icmp.h"
#include "uip_netif.h"
#include "uip_pbuf.h"
Include dependency graph for uip_ip.c:

Macros

#define UIP_LOG(m)
 
#define UIP_ERROR(m)
 
#define UIP_STAT(s)
 

Functions

struct uip_netifuip_iproute (struct uip_ip_addr *dst)
 
u8_t uip_ipaddr_isbroadcast (struct uip_ip_addr *addr, struct uip_netif *netif)
 
s8_t uip_ipinput (struct uip_pbuf *p, struct uip_netif *inp)
 
s8_t uip_ipoutput_if (struct uip_pbuf *p, struct uip_ip_addr *src, struct uip_ip_addr *dst, u8_t ttl, u8_t tos, u8_t proto, struct uip_netif *netif)
 
s8_t uip_ipoutput (struct uip_pbuf *p, struct uip_ip_addr *src, struct uip_ip_addr *dst, u8_t ttl, u8_t tos, u8_t proto)
 
void uip_ipinit ()
 
s32_t uip_ipaton (const u8_t *cp, struct in_addr *addr)
 
u32_t uip_ipaddr (const u8_t *cp)
 

Variables

const struct uip_ip_addr ipaddr_any = { 0x0000000UL }
 
const struct uip_ip_addr ipaddr_broadcast = { 0xffffffffUL }
 

Macro Definition Documentation

◆ UIP_ERROR

#define UIP_ERROR (   m)

◆ UIP_LOG

#define UIP_LOG (   m)

◆ UIP_STAT

#define UIP_STAT (   s)

Function Documentation

◆ uip_ipaddr()

u32_t uip_ipaddr ( const u8_t cp)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ uip_ipaddr_isbroadcast()

u8_t uip_ipaddr_isbroadcast ( struct uip_ip_addr addr,
struct uip_netif netif 
)

◆ uip_ipaton()

s32_t uip_ipaton ( const u8_t cp,
struct in_addr addr 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ uip_ipinit()

void uip_ipinit ( )
Here is the caller graph for this function:

◆ uip_ipinput()

s8_t uip_ipinput ( struct uip_pbuf p,
struct uip_netif inp 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ uip_ipoutput()

s8_t uip_ipoutput ( struct uip_pbuf p,
struct uip_ip_addr src,
struct uip_ip_addr dst,
u8_t  ttl,
u8_t  tos,
u8_t  proto 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ uip_ipoutput_if()

s8_t uip_ipoutput_if ( struct uip_pbuf p,
struct uip_ip_addr src,
struct uip_ip_addr dst,
u8_t  ttl,
u8_t  tos,
u8_t  proto,
struct uip_netif netif 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ uip_iproute()

struct uip_netif* uip_iproute ( struct uip_ip_addr dst)
Here is the caller graph for this function:

Variable Documentation

◆ ipaddr_any

const struct uip_ip_addr ipaddr_any = { 0x0000000UL }

◆ ipaddr_broadcast

const struct uip_ip_addr ipaddr_broadcast = { 0xffffffffUL }