57#include <sys/malloc.h>
58#include <sys/module.h>
59#include <sys/kernel.h>
62#include <sys/socketvar.h>
63#include <sys/syslog.h>
80#include <machine/cpufunc.h>
83#define SCTP_PACKED __attribute__((packed))
86#define SCTP_UNUSED __attribute__((unused))
98#define LINK_SCTP IPPROTO_SCTP
101#define SN_TO_GLOBAL 1
102#define SN_TO_NODIR 99
104#define SN_NAT_PKT 0x0000
105#define SN_DROP_PKT 0x0001
106#define SN_PROCESSING_ERROR 0x0003
107#define SN_REPLY_ABORT 0x0010
108#define SN_SEND_ABORT 0x0020
109#define SN_TX_ABORT 0x0030
110#define SN_REFLECT_ERROR 0x0100
111#define SN_REPLY_ERROR 0x0200
112#define SN_TX_ERROR 0x0300
114#define PKT_ALIAS_RESPOND 0x1000
LIST_ENTRY(sctp_GlobalAddress) list_Gaddr
sctp association information
LIST_ENTRY(sctp_nat_assoc) list_L
LIST_ENTRY(sctp_nat_assoc) timer_Q
LIST_ENTRY(sctp_nat_assoc) list_G
LIST_HEAD(sctpGlobalAddresshead, sctp_GlobalAddress) Gaddr
union sctpChunkOfInt sctpchnk
struct sctphdr * sctp_hdr
sctp nat timer queue structure
LIST_HEAD(sctpTimerQ, sctp_nat_assoc) *TimerQ
struct sctp_init_ack * InitAck
struct sctp_paramhdr * Asconf