FreeBSD kernel IPv4 code
toedev Struct Reference

#include <toecore.h>

Public Member Functions

 TAILQ_ENTRY (toedev) link
 

Data Fields

void * tod_softc
 
int(* tod_connect )(struct toedev *, struct socket *, struct nhop_object *, struct sockaddr *)
 
int(* tod_listen_start )(struct toedev *, struct tcpcb *)
 
int(* tod_listen_stop )(struct toedev *, struct tcpcb *)
 
void(* tod_input )(struct toedev *, struct tcpcb *, struct mbuf *)
 
void(* tod_rcvd )(struct toedev *, struct tcpcb *)
 
int(* tod_output )(struct toedev *, struct tcpcb *)
 
int(* tod_send_rst )(struct toedev *, struct tcpcb *)
 
int(* tod_send_fin )(struct toedev *, struct tcpcb *)
 
void(* tod_pcb_detach )(struct toedev *, struct tcpcb *)
 
void(* tod_l2_update )(struct toedev *, struct ifnet *, struct sockaddr *, uint8_t *, uint16_t)
 
void(* tod_route_redirect )(struct toedev *, struct ifnet *, struct nhop_object *, struct nhop_object *)
 
void(* tod_syncache_added )(struct toedev *, void *)
 
void(* tod_syncache_removed )(struct toedev *, void *)
 
int(* tod_syncache_respond )(struct toedev *, void *, struct mbuf *)
 
void(* tod_offload_socket )(struct toedev *, void *, struct socket *)
 
void(* tod_ctloutput )(struct toedev *, struct tcpcb *, int, int)
 
void(* tod_tcp_info )(struct toedev *, struct tcpcb *, struct tcp_info *)
 
int(* tod_alloc_tls_session )(struct toedev *, struct tcpcb *, struct ktls_session *, int)
 
void(* tod_pmtu_update )(struct toedev *, struct tcpcb *, tcp_seq, int)
 

Detailed Description

Definition at line 48 of file toecore.h.

Member Function Documentation

◆ TAILQ_ENTRY()

toedev::TAILQ_ENTRY ( toedev  )

Field Documentation

◆ tod_alloc_tls_session

int(* toedev::tod_alloc_tls_session) (struct toedev *, struct tcpcb *, struct ktls_session *, int)

Definition at line 116 of file toecore.h.

Referenced by init_toedev(), and tcp_offload_alloc_tls_session().

◆ tod_connect

int(* toedev::tod_connect) (struct toedev *, struct socket *, struct nhop_object *, struct sockaddr *)

Definition at line 56 of file toecore.h.

Referenced by init_toedev(), and tcp_offload_connect().

◆ tod_ctloutput

void(* toedev::tod_ctloutput) (struct toedev *, struct tcpcb *, int, int)

Definition at line 109 of file toecore.h.

Referenced by init_toedev(), and tcp_offload_ctloutput().

◆ tod_input

void(* toedev::tod_input) (struct toedev *, struct tcpcb *, struct mbuf *)

Definition at line 67 of file toecore.h.

Referenced by init_toedev(), and tcp_offload_input().

◆ tod_l2_update

void(* toedev::tod_l2_update) (struct toedev *, struct ifnet *, struct sockaddr *, uint8_t *, uint16_t)

Definition at line 95 of file toecore.h.

Referenced by init_toedev(), and toe_lle_event().

◆ tod_listen_start

int(* toedev::tod_listen_start) (struct toedev *, struct tcpcb *)

Definition at line 60 of file toecore.h.

Referenced by init_toedev(), and toe_listen_start().

◆ tod_listen_stop

int(* toedev::tod_listen_stop) (struct toedev *, struct tcpcb *)

Definition at line 61 of file toecore.h.

Referenced by init_toedev(), and toe_listen_stop_event().

◆ tod_offload_socket

void(* toedev::tod_offload_socket) (struct toedev *, void *, struct socket *)

Definition at line 106 of file toecore.h.

Referenced by init_toedev(), and syncache_socket().

◆ tod_output

int(* toedev::tod_output) (struct toedev *, struct tcpcb *)

Definition at line 80 of file toecore.h.

Referenced by init_toedev(), and tcp_offload_output().

◆ tod_pcb_detach

void(* toedev::tod_pcb_detach) (struct toedev *, struct tcpcb *)

Definition at line 89 of file toecore.h.

Referenced by init_toedev(), tcp_offload_detach(), and toe_connect_failed().

◆ tod_pmtu_update

void(* toedev::tod_pmtu_update) (struct toedev *, struct tcpcb *, tcp_seq, int)

Definition at line 120 of file toecore.h.

Referenced by init_toedev(), and tcp_offload_pmtu_update().

◆ tod_rcvd

void(* toedev::tod_rcvd) (struct toedev *, struct tcpcb *)

Definition at line 74 of file toecore.h.

Referenced by init_toedev(), and tcp_offload_rcvd().

◆ tod_route_redirect

void(* toedev::tod_route_redirect) (struct toedev *, struct ifnet *, struct nhop_object *, struct nhop_object *)

Definition at line 99 of file toecore.h.

Referenced by init_toedev().

◆ tod_send_fin

int(* toedev::tod_send_fin) (struct toedev *, struct tcpcb *)

Definition at line 86 of file toecore.h.

Referenced by init_toedev(), and tcp_offload_output().

◆ tod_send_rst

int(* toedev::tod_send_rst) (struct toedev *, struct tcpcb *)

Definition at line 83 of file toecore.h.

Referenced by init_toedev(), and tcp_offload_output().

◆ tod_softc

void* toedev::tod_softc

Definition at line 50 of file toecore.h.

Referenced by init_toedev().

◆ tod_syncache_added

void(* toedev::tod_syncache_added) (struct toedev *, void *)

Definition at line 103 of file toecore.h.

Referenced by init_toedev(), and syncache_insert().

◆ tod_syncache_removed

void(* toedev::tod_syncache_removed) (struct toedev *, void *)

Definition at line 104 of file toecore.h.

Referenced by init_toedev(), syncache_drop(), and syncache_expand().

◆ tod_syncache_respond

int(* toedev::tod_syncache_respond) (struct toedev *, void *, struct mbuf *)

Definition at line 105 of file toecore.h.

Referenced by init_toedev(), and syncache_respond().

◆ tod_tcp_info

void(* toedev::tod_tcp_info) (struct toedev *, struct tcpcb *, struct tcp_info *)

Definition at line 112 of file toecore.h.

Referenced by init_toedev(), and tcp_offload_tcp_info().


The documentation for this struct was generated from the following file: