- May 10, 2013
-
-
Marek Vavrusa authored
Mempool is a type of memory allocator that allows to free all allocated elements at once. Removed unnecessary string and state operations. Licensed under LGPL, same as lists and heap. Change-Id: I8b8f84f41dcc321f37e51894b5c121f463c4f111
-
Marek Vavrusa authored
Default is libc malloc/free. This will be used to supply to functions where a memory is allocated in some context (f.e. when building packet) so the API stays the same and we could switch the allocator as we see fit. Change-Id: Ia5956b6da38d9feb01c5bfb0a4cd4e9393db0589
-
- May 09, 2013
-
-
Daniel Salzman authored
Change-Id: I39d236a0d6594692597f2e66624f0b0d56928c34
-
Daniel Salzman authored
Change-Id: Ia8388c541fec44a17f284fc0e4c2aa83afa9b74f
-
Daniel Salzman authored
Change-Id: I436236bc78c45f576dfee3ff251ba7ca9c95d1b0
-
- May 07, 2013
-
-
Daniel Salzman authored
Change-Id: Ie3e7fab14198c6add9055c9f24eece9c7c123bd1
-
Daniel Salzman authored
refs #2137 Change-Id: I83a723cb07f482b886c588e6ec0f8910c2f97964
-
Daniel Salzman authored
refs #2137 Change-Id: I42c905d94858e90d87136117e7aaaaaf415854b1
-
Daniel Salzman authored
Coverity scan #1019150 Change-Id: I09e97249299856612bec953eb79f33b978d23580
-
Daniel Salzman authored
Coverity scan #1019149 Change-Id: I3beb8efced13d2bf5a5316ae02835739ffa54263
-
Daniel Salzman authored
Change-Id: If0df4f7947110b84b7c45dc909b3fbd5c5f048a6
-
Daniel Salzman authored
Getaddrinfo result for remote server is stored in net_t structure. This allows to query each resolved address via net_t.srv. It is important for example if the server has associated AAAA and A records, but listens on IPv4 address only. refs #2137 Change-Id: Iadd2b011a25a8d9e13f05b239a78f42f8d69b5de
-
Marek Vavrusa authored
Change-Id: Ica5b201351cf9c0d9bb69c052796c2ed38873e6a
-
Marek Vavrusa authored
Change-Id: I8d128c3408a794f0ad183e15e20a3afa31989e88
-
Marek Vavrusa authored
Change-Id: I0f9c1bf7eee52c22550dcb5d9946fba4ecf91ad5
-
- May 03, 2013
-
-
Marek Vavrusa authored
Actual macro has dest and src switched. Change-Id: I4a8e0f32fb85f4efece0b325c8ceea22cf1b42aa
-
- May 02, 2013
-
-
Marek Vavrusa authored
General idea is regular search with keeping node stack. If node is found, then return current node. If node is htable, search for suffixes in htable. If anything fails, walk up the visited nodes and check if any visited node has value. If yes, then it is a prefix. f.e. searching for 'abcd' visited nodes: root -a-> {1:trie} -b-> {2:htable} 1. search htable for 'cd', 'c' 2. retrace to node {1}, does it have value? 3. yes, node1 is prefix 'ab' for 'abcd' Change-Id: I622adbe9a127d8317b933af4bf56e1411e2d915f
-
Marek Vavrusa authored
Previous with full dname copy and chopping was really inefficient. Yields approx. 20% lower relative cost, 6% throughput increase. Change-Id: Icaa49572f75769739ae61f48d2ca958e38db6104
-
Marek Vavrusa authored
Change-Id: I3cfa7f07a71b1d8b9e77f93ef16b683c15f9fe24
-
- May 01, 2013
-
-
Jan Včelák authored
Change-Id: I571cc82f393d526e43ba17ade19f57ce067b5c52
-
Jan Včelák authored
Coccinelle patch used to perform this cleanup is included. Change-Id: Ia367764245c845839fd22034b2b5f58b93bd54e8
-
- Apr 30, 2013
-
-
Jan Včelák authored
Change-Id: Ib942dde21c1a386cbde98ab422608abc2f1b35cc
-
Marek Vavrusa authored
Change-Id: If7b7a325ed20432d8fc3da73e931e0fa44a37add
-
Marek Vavrusa authored
Change-Id: I6dd8a10278383e8c97e399562fec3562cbb848d8
-
Jan Včelák authored
Change-Id: I4eedcaf1e9fef0e43494314e16c68b0bbb2d3107
-
Jan Včelák authored
Change-Id: Id352f59b8ef9011e0379455bc485072d9b67b029
-
Daniel Salzman authored
Change-Id: I2683becadd439cc55de64e6eea96a9e2a47667b0
-
- Apr 29, 2013
-
-
Daniel Salzman authored
Change-Id: I80c06b6d17a532d3185c73b17da1177646f3b64c
-
Daniel Salzman authored
Change-Id: I777d3986ac9197ec438b0b7c00b2098ba60d9437
-
Jan Včelák authored
This allows creating of multiple signatures without reloading the key every time when a new signature is needed. refs #2413 Change-Id: I1392a6a697e9a599eaceee21dbe4410ae01c6f46
-
Marek Vavrusa authored
Change-Id: I4e314b414f0ce94ff691f00a461653350b10370e
-
Marek Vavrusa authored
Handler destructor was called only if handler was brought down while the server was running. Also it didn't free the context struct. Change-Id: I8e71f4abc2bb314528416eeba063b48f2fb79773
-
Marek Vavrusa authored
Previously it was set to maximum size and msg_namelen was never reset, which could cause problems with mixed IPv6/IPv4. Change-Id: I2b4c58c33324fbe702a5b2aa74db2b530119c4ab
-
- Apr 27, 2013
-
-
Daniel Salzman authored
refs #2137 Change-Id: Ibccdf2203e79fd2b9f24e75d54bfedc1eed605c0
-
Daniel Salzman authored
refs #2137 Change-Id: I983291e35d76531cd82c7feb7467cd8fbe0cbbf7
-
- Apr 26, 2013
-
-
Daniel Salzman authored
refs #2137 Change-Id: I3cf4a2d379846f06656cbbc15a2e793c1f1fbc53
-
Marek Vavrusa authored
Change-Id: I415c5e449f5f2f046ce8970a72341ba13543bb05
-
Marek Vavrusa authored
Change-Id: I7d4597e875a42805c307b2c1ed75ed309bf3b37a
-
Marek Vavrusa authored
Fixed missing RCU unlock in early exit. Expire event synchronized RCU before marking event as finished, this could result in deadlocking threads holding RCU read lock while waiting for event cancellation. Transfer requests usually hold zone reference, so no RCU locking is required. Change-Id: I05caf7feb789c78d253b25812666c639f76ffb96
-
Jan Kadlec authored
- Better warning messages. - Small fixes. Change-Id: Ief9b250c9203b716a07223b34063c4d840521bee
-