#ifndef __NETNS_SCTP_H__ #define __NETNS_SCTP_H__ struct sock; struct proc_dir_entry; struct sctp_mib; struct ctl_table_header; struct netns_sctp { DEFINE_SNMP_STAT(struct sctp_mib, sctp_statistics); #ifdef CONFIG_PROC_FS struct proc_dir_entry *proc_net_sctp; #endif #ifdef CONFIG_SYSCTL struct ctl_table_header *sysctl_header; #endif /* This is the global socket data structure used for responding to * the Out-of-the-blue (OOTB) packets. A control sock will be created * for this socket at the initialization time. */ struct sock *ctl_sock; /* This is the global local address list. * We actively maintain this complete list of addresses on * the system by catching address add/delete events. * * It is a list of sctp_sockaddr_entry. */ struct list_head local_addr_list; struct list_head addr_waitq; struct timer_list addr_wq_timer; struct list_head auto_asconf_splist; /* Lock that protects both addr_waitq and auto_asconf_splist */ spinlock_t addr_wq_lock; /* Lock that protects the local_addr_list writers */ spinlock_t local_addr_lock; /* RFC2960 Section 14. Suggested SCTP Protocol Parameter Values * * The following protocol parameters are RECOMMENDED: * * RTO.Initial - 3 seconds * RTO.Min - 1 second * RTO.Max - 60 seconds * RTO.Alpha - 1/8 (3 when converted to right shifts.) * RTO.Beta - 1/4 (2 when converted to right shifts.) */ unsigned int rto_initial; unsigned int rto_min; unsigned int rto_max; /* Note: rto_alpha and rto_beta are really defined as inverse * powers of two to facilitate integer operations. */ int rto_alpha; int rto_beta; /* Max.Burst - 4 */ int max_burst; /* Whether Cookie Preservative is enabled(1) or not(0) */ int cookie_preserve_enable; /* The namespace default hmac alg */ char *sctp_hmac_alg; /* Valid.Cookie.Life - 60 seconds */ unsigned int valid_cookie_life; /* Delayed SACK timeout 200ms default*/ unsigned int sack_timeout; /* HB.interval - 30 seconds */ unsigned int hb_interval; /* Association.Max.Retrans - 10 attempts * Path.Max.Retrans - 5 attempts (per destination address) * Max.Init.Retransmits - 8 attempts */ int max_retrans_association; int max_retrans_path; int max_retrans_init; /* Potentially-Failed.Max.Retrans sysctl value * taken from: * http://tools.ietf.org/html/draft-nishida-tsvwg-sctp-failover-05 */ int pf_retrans; /* * Disable Potentially-Failed feature, the feature is enabled by default * pf_enable - 0 : disable pf * - >0 : enable pf */ int pf_enable; /* * Policy for preforming sctp/socket accounting * 0 - do socket level accounting, all assocs share sk_sndbuf * 1 - do sctp accounting, each asoc may use sk_sndbuf bytes */ int sndbuf_policy; /* * Policy for preforming sctp/socket accounting * 0 - do socket level accounting, all assocs share sk_rcvbuf * 1 - do sctp accounting, each asoc may use sk_rcvbuf bytes */ int rcvbuf_policy; int default_auto_asconf; /* Flag to indicate if addip is enabled. */ int addip_enable; int addip_noauth; /* Flag to indicate if PR-SCTP is enabled. */ int prsctp_enable; /* Flag to indicate if PR-CONFIG is enabled. */ int reconf_enable; /* Flag to idicate if SCTP-AUTH is enabled */ int auth_enable; /* * Policy to control SCTP IPv4 address scoping * 0 - Disable IPv4 address scoping * 1 - Enable IPv4 address scoping * 2 - Selectively allow only IPv4 private addresses * 3 - Selectively allow only IPv4 link local address */ int scope_policy; /* Threshold for rwnd update SACKS. Receive buffer shifted this many * bits is an indicator of when to send and window update SACK. */ int rwnd_upd_shift; /* Threshold for autoclose timeout, in seconds. */ unsigned long max_autoclose; }; #endif /* __NETNS_SCTP_H__ */ rivate-remove&id=b4c4ebcf3ca22bf9b04fa9c6ccfbfdfe0a256d07'>plain -rw-r--r--aci.h2419logplain -rw-r--r--ad1816a.h5514logplain -rw-r--r--ad1843.h1516logplain -rw-r--r--adau1373.h699logplain -rw-r--r--aess.h1668logplain -rw-r--r--ak4113.h11112logplain -rw-r--r--ak4114.h10424logplain -rw-r--r--ak4117.h9193logplain -rw-r--r--ak4531_codec.h3173logplain -rw-r--r--ak4641.h622logplain -rw-r--r--ak4xxx-adda.h3416logplain -rw-r--r--alc5623.h497logplain -rw-r--r--asequencer.h3670logplain -rw-r--r--asound.h1285logplain -rw-r--r--asoundef.h17098logplain -rw-r--r--atmel-abdac.h639logplain -rw-r--r--atmel-ac97c.h1342logplain -rw-r--r--compress_driver.h6772logplain -rw-r--r--control.h8704logplain -rw-r--r--core.h14380logplain -rw-r--r--cs35l33.h1034logplain -rw-r--r--cs35l34.h887logplain -rw-r--r--cs4231-regs.h8480logplain -rw-r--r--cs4271.h1417logplain -rw-r--r--cs42l52.h738logplain -rw-r--r--cs42l56.h1192logplain -rw-r--r--cs42l73.h507logplain -rw-r--r--cs8403.h8833logplain -rw-r--r--cs8427.h10649logplain -rw-r--r--da7213.h1178logplain -rw-r--r--da7218.h2681logplain -rw-r--r--da7219-aad.h2476logplain -rw-r--r--da7219.h1064logplain -rw-r--r--da9055.h914logplain -rw-r--r--designware_i2s.h2249logplain -rw-r--r--dmaengine_pcm.h6157logplain -rw-r--r--emu10k1.h91396logplain -rw-r--r--emu10k1_synth.h1382logplain -rw-r--r--emu8000.h4109logplain -rw-r--r--emu8000_reg.h10459logplain -rw-r--r--emux_legacy.h5503logplain -rw-r--r--emux_synth.h7649logplain -rw-r--r--es1688.h3618logplain -rw-r--r--gus.h20691logplain -rw-r--r--hda_chmap.h2621logplain -rw-r--r--hda_hwdep.h1412logplain -rw-r--r--hda_i915.h1645logplain -rw-r--r--hda_register.h9475logplain -rw-r--r--hda_regmap.h6714logplain -rw-r--r--hda_verbs.h17130logplain -rw-r--r--hdaudio.h18455logplain -rw-r--r--hdaudio_ext.h7119logplain -rw-r--r--hdmi-codec.h2290logplain -rw-r--r--hwdep.h2624logplain -rw-r--r--i2c.h3555logplain -rw-r--r--info.h7584logplain