summaryrefslogtreecommitdiff
path: root/source3/lib/socket_wrapper/socket_wrapper.c
AgeCommit message (Collapse)AuthorFilesLines
2008-09-16Use single copy of socket_wrapper in Samba 3 and Samba 4.Jelmer Vernooij1-1841/+0
2008-07-22Fix warnings on FreeBSD-based platformsZach Loafman1-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)
2008-06-10socket_wrapper: truncate packets to a 1500 byte payloadStefan Metzmacher1-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)
2008-06-10socket_wrapper: sync missing stuff from v4-0-testStefan Metzmacher1-1/+1
metze (This used to be commit b03c2793548834a1dc0483b03081d872ab1e17f0)
2008-06-10Factor out IP marshalling into separate function.Jelmer Vernooij1-36/+43
(cherry picked from commit 2548c2a1e7dab8abc00f8f49374a08cc0b427552) (This used to be commit e4e015caac88f6e31ca6d8fcda5a97a11aee226d)
2008-06-10r25783: socket_wrapper: don't include "includes.h"Stefan Metzmacher1-12/+5
metze (cherry picked from commit 47f865165e772540334dcbcf80cfc1999b0132fa) (This used to be commit 4d5bfcc731b44267e2c30fccdca72b6058b16bfb)
2008-06-10r23420: try to make the IBM checker happyStefan Metzmacher1-3/+8
metze (cherry picked from commit 96f1a0dfaa18a432fca4b5432d929d8daed0abb1) (This used to be commit 801ed0b79956133f2baa6b2db4a7dd5a68060edc)
2008-06-10r22236: Update to Heimdal's socket_wrapper, which supports IPv6.Stefan Metzmacher1-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)
2008-06-10r21729: Some more testsJelmer Vernooij1-5/+4
(cherry picked from commit d2baa8218cf504d6631d610f9fd393ad8c61574c) (This used to be commit cf6d815ba82a25c1e1f1dfdb8548cc588d44d1aa)
2008-06-10r21671: Add initial simple tests for socket wrapperStefan Metzmacher1-1/+1
(partly cherry picked from commit 872e2ad541478597191ca9e31872d5c8e2bbb832) metze (This used to be commit 8003f00a28bb7237ec1b1f4eb9687c542a86c2b2)
2008-06-10r19409: Pull in <sys/time.h> for struct timeval for non samba build (don'tLove Hörnquist Åstrand1-0/+1
depend on namespace pollution) (cherry picked from commit 5052d2d10693e67f1b7c6c71277c8d1bc9c8b612) (This used to be commit d22701b196bded3294776b144a7a990de23741e9)
2008-06-10r19367: Solaris needs <sys/filio.h> for FIONREAD.Love Hörnquist Åstrand1-0/+1
(cherry picked from commit e2866ce78851a84c937408c0781fcc1e7107f663) (This used to be commit 3db8b246c8abfc4efed08d7630e61a81b9d8bf48)
2008-03-17socket_wrapper: make pcap code more portableStefan Metzmacher1-39/+40
Now the pcap support works on x86_64. metze (cherry picked from commit 61a87bed61ef661d98131239976be95c6a8b4d96) (This used to be commit c22204aa85d4bb33534b6974dcfed9aad0c28cc4)
2007-12-21Fix initialization warnings.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 832c093830cb3978641be3d87670fa900105da25)
2007-12-21Some C++ warningsVolker Lendecke1-2/+2
(This used to be commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)
2007-10-10r19179: remove difference with samba4Stefan Metzmacher1-0/+4
metze (This used to be commit e97e1ffea8e124c8001cf33ecac7500ae875f42f)
2007-10-10r19177: merge from samba4:Stefan Metzmacher1-9/+34
fix the standalone build of socket_wrapper by not using samba's DLIST_ macros metze (This used to be commit bc7b2e8db8fb34d6f321cd6b13b74e58945d7124)
2007-10-10r19172: merge from samba4:Stefan Metzmacher1-19/+38
change the socket wrapper license to what heimdal uses... metze (This used to be commit d19c19ae4be3f3ad349b72ba3181051bb4da335e)
2007-10-10r19126: Fix some uninitialized variable warningsVolker Lendecke1-4/+7
(This used to be commit 90bfa3461038f5d179525dec0cf5b3f137e927e0)
2007-10-10r19099: merge socket wrapper changes from samba4Stefan Metzmacher1-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)
2007-10-10r19085: merge from samba4:Stefan Metzmacher1-0/+242
- source and destination address handling - tcp handling metze (This used to be commit 98154fd43350f3edae54423756620a48e089f96d)
2007-10-10r18993: merge from samba4:Stefan Metzmacher1-29/+83
prepare SOCKET_WRAPPER_PCAP_FILE support metze (This used to be commit 372471cbad34b1d0d2159e75994c481de6eaed05)
2007-10-10r18953: sync socket_wrapper with samba4Stefan Metzmacher1-0/+30
metze (This used to be commit 77b0af43f0f7e52b9040a1d3edfb556a232e64f1)
2007-10-10r18920: merge socket_wrapper changes from samba4Stefan Metzmacher1-21/+58
metze (This used to be commit b36d47c698b01a577af04205c9bdf0d588bd20e6)
2007-10-10r18661: C++ warningsVolker Lendecke1-2/+2
(This used to be commit 6004b8025de3207f5af2d62087ec13c5e444fec7)
2007-10-10r18646: now we can have the socket_wrapper.c completely in sync with samba4Stefan Metzmacher1-2/+1
metze (This used to be commit d4d9b7e02614e30ab410a26654db3ca66ffe06e6)
2007-10-10r18640: move to socket_wrapper to lib/socket_wrapper/Stefan Metzmacher1-0/+891
and sync it with samba4 metze (This used to be commit 9c0e5b29f1451a90605cce7e1e032e5516b6970d)