summaryrefslogtreecommitdiffstats
path: root/ctdb/tcp/tcp_io.c
Commit message (Collapse)AuthorAgeFilesLines
* ctdb: Rename CTDB_VERSION to CTDB_PROTOCOLAmitay Isaacs2014-10-281-1/+1
| | | | | | | CTDB_VERSION really is the ctdb protocol version. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Michael Adam <obnox@samba.org>
* build: Fix tdb.h path to enable building with system TDB libraryMathieu Parent2013-06-141-1/+1
| | | | (This used to be ctdb commit f8bf99de3a5f56be67aaa67ed836458b1cf73e86)
* Remove explicit include of lib/tevent/tevent.h.Amitay Isaacs2012-04-131-1/+0
| | | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 0681014ca5ed2a9b56f63fdace7f894beccf8a9a)
* event: Update events to latest Samba version 0.9.8Rusty Russell2010-08-181-1/+1
| | | | | | | | | | | | | In Samba this is now called "tevent", and while we use the backwards compatibility wrappers they don't offer EVENT_FD_AUTOCLOSE: that is now a separate tevent_fd_set_auto_close() function. This is based on Samba version 7f29f817fa939ef1bbb740584f09e76e2ecd5b06. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (This used to be ctdb commit 85e5e760cc91eb3157d3a88996ce474491646726)
* merge from ronnieAndrew Tridgell2008-02-041-5/+5
| | | | (This used to be ctdb commit e7b57d38cf7255be823a223cf15b7526285b4f1c)
* update lib/replace from samba4Andrew Tridgell2007-07-101-3/+2
| | | | (This used to be ctdb commit f0555484105668c01c21f56322992e752e831109)
* rename tnode->queue to tnode->out_queue to indicate this queue is for Ronnie Sahlberg2007-07-021-1/+1
| | | | | | sending data out to the other node (This used to be ctdb commit 0bc949c529094570da56c9007ff96b1f5ad02c59)
* ctdb is GPL not LGPLAndrew Tridgell2007-05-311-12/+12
| | | | (This used to be ctdb commit 8624378010d1c2a1438e1e701339dfba7276f960)
* fixed more warnings on 64 bit boxesAndrew Tridgell2007-05-291-1/+2
| | | | (This used to be ctdb commit 2f6eae476203f8a8b28e083553204c01f224c8a5)
* removed bogus alignment checkAndrew Tridgell2007-05-261-7/+0
| | | | (This used to be ctdb commit 93fd5fd01dc61a53a91e319d5cbbe0fc8f740717)
* show op type of badly aligned packets in tcp layerAndrew Tridgell2007-05-261-0/+7
| | | | (This used to be ctdb commit 6a3e1faa2ce77ee021154d66aeaa99c51bbc8b06)
* paranoid checks for bad packets in tcp layer. Close the socket if it gets a ↵Andrew Tridgell2007-05-261-15/+25
| | | | | | bad packet (This used to be ctdb commit 1277089e5c6e1036517c63ee8c8e4ff98cb76cf8)
* fixed some warningsAndrew Tridgell2007-04-281-3/+3
| | | | (This used to be ctdb commit b5434a40cf2db008eb1e681fcd2ceeff331324fa)
* Rename "private" to "private_data"Volker Lendecke2007-04-111-1/+1
| | | | (This used to be ctdb commit 78cf4443ac0c66fb750ef6919bcdec189ac219c9)
* made all sockets handle partial IOAndrew Tridgell2007-04-101-126/+10
| | | | | | abstract IO via ctdb_queue_*() functions (This used to be ctdb commit 636ae76f4632b29231db87be32c9114f58b37840)
* change the tcp code to call ctdb_read_pdu() instead of doing the partial ↵Ronnie sahlberg2007-04-101-72/+27
| | | | | | read thing explicitely (This used to be ctdb commit 6156bec0187df27578afd5afa3fcaadb1a202030)
* merged from samba4 ctdbAndrew Tridgell2007-02-071-9/+2
| | | | (This used to be ctdb commit 677fd2a7758b743ea920d0b3adb85fbb3f1ff49e)
* merge fixes from samba4Andrew Tridgell2007-01-231-8/+15
| | | | (This used to be ctdb commit fb90a5424348d0b6ed9a1b8da4ceadcc4d1a1cb1)
* enforce the tcp memory alignment in packet queue Andrew Tridgell2006-12-191-0/+4
| | | | (This used to be ctdb commit 222f53a3205509a45fbc3267297521df22a414ec)
* added handling of partial packet readsAndrew Tridgell2006-12-191-10/+59
| | | | | | | added transport level packet allocator, allowing the transport to enforce alignment or special memory rules (This used to be ctdb commit 50304a5c4d8d640732678eeed793857334ca5ec1)
* queue up packets to nodes that aren't connected yet. This avoids aAndrew Tridgell2006-12-011-7/+2
| | | | | | startup race condition in the test suite (This used to be ctdb commit b623ac755de843a3386a7c0e882d651b7f20d482)
* - added ctdb_set_flags() callAndrew Tridgell2006-12-011-2/+0
| | | | | | | | | | | | | | | | | | - added --self-connect option to ctdb_test, allowing testing when a node connects to itself. not as efficient as local bypass, but very useful for testing purposes (easier to work with 1 task in gdb than 2) - split the ctdb_call() into an async triple, in the style of Samba4 async functions. So we now have ctdb_call_send(), ctdb_call_recv() and ctdb_call(). - added the main ctdb_call protocol logic. No error checking yet, but seems to work for simple cases - ensure we initialise the length argument to getsockopt() (This used to be ctdb commit 95fad717ef5ab93be3603aa11d2878876fe868d3)
* - setup a convenience name field for nodesAndrew Tridgell2006-11-281-10/+148
| | | | | | | | | | | | - added basic IO handling for the tcp backend - added a ctdb_node_dead upcall - added packet queueing - adding incoming packet handling (This used to be ctdb commit 415497c952630e746e8cdcf8e1e2a7b2ac3e51fb)
* - split up tcp functions into more logical partsAndrew Tridgell2006-11-281-0/+56
- added upcall methods from transport to ctdb layer (This used to be ctdb commit 59f0dab652000f1c755e59567b03cf84dad7e954)