#include "net/debug.h"#include "net/arch.h"Go to the source code of this file.
Data Structures | |
| struct | pbuf |
Defines | |
| #define | PBUF_FLAG_POOL 0x02 |
| #define | PBUF_FLAG_RAM 0x00 |
| #define | PBUF_FLAG_ROM 0x01 |
| #define | PBUF_IP_HLEN 20 |
| #define | PBUF_TRANSPORT_HLEN 20 |
Enumerations | |
| enum | pbuf_flag { PBUF_RAM, PBUF_ROM, PBUF_POOL } |
| enum | pbuf_layer { PBUF_TRANSPORT, PBUF_IP, PBUF_LINK, PBUF_RAW } |
Functions | |
| pbuf * | pbuf_alloc (pbuf_layer l, uInt16 size, pbuf_flag flag) |
| void | pbuf_chain (struct pbuf *h, struct pbuf *t) |
| uInt8 | pbuf_clen (struct pbuf *p) |
| pbuf * | pbuf_dechain (struct pbuf *p) |
| uInt8 | pbuf_free (struct pbuf *p) |
| uInt8 | pbuf_header (struct pbuf *p, Int16 header_size) |
| void | pbuf_init (void) |
| void | pbuf_realloc (struct pbuf *p, uInt16 size) |
| void | pbuf_ref (struct pbuf *p) |
| enum pbuf_layer |
| struct pbuf* pbuf_alloc | ( | pbuf_layer | l, | |
| uInt16 | size, | |||
| pbuf_flag | flag | |||
| ) |
Referenced by arp_query(), ethernetif_output(), loopif_output(), low_level_input(), netbuf_alloc(), and netbuf_ref().
Referenced by ethernetif_output(), and netbuf_chain().
Referenced by arp_arp_input(), ethernetif_input(), ethernetif_output(), netbuf_alloc(), netbuf_delete(), netbuf_free(), netbuf_ref(), netconn_delete(), recv_tcp(), recv_udp(), and tcpip_input().
Referenced by ethernetif_input(), and ethernetif_output().
| void pbuf_init | ( | void | ) |
Referenced by net_init().
| void pbuf_ref | ( | struct pbuf * | p | ) |
1.4.7