sonic-buildimage/src
kellyyeh 2c410b4aaf
[dhcpmon] Fix dhcpmon socket filter and tx count issue (#13065)
Why I did it
Fix issue caused by dualtor support PR [dhcpmon] Open different socket for dual tor to enable interface filtering #11201
Improve code
How I did it
On single ToR, packets received count was duplicated due to socket filter set to "inbound"
Tx count not increasing due to filter set to "inbound". Added an outbound socket to count tx packets
Added vlan member interface mapping for Ethernet interface to vlan interface lookup in reference to PR Fix multiple vlan issue sonic-dhcp-relay#27
Exit when socket fails to initialize to allow dhcp_relay docker to restart
How to verify it
Tested on vstestbed single tor and dual tor, sent packets and verify printed out dhcpmon rx and tx counters is correct

Correct number of tx increases
Tx does not increase when ToR is on standby
2023-01-06 14:43:24 -08:00
..
bash Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
debootstrap Image build time improvements (#10104) 2022-04-19 09:22:16 -07:00
dhcpmon [dhcpmon] Fix dhcpmon socket filter and tx count issue (#13065) 2023-01-06 14:43:24 -08:00
dhcprelay@4bf1868dcf advance dhcprelay (#13205) 2023-01-02 22:22:57 +08:00
ethtool Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
flashrom Flashrom refactoring for broadcom platforms (#7693) 2021-06-22 15:29:21 -07:00
gobgp Update go version to 1.11.2 for gobgp and telemetry (#2230) 2018-11-09 21:56:39 -08:00
hiredis Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
iccpd Replace unsafe functions in iccpd (#11694) 2022-09-13 09:52:17 -04:00
ifupdown2 Patch ifupdown2 (#9630) (#11548) 2022-09-26 09:30:38 -07:00
initramfs-tools Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
iproute2 [iproute2]: Enhance iproute2 to update PN for XPN (#11474) 2022-07-24 19:19:33 +08:00
iptables Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
isc-dhcp Fix dhcp option buffer issue (#12033) 2022-09-17 06:08:10 +08:00
ixgbe Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
kdump-tools Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
libnl3 Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
libteam Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
libyang Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
libyang1 Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
libyang2 Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
linkmgrd@b3501d27da [sonic-linkmgrd][master] submodule update (#12610) 2022-11-08 11:08:35 -08:00
lldpd Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
lm-sensors Fix sensord service install (#12376) 2022-10-21 14:25:24 +08:00
monit Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
mpdecimal Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
ntp Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
openssh [openssh] Export remote address to environment variable for TACACS authorization. (#12447) 2022-11-03 17:31:13 +08:00
ptf@36a3e3d9ac [docker-sonic-mgmt] install ptf framework in mgmt container and upgrade ptf (#3239) 2019-07-30 10:19:48 -07:00
ptf-py3@405513bcad Add python3 virtual environment for docker-ptf (#10599) 2022-04-26 09:13:26 +08:00
ptf-py3.patch Add python3 virtual environment for docker-ptf (#10599) 2022-04-26 09:13:26 +08:00
radius Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
redis Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
redis-dump-load@7585497951 [redis-dump-load] Update submodule (#5215) 2020-08-19 11:23:42 -07:00
redis-dump-load.patch [build] Use pip to install setup.py dependency instead of python setup.py install (#8997) 2021-10-26 21:12:45 -07:00
scapy@8b63d73a17 [scapy] update scapy to 2.4.5 and patch it (#10457) 2022-04-07 14:23:35 +03:00
scapy.patch [scapy]: Patch scapy 2.4.5 for sniffing on intfs (#10644) 2022-05-18 13:01:27 -07:00
sflow Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
snmpd [snmpd] Fixed snmpd memory leak issue (#11812) 2022-08-25 00:24:53 -07:00
socat Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
sonic-bgpcfgd better solution for STATIC_ROUTE_EXPIRY_TIME check (#12824) 2022-11-25 20:12:41 +08:00
sonic-build-hooks [build] Add environment when using dpkg hook to avoid lock loop. (#13150) 2023-01-05 13:16:49 +08:00
sonic-config-engine [Chassis][Voq]update to add buffer_queue config on system ports (#12156) 2022-12-31 23:59:54 -08:00
sonic-containercfgd [infra] Support syslog rate limit configuration (#12490) 2022-12-20 10:53:58 +02:00
sonic-ctrmgrd Fix code irregular issues (#12595) 2022-11-07 13:06:19 +08:00
sonic-dbsyncd@0d67faf36b Update submodule sonic-dbsyncd (#11555) 2022-08-01 10:03:08 +08:00
sonic-device-data Update azure.github.io links to sonic-net.github.io (#12209) 2022-10-02 14:02:10 +08:00
sonic-eventd Fix rsyslog_plugin UT with timestamp formatter (#13241) 2023-01-04 14:56:28 -08:00
sonic-fips Touch the donwload files to change the modified time (#10929) 2022-05-26 21:55:13 +08:00
sonic-frr Keep custom rsyslog file for docker-sonic-vs (#13056) 2022-12-14 16:49:37 -08:00
sonic-frr-mgmt-framework Replace swsssdk with swsscommon (#11215) 2022-07-11 10:01:10 +08:00
sonic-genl-packet@829cc21762 Add genl packet to sonic-buildimage (#13032) 2022-12-14 15:15:47 -05:00
sonic-gnmi@d922a076ca [submodule] Update sonic-gnmi submodule (#13264) 2023-01-05 16:24:48 -08:00
sonic-host-services@4a2ef99630 [Submodule] Advance sonic-host-services pointer (#12902) 2022-12-01 15:35:44 +02:00
sonic-host-services-data Make determine-reboot-cause.service into a oneshot service (#12628) 2022-11-12 11:23:56 -08:00
sonic-linux-kernel@dbe40633f1 Keep custom rsyslog file for docker-sonic-vs (#13056) 2022-12-14 16:49:37 -08:00
sonic-mgmt-common@68e03410b9 [submodule] Advance sonic-mgmt-common pointer (#12705) 2022-11-21 10:24:42 -08:00
sonic-mgmt-framework@744602bbd8 [submodule] Update sonic-mgmt-framework HEAD pointer. (#12434) 2022-10-20 13:00:40 +08:00
sonic-p4rt [sonic-pins] update submodule ptr (#12644) 2022-12-01 10:05:47 -08:00
sonic-platform-common@676b329efd [platform-common] submodule update (#13110) 2022-12-20 02:03:11 -08:00
sonic-platform-daemons@9657a26de3 [platform-daemon][platform-common][utilities] Advance submodule head (#13009) 2022-12-12 23:39:32 -08:00
sonic-platform-pde@f18ebc297d [PDE]: introduce the SONiC Platform Development Env (#7510) 2021-07-24 16:24:43 -07:00
sonic-py-common [chassis] update the asic_status.py to read from CHASSIS_FABRIC_ASIC_INFO_TABLE (#12576) 2022-12-07 21:53:47 -08:00
sonic-py-swsssdk@d3584fcec3 [submodule] Advance sonic-py-swsssdk pointer (#12703) 2022-11-21 10:23:33 -08:00
sonic-restapi@dac446feb2 [Restapi] Update submodule (#12006) 2022-10-25 15:44:13 -07:00
sonic-sairedis@402eb14a6d [submodule]: Advance sonic-sairedis submodule. (#13270) 2023-01-05 19:53:52 +02:00
sonic-snmpagent@bf6cd4cc34 update sonic-snmpagent pointer (#12706) 2022-11-16 05:40:10 -08:00
sonic-swss@bdedf694f1 [submodule] Advance sonic-swss pointer (#13223) 2023-01-02 13:14:06 +02:00
sonic-swss-common@70b36090ee Updating submodule (swss-common) (#13144) 2023-01-04 13:00:57 -08:00
sonic-utilities@b34a540cca [submodule] Advance sonic-utilities submodule pointer (#13113) 2023-01-06 07:56:49 +02:00
sonic-yang-mgmt [sonic-yang-mgmt] Replace subprocess using with shell=True (#12537) 2022-10-31 10:44:54 -04:00
sonic-yang-models Add DASH yang (#13078) 2023-01-03 09:19:42 -08:00
sonic-ztp@f7dd3c54ec [sonic-ztp] Submodule update (#9589) 2022-01-02 17:56:14 +02:00
swig Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
system-health [system-health] Led color shall be controlled by configuration when system is booting (#12487) 2022-11-30 18:38:50 -08:00
systemd-sonic-generator Initialize pointer variable platform before use in get_num_of_asic (#12351) 2022-11-14 11:41:13 -08:00
tacacs [TACACS] Send remote address in TACACS+ authorization message. (#12190) 2022-11-01 08:42:55 +08:00
thrift Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
thrift_0_14_1 add build target thrift 014 for python2 (#12790) 2022-11-21 21:25:19 -08:00
wpasupplicant [submodule]: Update sonic-wpa-supplicant (#11636) 2022-08-06 22:38:50 -07:00