#include <tcpip.h>
Data Fields | |
| const char * | name |
| Protocol name. | |
| sa_family_t | sa_family |
| Network address family. | |
| int(* | tx )(struct io_buffer *iobuf, struct tcpip_protocol *tcpip_protocol, struct sockaddr_tcpip *st_src, struct sockaddr_tcpip *st_dest, struct net_device *netdev, uint16_t *trans_csum) |
| Transmit packet. | |
IPV4, IPv6, etc)
Definition at line 77 of file tcpip.h.
| const char* tcpip_net_protocol::name |
| int( * tcpip_net_protocol::tx)(struct io_buffer *iobuf, struct tcpip_protocol *tcpip_protocol, struct sockaddr_tcpip *st_src, struct sockaddr_tcpip *st_dest, struct net_device *netdev, uint16_t *trans_csum) |
Transmit packet.
| iobuf | I/O buffer | |
| tcpip_protocol | Transport-layer protocol | |
| st_src | Source address, or NULL to use default | |
| st_dest | Destination address | |
| netdev | Network device (or NULL to route automatically) | |
| trans_csum | Transport-layer checksum to complete, or NULL |
| rc | Return status code |
Referenced by tcpip_tx().
1.5.7.1