~ps10gel/ubuntu/xenial/trafficserver/6.2.0

« back to all changes in this revision

Viewing changes to iocore/net/I_NetConfig.h

  • Committer: Bazaar Package Importer
  • Author(s): Arno Toell
  • Date: 2011-01-13 11:49:18 UTC
  • Revision ID: james.westby@ubuntu.com-20110113114918-vu422h8dknrgkj15
Tags: upstream-2.1.5-unstable
ImportĀ upstreamĀ versionĀ 2.1.5-unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/** @file
 
2
 
 
3
  A brief file description
 
4
 
 
5
  @section license License
 
6
 
 
7
  Licensed to the Apache Software Foundation (ASF) under one
 
8
  or more contributor license agreements.  See the NOTICE file
 
9
  distributed with this work for additional information
 
10
  regarding copyright ownership.  The ASF licenses this file
 
11
  to you under the Apache License, Version 2.0 (the
 
12
  "License"); you may not use this file except in compliance
 
13
  with the License.  You may obtain a copy of the License at
 
14
 
 
15
      http://www.apache.org/licenses/LICENSE-2.0
 
16
 
 
17
  Unless required by applicable law or agreed to in writing, software
 
18
  distributed under the License is distributed on an "AS IS" BASIS,
 
19
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
20
  See the License for the specific language governing permissions and
 
21
  limitations under the License.
 
22
 */
 
23
 
 
24
#ifndef __I_NETCONFIG_H__
 
25
#define __I_NETCONFIG_H__
 
26
 
 
27
/*
 
28
 * Temporary file specifying all configurable parameters for the
 
29
 * net sub system.
 
30
 * For the default values look at NetConfig.cc
 
31
 */
 
32
#if defined(solaris)
 
33
#define DEFAULT_POLL_TIMEOUT                      30  /* mseconds */
 
34
#else
 
35
#define DEFAULT_POLL_TIMEOUT                      10  /* mseconds */
 
36
#endif
 
37
 
 
38
extern int net_config_poll_timeout;
 
39
extern int net_config_fds_throttle;
 
40
extern int net_config_listen_backlog;
 
41
 
 
42
// SSL config
 
43
extern int net_config_ssl_mode;
 
44
extern int net_config_sslAccelerator;
 
45
extern int net_config_ssl_accept_port_number;
 
46
extern int net_config_clientCertLevel;
 
47
extern const char *net_config_atallaAccelLibPath;
 
48
extern const char *net_config_ncipherAccelLibPath;
 
49
extern const char *net_config_cswiftAccelLibPath;
 
50
extern const char *net_config_serverCertFilename;
 
51
extern const char *net_config_serverCertRelativePath;
 
52
extern const char *net_config_multicert_config_file;
 
53
extern char *net_config_ssl_server_private_key_filename;
 
54
extern char *net_config_ssl_server_private_key_path;
 
55
extern char *net_config_CACertFilename;
 
56
extern char *net_config_CACertRelativePath;
 
57
extern int net_config_clientVerify;
 
58
extern char *net_config_ssl_client_cert_filename;
 
59
extern const char *net_config_ssl_client_cert_path;
 
60
extern char *net_config_ssl_client_private_key_filename;
 
61
extern char *net_config_ssl_client_private_key_path;
 
62
extern char *net_config_clientCACertFilename;
 
63
extern char *net_config_clientCACertRelativePath;
 
64
#endif