Home
last modified time | relevance | path

Searched refs:VNET_DEFINE (Results 1 – 25 of 94) sorted by relevance

1234

/freebsd-10-stable/sys/netinet6/
Din6_proto.c415 VNET_DEFINE(int, ip6_forwarding) = IPV6FORWARDING; /* act as router? */
416 VNET_DEFINE(int, ip6_sendredirects) = IPV6_SENDREDIRECTS;
417 VNET_DEFINE(int, ip6_defhlim) = IPV6_DEFHLIM;
418 VNET_DEFINE(int, ip6_defmcasthlim) = IPV6_DEFAULT_MULTICAST_HOPS;
419 VNET_DEFINE(int, ip6_accept_rtadv) = 0;
420 VNET_DEFINE(int, ip6_no_radr) = 0;
421 VNET_DEFINE(int, ip6_norbit_raif) = 0;
422 VNET_DEFINE(int, ip6_rfc6204w3) = 0;
423 VNET_DEFINE(int, ip6_maxfragpackets); /* initialized in frag6.c:frag6_init() */
424 VNET_DEFINE(int, ip6_maxfrags); /* initialized in frag6.c:frag6_init() */
[all …]
Dnd6.c90 VNET_DEFINE(int, nd6_prune) = 1; /* walk list every 1 seconds */
91 VNET_DEFINE(int, nd6_delay) = 5; /* delay first probe time 5 second */
92 VNET_DEFINE(int, nd6_umaxtries) = 3; /* maximum unicast query */
93 VNET_DEFINE(int, nd6_mmaxtries) = 3; /* maximum multicast query */
94 VNET_DEFINE(int, nd6_useloopback) = 1; /* use loopback interface for
96 VNET_DEFINE(int, nd6_gctimer) = (60 * 60 * 24); /* 1 day: garbage
100 static VNET_DEFINE(int, nd6_maxndopt) = 10; /* max # of ND options allowed */
102 VNET_DEFINE(int, nd6_maxnudhint) = 0; /* max # of subsequent upper
104 static VNET_DEFINE(int, nd6_maxqueuelen) = 1; /* max pkts cached in unresolved
110 VNET_DEFINE(int, nd6_debug) = 1;
[all …]
Dscope6.c56 VNET_DEFINE(int, ip6_use_defzone) = 1;
58 VNET_DEFINE(int, ip6_use_defzone) = 0;
60 VNET_DEFINE(int, deembed_scopeid) = 1;
76 static VNET_DEFINE(struct scope6_id, sid_default);
Din6_rmx.c173 static VNET_DEFINE(int, rtq_toomany6) = 128;
196 static VNET_DEFINE(struct callout, rtq_mtutimer);
261 static VNET_DEFINE(int, _in6_rt_was_here);
/freebsd-10-stable/sys/netinet/
Dtcp_fastopen.c145 static VNET_DEFINE(int, tcp_fastopen_acceptany) = 0;
151 static VNET_DEFINE(unsigned int, tcp_fastopen_autokey) = 120;
159 VNET_DEFINE(unsigned int, tcp_fastopen_enabled) = 0;
174 static VNET_DEFINE(unsigned int, tcp_fastopen_numkeys) = 0;
186 static VNET_DEFINE(struct rmlock, tcp_fastopen_keylock);
194 static VNET_DEFINE(struct tcp_fastopen_keylist, tcp_fastopen_keys);
197 static VNET_DEFINE(struct tcp_fastopen_callout, tcp_fastopen_autokey_ctx);
200 static VNET_DEFINE(uma_zone_t, counter_zone);
Dip_input.c93 VNET_DEFINE(int, rsvp_on);
95 VNET_DEFINE(int, ipforwarding);
100 static VNET_DEFINE(int, ipsendredirects) = 1; /* XXX */
106 static VNET_DEFINE(int, ip_keepfaith);
112 static VNET_DEFINE(int, ip_sendsourcequench);
118 VNET_DEFINE(int, ip_do_randomid);
136 static VNET_DEFINE(int, ip_checkinterface);
142 VNET_DEFINE(struct pfil_head, inet_pfil_hook); /* Packet filter hooks */
154 VNET_DEFINE(struct in_ifaddrhead, in_ifaddrhead); /* first inet address */
155 VNET_DEFINE(struct in_ifaddrhashhead *, in_ifaddrhashtbl); /* inet addr hash table */
[all …]
Dip_icmp.c77 static VNET_DEFINE(int, icmplim) = 200;
83 static VNET_DEFINE(int, icmplim_output) = 1;
99 static VNET_DEFINE(int, icmpmaskrepl) = 0;
105 static VNET_DEFINE(u_int, icmpmaskfake) = 0;
111 VNET_DEFINE(int, drop_redirect) = 0;
113 static VNET_DEFINE(int, log_redirect) = 0;
119 static VNET_DEFINE(char, reply_src[IFNAMSIZ]);
125 static VNET_DEFINE(int, icmp_rfi) = 0;
131 static VNET_DEFINE(int, icmp_quotelen) = 8;
140 static VNET_DEFINE(int, icmpbmcastecho) = 0;
[all …]
Din_rmx.c124 static VNET_DEFINE(int, rtq_reallyold) = 60*60; /* one hour is "really old" */
131 static VNET_DEFINE(int, rtq_minreallyold) = 10;
138 static VNET_DEFINE(int, rtq_toomany) = 128;
228 static VNET_DEFINE(int, rtq_timeout) = RTQ_TIMEOUT;
229 static VNET_DEFINE(struct callout, rtq_timer);
Dip_mroute.c125 static VNET_DEFINE(uint32_t, last_tv_sec); /* last time we processed this */
156 static VNET_DEFINE(u_long, mfchash);
164 static VNET_DEFINE(u_char *, nexpire); /* 0..mfchashsize-1 */
166 static VNET_DEFINE(LIST_HEAD(mfchashhdr, mfc)*, mfchashtbl);
177 static VNET_DEFINE(vifi_t, numvifs);
179 static VNET_DEFINE(struct vif, viftable[MAXVIFS]);
195 static VNET_DEFINE(struct callout, expire_upcalls_ch);
210 static VNET_DEFINE(struct bw_meter*, bw_meter_timers[BW_METER_BUCKETS]);
212 static VNET_DEFINE(struct callout, bw_meter_ch);
220 static VNET_DEFINE(struct bw_upcall, bw_upcalls[BW_UPCALLS_MAX]);
[all …]
Din_pcb.c106 VNET_DEFINE(int, ipport_lowfirstauto) = IPPORT_RESERVED - 1; /* 1023 */
107 VNET_DEFINE(int, ipport_lowlastauto) = IPPORT_RESERVEDSTART; /* 600 */
108 VNET_DEFINE(int, ipport_firstauto) = IPPORT_EPHEMERALFIRST; /* 10000 */
109 VNET_DEFINE(int, ipport_lastauto) = IPPORT_EPHEMERALLAST; /* 65535 */
110 VNET_DEFINE(int, ipport_hifirstauto) = IPPORT_HIFIRSTAUTO; /* 49152 */
111 VNET_DEFINE(int, ipport_hilastauto) = IPPORT_HILASTAUTO; /* 65535 */
118 VNET_DEFINE(int, ipport_reservedhigh) = IPPORT_RESERVED - 1; /* 1023 */
119 VNET_DEFINE(int, ipport_reservedlow);
122 VNET_DEFINE(int, ipport_randomized) = 1; /* user controlled via sysctl */
123 VNET_DEFINE(int, ipport_randomcps) = 10; /* user controlled via sysctl */
[all …]
Dtcp_timer.c139 static VNET_DEFINE(int, tcp_pmtud_blackhole_detect);
146 static VNET_DEFINE(int, tcp_pmtud_blackhole_activated);
154 static VNET_DEFINE(int, tcp_pmtud_blackhole_activated_min_mss);
162 static VNET_DEFINE(int, tcp_pmtud_blackhole_failed);
170 static VNET_DEFINE(int, tcp_pmtud_blackhole_mss) = 1200;
179 static VNET_DEFINE(int, tcp_v6pmtud_blackhole_mss) = 1220;
Dtcp_input.c134 VNET_DEFINE(int, blackhole) = 0;
140 VNET_DEFINE(int, tcp_delack_enabled) = 1;
145 VNET_DEFINE(int, drop_synfin) = 0;
151 VNET_DEFINE(int, tcp_do_rfc6675_pipe) = 0;
156 VNET_DEFINE(int, tcp_do_rfc3042) = 1;
162 VNET_DEFINE(int, tcp_do_rfc3390) = 1;
170 VNET_DEFINE(int, tcp_do_initcwnd10) = 1;
175 VNET_DEFINE(int, tcp_do_rfc3465) = 1;
180 VNET_DEFINE(int, tcp_abc_l_var) = 2;
187 VNET_DEFINE(int, tcp_do_ecn) = 2;
[all …]
Dip_ipsec.c74 static VNET_DEFINE(int, ip4_ipsec_filtertunnel) = 1;
76 static VNET_DEFINE(int, ip4_ipsec_filtertunnel) = 0;
Dtcp_subr.c123 VNET_DEFINE(int, tcp_mssdflt) = TCP_MSS;
125 VNET_DEFINE(int, tcp_v6mssdflt) = TCP6_MSS;
180 VNET_DEFINE(int, tcp_minmss) = TCP_MINMSS;
185 VNET_DEFINE(int, tcp_do_rfc1323) = 1;
205 static VNET_DEFINE(int, icmp_may_rst) = 1;
211 static VNET_DEFINE(int, tcp_isn_reseed_interval) = 0;
227 VNET_DEFINE(uma_zone_t, sack_hole_zone);
230 VNET_DEFINE(struct hhook_head *, tcp_hhh[HHOOK_TCP_LAST+1]);
261 static VNET_DEFINE(uma_zone_t, tcpcb_zone);
1824 static VNET_DEFINE(u_char, isn_secret[32]);
[all …]
Dtcp_sack.c129 VNET_DEFINE(int, tcp_do_sack) = 1;
134 VNET_DEFINE(int, tcp_sack_maxholes) = 128;
140 VNET_DEFINE(int, tcp_sack_globalmaxholes) = 65536;
146 VNET_DEFINE(int, tcp_sack_globalholes) = 0;
Dtcp_timewait.c93 static VNET_DEFINE(uma_zone_t, tcptw_zone);
108 static VNET_DEFINE(TAILQ_HEAD(, tcptw), twq_2msl);
112 static VNET_DEFINE(struct rwlock, tw_lock);
169 VNET_DEFINE(int, nolocaltimewait) = 0;
Draw_ip.c78 VNET_DEFINE(int, ip_defttl) = IPDEFTTL;
83 VNET_DEFINE(struct inpcbhead, ripcb);
84 VNET_DEFINE(struct inpcbinfo, ripcbinfo);
94 VNET_DEFINE(ip_fw_chk_ptr_t, ip_fw_chk_ptr) = NULL;
95 VNET_DEFINE(ip_fw_ctl_ptr_t, ip_fw_ctl_ptr) = NULL;
112 VNET_DEFINE(struct socket *, ip_mrouter);
/freebsd-10-stable/sys/netipsec/
Dipsec.c100 VNET_DEFINE(int, ipsec_debug) = 1;
102 VNET_DEFINE(int, ipsec_debug) = 0;
113 VNET_DEFINE(int, ip4_ah_offsetmask) = 0; /* maybe IP_DF? */
115 VNET_DEFINE(int, ip4_ipsec_dfbit) = 0;
116 VNET_DEFINE(int, ip4_esp_trans_deflev) = IPSEC_LEVEL_USE;
117 VNET_DEFINE(int, ip4_esp_net_deflev) = IPSEC_LEVEL_USE;
118 VNET_DEFINE(int, ip4_ah_trans_deflev) = IPSEC_LEVEL_USE;
119 VNET_DEFINE(int, ip4_ah_net_deflev) = IPSEC_LEVEL_USE;
120 VNET_DEFINE(struct secpolicy, ip4_def_policy);
122 VNET_DEFINE(int, ip4_ipsec_ecn) = 0;
[all …]
/freebsd-10-stable/sys/netpfil/ipfw/
Dip_fw_dynamic.c122 static VNET_DEFINE(struct ipfw_dyn_bucket *, ipfw_dyn_v);
123 static VNET_DEFINE(u_int32_t, dyn_buckets_max);
124 static VNET_DEFINE(u_int32_t, curr_dyn_buckets);
125 static VNET_DEFINE(struct callout, ipfw_timeout);
131 static VNET_DEFINE(uma_zone_t, ipfw_dyn_rule_zone);
145 static VNET_DEFINE(u_int32_t, dyn_ack_lifetime);
146 static VNET_DEFINE(u_int32_t, dyn_syn_lifetime);
147 static VNET_DEFINE(u_int32_t, dyn_fin_lifetime);
148 static VNET_DEFINE(u_int32_t, dyn_rst_lifetime);
149 static VNET_DEFINE(u_int32_t, dyn_udp_lifetime);
[all …]
Dip_fw2.c106 static VNET_DEFINE(int, ipfw_vnet_ready) = 0;
109 static VNET_DEFINE(int, fw_deny_unknown_exthdrs);
112 static VNET_DEFINE(int, fw_permit_single_frag6) = 1;
121 VNET_DEFINE(int, autoinc_step);
122 VNET_DEFINE(int, fw_one_pass) = 1;
124 VNET_DEFINE(unsigned int, fw_tables_max);
137 VNET_DEFINE(u_int32_t, set_disable);
140 VNET_DEFINE(int, fw_verbose);
142 VNET_DEFINE(u_int64_t, norule_counter);
143 VNET_DEFINE(int, verbose_limit);
[all …]
/freebsd-10-stable/sys/netinet/cc/
Dcc_cdg.c207 static VNET_DEFINE(uint32_t, cdg_alpha_inc);
208 static VNET_DEFINE(uint32_t, cdg_beta_delay);
209 static VNET_DEFINE(uint32_t, cdg_beta_loss);
210 static VNET_DEFINE(uint32_t, cdg_smoothing_factor);
211 static VNET_DEFINE(uint32_t, cdg_exp_backoff_scale);
212 static VNET_DEFINE(uint32_t, cdg_consec_cong);
213 static VNET_DEFINE(uint32_t, cdg_hold_backoff);
Dcc_hd.c91 static VNET_DEFINE(uint32_t, hd_qthresh) = 20;
92 static VNET_DEFINE(uint32_t, hd_qmin) = 5;
93 static VNET_DEFINE(uint32_t, hd_pmax) = 5;
Dcc_chd.c119 static VNET_DEFINE(uint32_t, chd_qmin) = 5;
120 static VNET_DEFINE(uint32_t, chd_pmax) = 50;
121 static VNET_DEFINE(uint32_t, chd_loss_fair) = 1;
122 static VNET_DEFINE(uint32_t, chd_use_max) = 1;
123 static VNET_DEFINE(uint32_t, chd_qthresh) = 20;
/freebsd-10-stable/sys/netpfil/pf/
Dpf_if.c50 VNET_DEFINE(struct pfi_kif *, pfi_all);
51 static VNET_DEFINE(long, pfi_update);
55 static VNET_DEFINE(struct pfr_addr *, pfi_buffer);
56 static VNET_DEFINE(int, pfi_buffer_cnt);
57 static VNET_DEFINE(int, pfi_buffer_max);
91 static VNET_DEFINE(struct pfi_ifhead, pfi_ifs);
98 static VNET_DEFINE(struct pfi_list, pfi_unlinked_kifs);
/freebsd-10-stable/sys/net/
Dif_gif.c102 static VNET_DEFINE(struct mtx, gif_mtx);
105 static VNET_DEFINE(LIST_HEAD(, gif_softc), gif_softc_list);
130 static VNET_DEFINE(struct if_clone *, gif_cloner);
149 static VNET_DEFINE(int, max_gif_nesting) = MAX_GIF_NEST;
160 static VNET_DEFINE(int, parallel_tunnels) = 1;
162 static VNET_DEFINE(int, parallel_tunnels) = 0;

1234