|
iPXE
|
A transport-layer protocol of the TCP/IP stack (eg. More...
#include <tcpip.h>
Data Fields | |
| const char * | name |
| Protocol name. More... | |
| int(* | rx )(struct io_buffer *iobuf, struct net_device *netdev, struct sockaddr_tcpip *st_src, struct sockaddr_tcpip *st_dest, uint16_t pshdr_csum) |
| Process received packet. More... | |
| uint16_t | zero_csum |
| Preferred zero checksum value. More... | |
| uint8_t | tcpip_proto |
| Transport-layer protocol number. More... | |
A transport-layer protocol of the TCP/IP stack (eg.
UDP, TCP, etc)
| const char* tcpip_protocol::name |
| int( * tcpip_protocol::rx) (struct io_buffer *iobuf, struct net_device *netdev, struct sockaddr_tcpip *st_src, struct sockaddr_tcpip *st_dest, uint16_t pshdr_csum) |
Process received packet.
| iobuf | I/O buffer |
| netdev | Network device |
| st_src | Partially-filled source address |
| st_dest | Partially-filled destination address |
| pshdr_csum | Pseudo-header checksum |
| rc | Return status code |
This method takes ownership of the I/O buffer.
Definition at line 119 of file tcpip.h.
Referenced by tcpip_rx().
| uint16_t tcpip_protocol::zero_csum |
| uint8_t tcpip_protocol::tcpip_proto |
Transport-layer protocol number.
This is a constant of the type IP_XXX
Definition at line 134 of file tcpip.h.
Referenced by ipv4_tx(), ipv6_tx(), and tcpip_rx().
1.8.15