struct sctp_nat_msg {
uint16_t msg; /**< one of the key messages defined above */
#if defined(INET6) && !defined(LAZYBSD)
// struct ip6_hdr *ip_hdr; /**< pointer to ip packet header */ /*no inet6 support yet*/
#else
struct ip *ip_hdr; /**< pointer to ip packet header */
#endif //#ifdef INET6
struct sctphdr *sctp_hdr; /**< pointer to sctp common header */
union sctpChunkOfInt sctpchnk; /**< union of pointers to the chunk of interest */
int chunk_length; /**< length of chunk of interest */
};
lazybsd补丁文件分析
使用
HAVE_LAZYBSD
配置功能alias_sctp.h头文件
system.h头文件
临界区