summaryrefslogtreecommitdiff
path: root/lib/util/util_net.c
AgeCommit message (Collapse)AuthorFilesLines
2011-12-16Add support for TCP_DEFER_ACCEPTVolker Lendecke1-0/+3
"man tcp" on Linux says: TCP_DEFER_ACCEPT Allows a listener to be awakened only when data arrives on the socket. Takes an integer value (seconds), this can bound the maximum number of attempts TCP will make to complete the connection. This option should not be used in code intended to be portable. This might reduce the 139/445 forks a bit on high-load servers
2011-11-15s3: allow to set TCP_NODELAYACK socket option on AIXBjörn Jacke1-0/+3
this is the AIX way to disable delayed ACKs, the same like TCP_QUICKACK on Linux Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue Nov 15 21:00:07 CET 2011 on sn-devel-104
2011-09-24net: Don't register link local addresses with DNSKai Blin1-0/+23
2011-08-10libutil: use AI_ADDRCONFIG only when AI_NUMERIC is not definedSimo Sorce1-5/+11
This flag prevents startup w/o ip addresses assigned to any interface. If AI_NUMERIC is passed it should be safe to avoid it. Signed-off-by: Andreas Schneider <asn@samba.org>
2011-07-03S3: Fix some nonempty blank linesVolker Lendecke1-3/+3
2011-06-06util-net: added is_ipaddress_v6()Andrew Tridgell1-3/+12
2011-06-06ipv6: always try to convert as a numeric address firstAndrew Tridgell1-0/+9
This avoids unnecessary name lookups, plus it fixes a problem with using interpret_string_addr*() with the wildcard IPv6 address
2011-05-14Use ZERO_STRUCTP in util_netVolker Lendecke1-2/+2
2011-05-05Clean up some const and other compiler warnings.Jeremy Allison1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 00:59:40 CEST 2011 on sn-devel-104
2011-05-03lib/util Move set_socket_options() into common code.Andrew Bartlett1-0/+161
2011-05-03lib/util Move more network utility functions from source3 into lib/utilAndrew Bartlett1-0/+155
This will help with the merge of the interfaces layer. Andrew Bartlett
2011-02-27s3: Make is_zero_addr take a sockaddr_storageVolker Lendecke1-3/+3
All callers had to cast this anyway Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104
2010-12-17util_net: fix a comment typo in interpret_string_addr_internal()Michael Adam1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-26libutil: moved the networking defines to util_net.hAndrew Tridgell1-0/+1
These were causing thousands of warnings on solaris8
2010-02-13use ZERO_STRUCTVolker Lendecke1-1/+2
2010-02-13Use ZERO_STRUCTPVolker Lendecke1-1/+1
2010-02-13s3: Fix a typoVolker Lendecke1-1/+1
2009-09-15libcli:nbt make the lmhosts parsing code and dependicies commonAndrew Bartlett1-1/+117
This starts the process to have Samba4 use lmhosts. Andrew Bartlett
2008-12-03s3: Change sockaddr util function names for consistencyTim Prouty1-1/+1
Also eliminates name conflicts with OneFS system libraries
2008-10-23Move set_sockaddr_port to libutil.Jelmer Vernooij1-0/+14
2008-10-23Use common net utility code (address and sockaddr manipulation).Jelmer Vernooij1-43/+322
2008-10-23Rename same_net to same_net_v4 for consistency with Samba 3.Jelmer Vernooij1-1/+1
2008-10-18Fix const, dupes.Jelmer Vernooij1-0/+3
2008-10-18Use shared util.c.Jelmer Vernooij1-0/+128