Vojtech Vilimek
c8cda68762
fixed snmp_test.c test suite
2023-07-26 14:34:55 +02:00
Vojtech Vilimek
4c7828779e
mainly visual tweaks
2023-07-26 14:34:01 +02:00
Vojtech Vilimek
3c26f49107
changes in subagent.c API
2023-07-26 14:30:34 +02:00
Vojtech Vilimek
9f8950d4d7
changes in bgp_mib.c API (mainly)
2023-07-26 14:02:23 +02:00
Vojtech Vilimek
ec7d4fd52c
Add missing prefix file
2023-07-11 14:44:49 +02:00
Vojtech Vilimek
c65d2299bd
code cleanup
2023-07-11 14:34:59 +02:00
Vojtech Vilimek
6a097ebd55
Completed trie API changes
...
Minor bug fixes in trie_walk_init() with associated tests.
2023-07-11 14:23:07 +02:00
Vojtech Vilimek
362081da85
changes in trie_walk_init() - preview
2023-07-06 12:02:42 +02:00
Vojtech Vilimek
b290284769
tests pass (several times)
2023-07-05 11:59:10 +02:00
Vojtech Vilimek
70ec873ebe
temporal
2023-07-04 10:07:40 +02:00
Vojtech Vilimek
3719d746bc
tmp: tmp progress on trie API
2023-04-28 11:10:01 +02:00
Vojtech Vilimek
7e68ba64a9
tmp: enhancements in trie api changes
2023-04-14 11:30:55 +02:00
Vojtech Vilimek
01e16f0e09
Extend the trie_walk_init api + test
...
The trie_walk_init() function now supports also searching whole trie
subnet and all successor subnets (in lexicographic order). This behavior
can be accomplished by setting @net, and @include_successors to subnet,
and non-zero respectivelly.
2023-04-07 17:27:20 +02:00
Vojtech Vilimek
972c717c56
tmp: minor changes
2023-03-31 09:56:39 +02:00
Vojtech Vilimek
14a4535cf0
tmp: minor changes
2023-03-31 09:56:03 +02:00
Vojtech Vilimek
ed676cd1c5
tmp: minor changes + fixed tests
2023-03-24 15:02:23 +01:00
Vojtech Vilimek
3ec802e7f0
tmp: add new bgp mib entry support (bgpPeerTable)
2023-03-24 15:01:35 +01:00
Vojtech Vilimek
d4d925cbea
tmp: add new helper function
2023-03-24 15:00:54 +01:00
Vojtech Vilimek
fb2e47d566
tmp: fix parsing multiple in rx buffer
2023-03-14 14:10:08 +01:00
Vojtech Vilimek
908aa67e1c
tmp: minor changes
2023-03-14 14:09:45 +01:00
Vojtech Vilimek
29da25c2d0
code cleanup
2022-12-17 18:24:05 +01:00
Vojtech Vilimek
23b467318c
tmp
2022-12-17 18:16:19 +01:00
Vojtech Vilimek
2a4fedb6e0
tmp: compiles and runs
2022-12-10 18:08:00 +01:00
Vojtech Vilimek
721524abb8
snmp reconnect
2022-12-10 13:23:50 +01:00
Vojtech Vilimek
8d4926b0f5
snmp_log() wrapper
2022-12-10 13:22:37 +01:00
Vojtech Vilimek
74c68fc89e
tmp
2022-12-06 16:32:26 +01:00
Vojtech Vilimek
9a11ec8d83
tmp: compiles
2022-11-29 16:30:20 +01:00
Vojtech Vilimek
6f74f4a663
moving shared parts to snmp_utils
2022-11-22 14:16:09 +01:00
Vojtech Vilimek
ad9833e4f1
tmp: compiles
2022-11-19 23:00:02 +01:00
Vojtech Vilimek
508a420327
fix the Get and GetNext
...
missing some functionality around GetBulk
2022-11-15 16:29:03 +01:00
Vojtech Vilimek
9a75af4573
tmp: compiles, first tests
2022-11-05 16:29:00 +01:00
Vojtech Vilimek
03ab2a89c0
TMP: compiles and runs
2022-09-30 09:36:09 +02:00
Vojtech Vilimek
8ea2e991fa
TMP: work on Get-PDU and GetNext-PDU
2022-09-20 14:28:57 +02:00
Vojtech Vilimek
eb5a749046
TMP new snmp PDUs
2022-09-06 18:04:29 +02:00
Vojtech Vilimek
7961bbb26a
TMP: compiles, some pdus working
2022-08-10 17:31:32 +02:00
Vojtech Vilimek
a5bdba428b
TMP: code cleanup - remove trailing whitespace
2022-08-02 16:12:09 +02:00
Vojtech Vilimek
e5a88b584e
TMP: proto-snmp compiles and connects to master
2022-08-02 16:06:00 +02:00
Vojtech Vilimek
f4dc719f14
Refactor of struct channel and channel_config
...
Element struct channel_class *channel was renamed to *class in struct channel
and struct channel_config. New pointers were added to structures above
in both directions. This can simplify and speedup the proces of finding
channel (configuration).
2022-08-01 13:03:20 +02:00
Vojtech Vilimek
203c63ad5d
Initial commit for new protocol `snmp'
2022-08-01 13:01:49 +02:00
Maria Matejka
f60f7dfdee
Sending an event must also ping the target IO loop
2022-07-28 19:52:19 +02:00
Maria Matejka
e858dce757
Moved the thread starting code to IO loop code
2022-07-28 19:49:03 +02:00
Maria Matejka
00f6b162c9
Merge commit '03bf6b90' into thread-next
2022-07-28 19:22:58 +02:00
Maria Matejka
03bf6b9087
Revert "Adding a generic cork mechanism for events"
...
This reverts commit 6e841b3153
.
2022-07-28 19:22:48 +02:00
Maria Matejka
e91754f5b9
Event lists rewritten to a single linked list
...
In multithreaded environment, we need to pass messages between workers.
This is done by queuing events to their respective queues. The
double-linked list is not really useful for that as it needs locking
everywhere.
This commit rewrites the event subsystem to use a single-linked list
where events are enqueued by a single atomic instruction and the queue
is processed after atomically moving the whole queue aside.
2022-07-18 13:28:35 +02:00
Maria Matejka
08c8484608
Merge commit '94eb0858' into thread-next
2022-07-18 12:33:00 +02:00
Maria Matejka
4b6f5ee870
Merge commit 'a4451535' into thread-next
2022-07-18 11:11:46 +02:00
Maria Matejka
9901ca6fb3
Fixed an annoying warning in ea_get_storage()
2022-07-18 10:56:20 +02:00
Maria Matejka
812edb85e1
Fixing build issues caused by a nonportable Makefile rule
2022-07-18 10:26:55 +02:00
Maria Matejka
636ab95f44
Merge commit 'a845651b' into thread-next
2022-07-18 10:19:59 +02:00
Maria Matejka
05673b16a8
Merge commit 'c70b3198' into thread-next [lots of conflicts]
...
There were more conflicts that I'd like to see, most notably in route
export. If a bisect identifies this commit with something related, it
may be simply true that this commit introduces that bug. Let's hope it
doesn't happen.
2022-07-15 14:57:02 +02:00