summaryrefslogtreecommitdiff
path: root/include/asterisk/network.h
AgeCommit message (Collapse)Author
2017-03-20thread safety: Don't use getprotobyname()Sean Bright
POSIX does not require getprotobyname() to be thread safe and some implementations use static memory which causes issues when multiple threads are used. Further, our usage of it today is just to ultimately get IPPROTO_TCP for calls to setsockopt(). So instead we just use IPPROTO_TCP directly. Change-Id: I2e14e58674808f7ce99b2f5e900d0f90d0d8da48
2008-06-12Get default entity ID determination working on Linux againRussell Bryant
(closes issue #12839) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@122241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-08some platforms (e.g. FreeBSD4) need netinet/in.h to be includedLuigi Rizzo
before arpa/inet.h git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17Use autoconf logic to determine the presence of ↵Joshua Colp
PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP and PTHREAD_MUTEX_RECURSIVE_NP. Enclose error message from network.h in " git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17prefer socket.h over other variants (winsock etc.)Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17wrapper for all generic network headers that have different namesLuigi Rizzo
and locations on the various systems. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89379 65c4cc65-6c06-0410-ace0-fbb531ad65f3