~ubuntu-branches/ubuntu/wily/trafficserver/wily

« back to all changes in this revision

Viewing changes to iocore/net/I_Net.h

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2012-12-17 22:28:16 UTC
  • mfrom: (5.1.8 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20121217222816-7xwjsx5k76zkb63d
Tags: 3.2.0-1ubuntu1
* Revert FreeBSD strerror_r() fixes that give errors with glibc 2.16.
* Apply patch from Konstantinos Margaritis to define barriers on ARM.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
#define ACCEPTEX_POOL_SIZE                1
65
65
#endif
66
66
 
67
 
#define NO_FD                             (-1)
 
67
static int const NO_FD = -1;
 
68
 
 
69
static unsigned int const DEFAULT_POLL_TIMEOUT =
 
70
#if defined(solaris)
 
71
                                                  30  /* mseconds */
 
72
#else
 
73
                                                  10  /* mseconds */
 
74
#endif
 
75
  ;
 
76
 
 
77
extern int net_config_poll_timeout;
68
78
 
69
79
#define NET_EVENT_OPEN                    (NET_EVENT_EVENTS_START)
70
80
#define NET_EVENT_OPEN_FAILED             (NET_EVENT_EVENTS_START+1)
91
101
 
92
102
#define ET_NET ET_CALL
93
103
 
94
 
//struct socks_conf_struct;
95
 
#include "I_NetConfig.h"
96
104
#include "I_NetVConnection.h"
97
105
#include "I_NetProcessor.h"
98
 
#include "I_UDPNet.h"
99
106
 
100
107
void ink_net_init(ModuleVersion version);
101
108
#endif