RetroArch
Classes | Macros | Enumerations | Functions
uip_pbuf.h File Reference
#include "uip.h"
Include dependency graph for uip_pbuf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  uip_pbuf
 

Macros

#define UIP_PBUF_FLAG_RAM   0x00U /* Flags that pbuf data is stored in RAM */
 
#define UIP_PBUF_FLAG_ROM   0x01U /* Flags that pbuf data is stored in ROM */
 
#define UIP_PBUF_FLAG_POOL   0x02U /* Flags that the pbuf comes from the pbuf pool */
 
#define UIP_PBUF_FLAG_REF   0x04U /* Flags thet the pbuf payload refers to RAM */
 

Enumerations

enum  uip_pbuf_layer { UIP_PBUF_TRANSPORT, UIP_PBUF_IP, UIP_PBUF_LINK, UIP_PBUF_RAW }
 
enum  uip_pbuf_flag { UIP_PBUF_POOL, UIP_PBUF_RAM, UIP_PBUF_ROM, UIP_PBUF_REF }
 

Functions

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)
 
void uip_pbuf_cat (struct uip_pbuf *h, struct uip_pbuf *t)
 
u8_t uip_pbuf_clen (struct uip_pbuf *p)
 
void uip_pbuf_queue (struct uip_pbuf *p, struct uip_pbuf *n)
 
void uip_pbuf_ref (struct uip_pbuf *p)
 
void uip_pbuf_chain (struct uip_pbuf *h, struct uip_pbuf *t)
 
struct uip_pbufuip_pbuf_dequeue (struct uip_pbuf *p)
 
struct uip_pbufuip_pbuf_dechain (struct uip_pbuf *p)
 

Macro Definition Documentation

◆ UIP_PBUF_FLAG_POOL

#define UIP_PBUF_FLAG_POOL   0x02U /* Flags that the pbuf comes from the pbuf pool */

◆ UIP_PBUF_FLAG_RAM

#define UIP_PBUF_FLAG_RAM   0x00U /* Flags that pbuf data is stored in RAM */

◆ UIP_PBUF_FLAG_REF

#define UIP_PBUF_FLAG_REF   0x04U /* Flags thet the pbuf payload refers to RAM */

◆ UIP_PBUF_FLAG_ROM

#define UIP_PBUF_FLAG_ROM   0x01U /* Flags that pbuf data is stored in ROM */

Enumeration Type Documentation

◆ uip_pbuf_flag

Enumerator
UIP_PBUF_POOL 
UIP_PBUF_RAM 
UIP_PBUF_ROM 
UIP_PBUF_REF 

◆ uip_pbuf_layer

Enumerator
UIP_PBUF_TRANSPORT 
UIP_PBUF_IP 
UIP_PBUF_LINK 
UIP_PBUF_RAW 

Function Documentation

◆ 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: