RetroArch
Macros | Functions
uip_pbuf.c File Reference
#include <stdlib.h>
#include <string.h>
#include "memb.h"
#include "memr.h"
#include "uip_pbuf.h"
Include dependency graph for uip_pbuf.c:

Macros

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

Functions

 MEMB (uip_pool_pbufs, sizeof(struct uip_pbuf)+UIP_PBUF_POOL_BUFSIZE, UIP_PBUF_POOL_NUM)
 
 MEMB (uip_rom_pbufs, sizeof(struct uip_pbuf), UIP_PBUF_ROM_NUM)
 
void uip_pbuf_init ()
 
struct uip_pbufuip_pbuf_alloc (uip_pbuf_layer layer, u16_t len, uip_pbuf_flag flag)
 
u8_t uip_pbuf_free (struct uip_pbuf *p)
 
void uip_pbuf_realloc (struct uip_pbuf *p, u16_t new_len)
 
u8_t uip_pbuf_header (struct uip_pbuf *p, s16_t hdr_size_inc)
 
u8_t uip_pbuf_clen (struct uip_pbuf *p)
 
void uip_pbuf_ref (struct uip_pbuf *p)
 
void uip_pbuf_cat (struct uip_pbuf *h, struct uip_pbuf *t)
 
void uip_pbuf_queue (struct uip_pbuf *p, struct uip_pbuf *n)
 
struct uip_pbufuip_pbuf_dequeue (struct uip_pbuf *p)
 
void uip_pbuf_chain (struct uip_pbuf *h, struct uip_pbuf *t)
 
struct uip_pbufuip_pbuf_dechain (struct uip_pbuf *p)
 

Macro Definition Documentation

◆ UIP_ERROR

#define UIP_ERROR (   m)

◆ UIP_LOG

#define UIP_LOG (   m)

◆ UIP_STAT

#define UIP_STAT (   s)

Function Documentation

◆ MEMB() [1/2]

MEMB ( uip_pool_pbufs  ,
sizeof(struct uip_pbuf)+  UIP_PBUF_POOL_BUFSIZE,
UIP_PBUF_POOL_NUM   
)

◆ MEMB() [2/2]

MEMB ( uip_rom_pbufs  ,
sizeof(struct uip_pbuf ,
UIP_PBUF_ROM_NUM   
)

◆ uip_pbuf_alloc()

struct uip_pbuf* uip_pbuf_alloc ( uip_pbuf_layer  layer,
u16_t  len,
uip_pbuf_flag  flag 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ uip_pbuf_cat()

void uip_pbuf_cat ( struct uip_pbuf h,
struct uip_pbuf t 
)
Here is the caller graph for this function:

◆ uip_pbuf_chain()

void uip_pbuf_chain ( struct uip_pbuf h,
struct uip_pbuf t 
)
Here is the call graph for this function:

◆ uip_pbuf_clen()

u8_t uip_pbuf_clen ( struct uip_pbuf p)
Here is the caller graph for this function:

◆ uip_pbuf_dechain()

struct uip_pbuf* uip_pbuf_dechain ( struct uip_pbuf p)
Here is the call graph for this function:

◆ uip_pbuf_dequeue()

struct uip_pbuf* uip_pbuf_dequeue ( struct uip_pbuf p)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ uip_pbuf_free()

u8_t uip_pbuf_free ( struct uip_pbuf p)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ uip_pbuf_header()

u8_t uip_pbuf_header ( struct uip_pbuf p,
s16_t  hdr_size_inc 
)
Here is the caller graph for this function:

◆ uip_pbuf_init()

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

◆ uip_pbuf_queue()

void uip_pbuf_queue ( struct uip_pbuf p,
struct uip_pbuf n 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ uip_pbuf_realloc()

void uip_pbuf_realloc ( struct uip_pbuf p,
u16_t  new_len 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ uip_pbuf_ref()

void uip_pbuf_ref ( struct uip_pbuf p)
Here is the caller graph for this function: