#include <linux/kernel.h>
#include <linux/kprobes.h>
#include <linux/socket.h>
#include <linux/sctp.h>
#include <linux/proc_fs.h>
#include <linux/vmalloc.h>
#include <linux/module.h>
#include <linux/kfifo.h>
#include <linux/time.h>
#include <net/net_namespace.h>
#include <net/sctp/sctp.h>
#include <net/sctp/sm.h>
Go to the source code of this file.
|
| MODULE_AUTHOR ("Wei Yongjun <[email protected]>") |
|
| MODULE_DESCRIPTION ("SCTP snooper") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_PARM_DESC (port,"Port to match (0=all)") |
|
| module_param (port, int, 0) |
|
| MODULE_PARM_DESC (bufsize,"Log buffer size (default 64k)") |
|
| module_param (bufsize, int, 0) |
|
| MODULE_PARM_DESC (full,"Full log (1=every ack packet received, 0=only cwnd changes)") |
|
| module_param (full, int, 0) |
|
sctp_disposition_t | jsctp_sf_eat_sack (const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) |
|
| module_init (sctpprobe_init) |
|
| module_exit (sctpprobe_exit) |
|
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
MODULE_DESCRIPTION |
( |
"SCTP snooper" |
| ) |
|
module_exit |
( |
sctpprobe_exit |
| ) |
|
module_init |
( |
sctpprobe_init |
| ) |
|
MODULE_PARM_DESC |
( |
port |
, |
|
|
"Port to match (0=all)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
full |
, |
|
|
"Full log (1=every ack packet received, 0=only cwnd changes)" |
|
|
) |
| |