#include <stdio.h>
#include <getopt.h>
#include <stdlib.h>
#include <string.h>
#include <netinet/in.h>
#include <libnetfilter_conntrack/libnetfilter_conntrack.h>
#include <libnetfilter_conntrack/libnetfilter_conntrack_sctp.h>
#include "conntrack.h"
Macros | |
#define | IPPROTO_SCTP 132 |
#define | SCTP_OPT_MAX 14 |
#define | SCTP_VALID_FLAGS_MAX 2 |
Enumerations | |
enum | { CT_SCTP_ORIG_SPORT = (1 << 0), CT_SCTP_ORIG_DPORT = (1 << 1), CT_SCTP_REPL_SPORT = (1 << 2), CT_SCTP_REPL_DPORT = (1 << 3), CT_SCTP_MASK_SPORT = (1 << 4), CT_SCTP_MASK_DPORT = (1 << 5), CT_SCTP_STATE = (1 << 6), CT_SCTP_EXPTUPLE_SPORT = (1 << 7), CT_SCTP_EXPTUPLE_DPORT = (1 << 8), CT_SCTP_ORIG_VTAG = (1 << 9), CT_SCTP_REPL_VTAG = (1 << 10) } |
Functions | |
void | register_sctp (void) |
#define IPPROTO_SCTP 132 |
#define SCTP_OPT_MAX 14 |
#define SCTP_VALID_FLAGS_MAX 2 |
anonymous enum |
void register_sctp | ( | void | ) |
References register_proto().
Referenced by main().