#include <tcpip.h>
Data Fields | |
| const char * | name |
| Protocol name. | |
| int(* | rx )(struct io_buffer *iobuf, struct sockaddr_tcpip *st_src, struct sockaddr_tcpip *st_dest, uint16_t pshdr_csum) |
| Process received packet. | |
| uint8_t | tcpip_proto |
| Transport-layer protocol number. | |
UDP, TCP, etc)
Definition at line 50 of file tcpip.h.
| const char* tcpip_protocol::name |
| int( * tcpip_protocol::rx)(struct io_buffer *iobuf, struct sockaddr_tcpip *st_src, struct sockaddr_tcpip *st_dest, uint16_t pshdr_csum) |
Process received packet.
| iobuf | I/O buffer | |
| st_src | Partially-filled source address | |
| st_dest | Partially-filled destination address | |
| pshdr_csum | Pseudo-header checksum |
| rc | Return status code |
Referenced by tcpip_rx().
Transport-layer protocol number.
This is a constant of the type IP_XXX
Definition at line 71 of file tcpip.h.
Referenced by ipv4_tx(), ipv6_tx(), and tcpip_rx().
1.5.7.1