summaryrefslogtreecommitdiffstats
path: root/source3/lib/socket_wrapper
Commit message (Collapse)AuthorAgeFilesLines
* Use single copy of socket_wrapper in Samba 3 and Samba 4.Jelmer Vernooij2008-09-165-2112/+0
|
* Fix warnings on FreeBSD-based platformsZach Loafman2008-07-221-19/+19
| | | | | | | Fix two shadowed declaration warnings on FreeBSD-based platform: 'reboot' is a 4.0BSD syscall in unistd.h and 'tcp_seq' is a typedef in netinet/tcp.h. (This used to be commit 14d2a4da1da38d6f69c63505d35990322f253e5d)
* socket_wrapper: truncate packets to a 1500 byte payloadStefan Metzmacher2008-06-101-0/+8
| | | | | | | | | | Truncate sendto(), recvfrom(), send() and recv() to 1500 bytes so that're getting a correctly formatted pcap file and the result look more like real network traffic. metze (cherry picked from commit 5b01206f1bb2e62c08bda34b45904ec4f83ac5de) (This used to be commit eb8c37a1ca97b41de00ec937a90bfdbe9cd21531)
* socket_wrapper: sync missing stuff from v4-0-testStefan Metzmacher2008-06-105-8/+17
| | | | | metze (This used to be commit b03c2793548834a1dc0483b03081d872ab1e17f0)
* Factor out IP marshalling into separate function.Jelmer Vernooij2008-06-101-36/+43
| | | | | (cherry picked from commit 2548c2a1e7dab8abc00f8f49374a08cc0b427552) (This used to be commit e4e015caac88f6e31ca6d8fcda5a97a11aee226d)
* r25783: socket_wrapper: don't include "includes.h"Stefan Metzmacher2008-06-101-12/+5
| | | | | | metze (cherry picked from commit 47f865165e772540334dcbcf80cfc1999b0132fa) (This used to be commit 4d5bfcc731b44267e2c30fccdca72b6058b16bfb)
* r23420: try to make the IBM checker happyStefan Metzmacher2008-06-101-3/+8
| | | | | | metze (cherry picked from commit 96f1a0dfaa18a432fca4b5432d929d8daed0abb1) (This used to be commit 801ed0b79956133f2baa6b2db4a7dd5a68060edc)
* r22236: Update to Heimdal's socket_wrapper, which supports IPv6.Stefan Metzmacher2008-06-101-161/+391
| | | | | | | | | | | To make this pass, I needed to add support for 6 and 17 as valid protocol values to socket(). Andrew Bartlett (partly cherry picked from commit 2254e61a1e5b29a64c5a24aac029ace193057e24) metze (This used to be commit 66b9f6f3722defd0863b055916b302478715704b)
* r21729: Some more testsJelmer Vernooij2008-06-102-6/+29
| | | | | (cherry picked from commit d2baa8218cf504d6631d610f9fd393ad8c61574c) (This used to be commit cf6d815ba82a25c1e1f1dfdb8548cc588d44d1aa)
* r21671: Add initial simple tests for socket wrapperStefan Metzmacher2008-06-103-1/+84
| | | | | | | (partly cherry picked from commit 872e2ad541478597191ca9e31872d5c8e2bbb832) metze (This used to be commit 8003f00a28bb7237ec1b1f4eb9687c542a86c2b2)
* r19409: Pull in <sys/time.h> for struct timeval for non samba build (don'tLove Hörnquist Åstrand2008-06-101-0/+1
| | | | | | depend on namespace pollution) (cherry picked from commit 5052d2d10693e67f1b7c6c71277c8d1bc9c8b612) (This used to be commit d22701b196bded3294776b144a7a990de23741e9)
* r19367: Solaris needs <sys/filio.h> for FIONREAD.Love Hörnquist Åstrand2008-06-101-0/+1
| | | | | (cherry picked from commit e2866ce78851a84c937408c0781fcc1e7107f663) (This used to be commit 3db8b246c8abfc4efed08d7630e61a81b9d8bf48)
* socket_wrapper: make pcap code more portableStefan Metzmacher2008-03-171-39/+40
| | | | | | | | Now the pcap support works on x86_64. metze (cherry picked from commit 61a87bed61ef661d98131239976be95c6a8b4d96) (This used to be commit c22204aa85d4bb33534b6974dcfed9aad0c28cc4)
* Fix initialization warnings.Jeremy Allison2007-12-211-1/+1
| | | | | Jeremy. (This used to be commit 832c093830cb3978641be3d87670fa900105da25)
* Some C++ warningsVolker Lendecke2007-12-211-2/+2
| | | | (This used to be commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)
* r19179: remove difference with samba4Stefan Metzmacher2007-10-101-0/+4
| | | | | metze (This used to be commit e97e1ffea8e124c8001cf33ecac7500ae875f42f)
* r19177: merge from samba4:Stefan Metzmacher2007-10-101-9/+34
| | | | | | | | fix the standalone build of socket_wrapper by not using samba's DLIST_ macros metze (This used to be commit bc7b2e8db8fb34d6f321cd6b13b74e58945d7124)
* r19172: merge from samba4:Stefan Metzmacher2007-10-102-36/+72
| | | | | | | | change the socket wrapper license to what heimdal uses... metze (This used to be commit d19c19ae4be3f3ad349b72ba3181051bb4da335e)
* r19126: Fix some uninitialized variable warningsVolker Lendecke2007-10-101-4/+7
| | | | (This used to be commit 90bfa3461038f5d179525dec0cf5b3f137e927e0)
* r19099: merge socket wrapper changes from samba4Stefan Metzmacher2007-10-101-14/+306
| | | | | | | | | | including SOCKET_WRAPPER_PCAP_FILE support but I just noticed that samba don't use recv()/send() on the socket, so the capture only contain connect()/close() metze (This used to be commit b894e33023738b5d6121c56e9c0b34b12f3e0005)
* r19085: merge from samba4:Stefan Metzmacher2007-10-101-0/+242
| | | | | | | | - source and destination address handling - tcp handling metze (This used to be commit 98154fd43350f3edae54423756620a48e089f96d)
* r18993: merge from samba4:Stefan Metzmacher2007-10-101-29/+83
| | | | | | | prepare SOCKET_WRAPPER_PCAP_FILE support metze (This used to be commit 372471cbad34b1d0d2159e75994c481de6eaed05)
* r18953: sync socket_wrapper with samba4Stefan Metzmacher2007-10-102-0/+42
| | | | | metze (This used to be commit 77b0af43f0f7e52b9040a1d3edfb556a232e64f1)
* r18920: merge socket_wrapper changes from samba4Stefan Metzmacher2007-10-101-21/+58
| | | | | metze (This used to be commit b36d47c698b01a577af04205c9bdf0d588bd20e6)
* r18661: C++ warningsVolker Lendecke2007-10-101-2/+2
| | | | (This used to be commit 6004b8025de3207f5af2d62087ec13c5e444fec7)
* r18646: now we can have the socket_wrapper.c completely in sync with samba4Stefan Metzmacher2007-10-101-2/+1
| | | | | metze (This used to be commit d4d9b7e02614e30ab410a26654db3ca66ffe06e6)
* r18640: move to socket_wrapper to lib/socket_wrapper/Stefan Metzmacher2007-10-103-0/+1017
and sync it with samba4 metze (This used to be commit 9c0e5b29f1451a90605cce7e1e032e5516b6970d)