FreeBSD kernel IPv4 code
|
#include <sys/cdefs.h>
#include <netinet/sctp_os.h>
#include <netinet/sctp_pcb.h>
#include <netinet/sctputil.h>
#include <netinet/sctp_var.h>
#include <netinet/sctp_sysctl.h>
#include <netinet/sctp.h>
#include <netinet/sctp_uio.h>
#include <netinet/sctp_peeloff.h>
#include <netinet/sctp_auth.h>
Go to the source code of this file.
Functions | |
__FBSDID ("$FreeBSD$") | |
int | sctp_can_peel_off (struct socket *head, sctp_assoc_t assoc_id) |
int | sctp_do_peeloff (struct socket *head, struct socket *so, sctp_assoc_t assoc_id) |
__FBSDID | ( | "$FreeBSD$" | ) |
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().
int sctp_do_peeloff | ( | struct socket * | head, |
struct socket * | so, | ||
sctp_assoc_t | assoc_id | ||
) |
Definition at line 89 of file sctp_peeloff.c.
References sctp_inpcb::asconf_supported, sctp_tcb::asoc, sctp_inpcb::auth_supported, sctp_inpcb::ecn_supported, sctp_inpcb::inp, sctp_pcb::local_auth_chunks, sctp_pcb::local_hmacs, sctp_inpcb::local_strreset_support, sctp_inpcb::max_cwnd, sctp_inpcb::nrsack_supported, sctp_inpcb::partial_delivery_point, sctp_inpcb::pktdrop_supported, sctp_inpcb::prsctp_supported, sctp_inpcb::reconfig_supported, sctp_association::refcnt, sctp_inpcb::sctp_cmt_on_off, sctp_inpcb::sctp_context, sctp_copy_chunklist(), sctp_copy_hmaclist(), sctp_copy_skeylist(), sctp_inpcb::sctp_ep, sctp_inpcb::sctp_features, sctp_findassociation_ep_asocid(), sctp_inpcb::sctp_flags, sctp_inpcb::sctp_frag_point, sctp_free_chunklist(), sctp_free_hmaclist(), SCTP_FROM_SCTP_PEELOFF, SCTP_GET_STATE, SCTP_LTRACE_ERR_RET, sctp_inpcb::sctp_mobility_features, sctp_move_pcb_and_assoc(), SCTP_PCB_COPY_FLAGS, SCTP_PCB_FLAGS_CONNECTED, SCTP_PCB_FLAGS_IN_TCPPOOL, SCTP_PCB_FLAGS_UDPTYPE, sctp_pull_off_control_to_new_inp(), sctp_inpcb::sctp_socket, SCTP_STATE_EMPTY, SCTP_STATE_INUSE, SCTP_TCB_UNLOCK, sctp_pcb::shared_keys, and state.
Referenced by sys_sctp_peeloff().