FreeBSD kernel IPv4 code
sctp_peeloff.h File Reference
#include <sys/cdefs.h>
Include dependency graph for sctp_peeloff.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _NETINET_SCTP_PEELOFF_H_
 

Functions

 __FBSDID ("$FreeBSD$")
 
int sctp_can_peel_off (struct socket *, sctp_assoc_t)
 
int sctp_do_peeloff (struct socket *, struct socket *, sctp_assoc_t)
 

Macro Definition Documentation

◆ _NETINET_SCTP_PEELOFF_H_

#define _NETINET_SCTP_PEELOFF_H_

Definition at line 39 of file sctp_peeloff.h.

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )

◆ sctp_can_peel_off()

int sctp_can_peel_off ( struct socket *  head,
sctp_assoc_t  assoc_id 
)

Definition at line 51 of file sctp_peeloff.c.

References sctp_inpcb::inp, sctp_findassociation_ep_asocid(), SCTP_FROM_SCTP_PEELOFF, SCTP_GET_STATE, SCTP_LTRACE_ERR_RET, SCTP_PCB_FLAGS_IN_TCPPOOL, SCTP_PCB_FLAGS_TCPTYPE, SCTP_STATE_EMPTY, SCTP_STATE_INUSE, SCTP_TCB_UNLOCK, and state.

Referenced by sys_sctp_peeloff().

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

◆ sctp_do_peeloff()