- Oct 29, 2020
-
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Generate dot1qPortVlanTable with a command: mib2c -c mib2c.mfd.conf Q-BRIDGE-MIB::dot1qPortVlanTable Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Generate dot1qVlanCurrentTable with a command: mib2c -c mib2c.mfd.conf Q-BRIDGE-MIB::dot1qVlanCurrentTable Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
In the generated code MacAddress is mapped into ASN_OCTET_STR, which uses a length as a first byte, then the content of MAC/string. With this behaviour of ASN_OCTET_STR, the index was 1 byte longer than suppose to be. Anyway, it is not needed to carry the length of MacAddress since it is defined as fixed in the MIB. Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Generate dot1qTpFdbTable with a command: mib2c -c mib2c.mfd.conf Q-BRIDGE-MIB::dot1qTpFdbTable Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Added functions were copied from rtu_stat Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Remove the following OIDs, since such counters are not implemented in WRS. --dot1dBasePortDelayExceededDiscards --dot1dBasePortMtuExceededDiscards Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Generate dot1dBasePortTable with a command: mib2c -c mib2c.mfd.conf BRIDGE-MIB::dot1dBasePortTable The data in this table is static, it does not need a cache. Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
In the generated code MacAddress is mapped into ASN_OCTET_STR, which uses a length as a first byte, then the content of MAC/string. With this behaviour of ASN_OCTET_STR, the index was 1 byte longer than suppose to be. Anyway, it is not needed to carry the length of MacAddress since it is defined as fixed in the MIB. Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
dot1dStaticTable with a command: mib2c -c mib2c.mfd.conf BRIDGE-MIB::dot1dStaticTable Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Only scalar objects in dot1dBase: --dot1dBaseBridgeAddress --dot1dBaseNumPorts --dot1dBaseType But without dot1dBasePortTable! Generated with: mib2c -c mib2c.scalar.conf BRIDGE-MIB::dot1dBase Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
dot1qFdbTable with a command: mib2c -c mib2c.mfd.conf BRIDGE-MIB::dot1qFdbTable Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
dot1dTpFdbTable with a command: mib2c -c mib2c.mfd.conf BRIDGE-MIB::dot1dTpFdbTable Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Michal Wasiak authored
Annoying warnings like: In file included from ./include/libwr/hal_shmem.h:7:0, from ./include/libwr/fan.h:3, from ./include/libwr/switch_hw.h:6, from pps_gen.c:17: ./include/libwr/generic_fsm.h: In function ‘fsm_consume_state’: ./include/libwr/generic_fsm.h:134:3: warning: implicit declaration of function ‘pr_info’ [-Wimplicit-function-declaration] pr_info("%s: Enter state %s\n", fsm->fsm_name, fsm_get_state_name(fsm)); ^ Signed-off-by:
Michal Wasiak <michal.wasiak@gmail.com>
-
Kinga Wujek authored
Signed-off-by:
Kinga Wujek <dev_public@wujek.eu>
-
Kinga Wujek authored
Signed-off-by:
Kinga Wujek <dev_public@wujek.eu>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <dev_public@wujek.eu>
-
Adam Wujek authored
Fix the calculation of an offset in shmem when reopening shmem. Signed-off-by:
Adam Wujek <dev_public@wujek.eu>
-
Adam Wujek authored
-
- Oct 28, 2020
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <dev_public@wujek.eu>
-
Adam Wujek authored
add new OID: wrsStartCntRvlan Signed-off-by:
Adam Wujek <dev_public@wujek.eu>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <dev_public@wujek.eu>
-
Adam Wujek authored
Don't start radiousvlan if CONFIG_RVLAN_DAEMON is not present in dot-config Signed-off-by:
Adam Wujek <dev_public@wujek.eu>
-
- Oct 22, 2020
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This simply sends SIGUSR1 to radiusvlan and sorts the output file. Example: wri2 (001bc5090845 <-> 001bc509007d): state configured, vlan 4094, pid 0, fd -1 wri3 (001bc5090846 <-> 00e04c1bfd8d): state configured, vlan 31, pid 0, fd -1 wri4 (000000000000 <-> ): state down, vlan 0, pid 0, fd -1 wri5 (000000000000 <-> ): state down, vlan 0, pid 0, fd -1 wri6 (000000000000 <-> ): state down, vlan 0, pid 0, fd -1 wri7 (000000000000 <-> ): state down, vlan 0, pid 0, fd -1 wri8 (000000000000 <-> ): state down, vlan 0, pid 0, fd -1 wri9 (000000000000 <-> ): state down, vlan 0, pid 0, fd -1 wri10 (000000000000 <-> ): state down, vlan 0, pid 0, fd -1 wri11 (000000000000 <-> ): state down, vlan 0, pid 0, fd -1 wri12 (000000000000 <-> ): state down, vlan 0, pid 0, fd -1 wri13 (000000000000 <-> ): state down, vlan 0, pid 0, fd -1 wri14 (000000000000 <-> ): state down, vlan 0, pid 0, fd -1 wri15 (000000000000 <-> ): state down, vlan 0, pid 0, fd -1 wri16 (000000000000 <-> ): state ...
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The full set of /etc/raddb/dictionary* is overkill, we only need a few symbols from these three files, if we run radclient. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
[Thanks a lot to Enkhbold Ochirsuren of GSI who traced back a strange behaviour to the "printf" incompatibility]. This removes "printf -v <outputvar> <format> ..." which is only available in bash. These needless incompatible extensions to standard commands are a source of endless headaches. New features must spit an error when unavailable (i.e., bash people should add vprintf, not break printf, imho) In this case, my previous "fix" to this file was incomplete, because I fixed a bashism but didn't see this other one. Also, this changes the shebang to call sh (which is already done by rcS: only the interactive execution now uses sh instead of bash). Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-