FreeBSD kernel IPv4 code
tcp_pcap.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void tcp_pcap_init (void)
 
void tcp_pcap_add (struct tcphdr *th, struct mbuf *m, struct mbufq *queue)
 
void tcp_pcap_drain (struct mbufq *queue)
 
void tcp_pcap_tcpcb_init (struct tcpcb *tp)
 
void tcp_pcap_set_sock_max (struct mbufq *queue, int newval)
 
int tcp_pcap_get_sock_max (struct mbufq *queue)
 

Variables

int tcp_pcap_aggressive_free
 

Function Documentation

◆ tcp_pcap_add()

void tcp_pcap_add ( struct tcphdr *  th,
struct mbuf *  m,
struct mbufq *  queue 
)

◆ tcp_pcap_drain()

void tcp_pcap_drain ( struct mbufq *  queue)

Definition at line 426 of file tcp_pcap.c.

References tcp_pcap_m_freem().

Referenced by tcp_discardcb(), and tcp_drain().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tcp_pcap_get_sock_max()

int tcp_pcap_get_sock_max ( struct mbufq *  queue)

Definition at line 449 of file tcp_pcap.c.

Referenced by tcp_default_ctloutput().

Here is the caller graph for this function:

◆ tcp_pcap_init()

void tcp_pcap_init ( void  )

Definition at line 90 of file tcp_pcap.c.

References tcp_pcap_max_set().

Referenced by tcp_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tcp_pcap_set_sock_max()

void tcp_pcap_set_sock_max ( struct mbufq *  queue,
int  newval 
)

Definition at line 441 of file tcp_pcap.c.

References tcp_pcap_m_freem().

Referenced by tcp_default_ctloutput().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tcp_pcap_tcpcb_init()

void tcp_pcap_tcpcb_init ( struct tcpcb tp)

Definition at line 434 of file tcp_pcap.c.

References V_tcp_pcap_packets.

Referenced by tcp_newtcpcb().

Here is the caller graph for this function:

Variable Documentation

◆ tcp_pcap_aggressive_free

int tcp_pcap_aggressive_free
extern

Definition at line 45 of file tcp_pcap.c.

Referenced by tcp_drain().