lemoer
|
b67c212eab
|
respondd: recv error handler now gets the right errno
|
2016-12-01 01:18:26 +01:00 |
lemoer
|
108f0846d6
|
respondd: the iface info is only inserted if if_nametoindex() was successful
|
2016-12-01 01:09:49 +01:00 |
lemoer
|
9198ad056d
|
respondd: append interface infos at the head of the list
This avoids walking to the end.
|
2016-12-01 01:06:44 +01:00 |
lemoer
|
2c302aa012
|
respondd: cast to uint64_t before calculations
|
2016-12-01 00:58:40 +01:00 |
lemoer
|
13a03926f7
|
respondd: stop searching for interfaces if the right one was found
|
2016-12-01 00:55:11 +01:00 |
lemoer
|
916729963f
|
respondd: default max multicast delay is now 0 seconds
|
2016-12-01 00:19:21 +01:00 |
lemoer
|
5d27574616
|
respondd: max multicast delay is now interface based
|
2016-11-11 00:50:12 +01:00 |
lemoer
|
a856465520
|
respondd: add lemoer name in license header
|
2016-09-10 05:52:45 +02:00 |
lemoer
|
73e1b74da3
|
respondd: adapt coding style for multiline comments
|
2016-09-10 05:50:41 +02:00 |
lemoer
|
ccfe3101ec
|
respondd: fix typo in the word "incoming"
|
2016-09-10 05:46:50 +02:00 |
lemoer
|
1a7312d9f8
|
respondd: coding style
|
2016-09-10 05:45:33 +02:00 |
lemoer
|
6dd0320b44
|
respondd: remove code dupplication
|
2016-09-10 05:44:58 +02:00 |
lemoer
|
242cf82f4b
|
respondd: correctly initialize destaddr
|
2016-09-10 05:33:42 +02:00 |
lemoer
|
993af5face
|
respondd: use less update_time()
|
2016-09-10 05:32:38 +02:00 |
lemoer
|
4915377266
|
respondd: change order of definitions to avoid implicit forward definitions
|
2016-09-10 04:07:32 +02:00 |
lemoer
|
8b86f150b9
|
respondd: do not drop any request (if the schedule is full)
|
2016-09-10 04:00:09 +02:00 |
lemoer
|
d52a9df8c3
|
respondd: serve the request immediately instead of scheduling it with delay=0
|
2016-09-10 03:59:38 +02:00 |
lemoer
|
af773b88f6
|
respondd: serve_request does not depend on request schedule any longer
|
2016-09-10 03:38:47 +02:00 |
lemoer
|
aba6c46bd7
|
respondd: improve unix portability in errno of recvmsg
|
2016-09-10 03:27:49 +02:00 |
lemoer
|
091bb8ed09
|
respondd: use size_t for length instead of int
|
2016-09-10 03:27:17 +02:00 |
lemoer
|
923a8fef68
|
respondd: use nicer parameter sizeof() for malloc()
|
2016-09-10 03:23:32 +02:00 |
lemoer
|
eeef7d216a
|
respondd: use normal assignment instead of memcpy
|
2016-09-10 03:22:14 +02:00 |
lemoer
|
575186c43c
|
respondd: ensure new_task->request doesn't overflow and is zero terminated
|
2016-09-10 03:19:46 +02:00 |
lemoer
|
aa1649abbf
|
respondd: format
|
2016-09-10 03:08:57 +02:00 |
lemoer
|
7574c29b56
|
respondd: move update_time() directly after recvmsg
|
2016-09-10 03:08:30 +02:00 |
lemoer
|
0f29bd3c81
|
respondd: improve if style
|
2016-09-10 03:05:04 +02:00 |
lemoer
|
3260989299
|
respondd: remove unnecessary cast
|
2016-09-10 03:01:31 +02:00 |
lemoer
|
1476f65502
|
respondd: use explicit typecast
|
2016-09-02 01:51:47 +02:00 |
lemoer
|
f029a829f2
|
respondd: phrasing
|
2016-09-02 01:44:27 +02:00 |
lemoer
|
c74bbc23d5
|
respondd: simplify iteration in sorted list
|
2016-09-02 01:44:27 +02:00 |
lemoer
|
b132dca1fc
|
respondd: usage() "delay" -> "maximum delay" because the delay is random
|
2016-09-01 18:12:46 +02:00 |
lemoer
|
8c1cb41e70
|
respondd: negative max timeouts are not allowed any longer
Fixes: Supplying a negative max delay caused nearly infinite delay
due to an integer overflow.
|
2016-09-01 18:11:48 +02:00 |
lemoer
|
92155f0c51
|
respondd: differentiate between infinite idletime (0) and idletime expired(<0)
|
2016-09-01 18:09:25 +02:00 |
lemoer
|
ee7eba75f9
|
respondd: return value of schedule_idle_time is now unsigned
|
2016-09-01 16:22:11 +02:00 |
lemoer
|
1987aa3792
|
respondd: use sockaddr_in6 instead of sockaddr_in + addrlen
|
2016-09-01 16:17:50 +02:00 |
lemoer
|
678e362ef8
|
respondd: use strtoul intead of atoi
|
2016-09-01 16:07:44 +02:00 |
lemoer
|
6dbe8df3ce
|
respondd: fix indentation
|
2016-09-01 15:31:07 +02:00 |
lemoer
|
db2821252e
|
respondd: remove return value of accept_request since it's unused
|
2016-09-01 15:29:07 +02:00 |
lemoer
|
140e1937b6
|
respondd: timeout is now calculated inside accept_request
|
2016-09-01 15:27:01 +02:00 |
lemoer
|
1ac18054c1
|
respondd: request_task is now created outside schedule_push_request()
|
2016-08-13 17:04:01 +02:00 |
lemoer
|
f37941ecf3
|
respondd: fix double assignment of variable
|
2016-08-13 16:47:36 +02:00 |
lemoer
|
9517a0f698
|
respondd: simplify null check
|
2016-08-13 16:47:11 +02:00 |
lemoer
|
91080757f1
|
respondd: removed obsolete documentation
|
2016-08-13 16:45:52 +02:00 |
lemoer
|
d552148e7d
|
respondd: fix indentation
|
2016-08-13 16:45:17 +02:00 |
lemoer
|
c35faf28a6
|
respondd: removed unnecessary declaration
|
2016-08-13 16:44:53 +02:00 |
lemoer
|
3629429014
|
respondd: removed unnecessary includes
|
2016-08-13 16:43:54 +02:00 |
lemoer
|
0ead34abee
|
respondd: remove last references to "queue"
|
2016-08-13 04:28:31 +02:00 |
lemoer
|
41d58f1db4
|
respondd: unicast replies are now sent instantly
|
2016-08-13 04:27:57 +02:00 |
lemoer
|
d7f95d18c7
|
respondd: simpler seed
|
2016-08-13 03:41:34 +02:00 |
lemoer
|
336ca1345b
|
respondd: delay before sending answers is now random
|
2016-08-13 03:27:39 +02:00 |