Module Name: src Committed By: yamaguchi Date: Thu Sep 30 03:15:25 UTC 2021
Modified Files: src/sys/net: if.c if.h if_ethersubr.c src/sys/net/agr: ieee8023ad_lacp.c ieee8023ad_marker.c if_agr.c Log Message: Replace ifnet::if_agriprivate with ifnet::if_lagg agr(4) and lagg(4) can not be used on the same interface so that if_agrprivate and if_lagg are not used at the same time. For resolve this wasteful, if_lagg is used in not only lagg(4) but also agr(4). After this modification, if_lagg has 3 states: 1. if_lagg == NULL - Both agr(4) and lagg(4) are not running on the interface 2. if_lagg != NULL && ifp->if_type != IFT_IEEE8023ADLAG - agr(4) is running on the I/F 3. if_lagg != NULL && ifp->if_type == IFT_IEEE8023ADLAG - lagg(4) is running on the I/F To generate a diff of this commit: cvs rdiff -u -r1.490 -r1.491 src/sys/net/if.c cvs rdiff -u -r1.292 -r1.293 src/sys/net/if.h cvs rdiff -u -r1.293 -r1.294 src/sys/net/if_ethersubr.c cvs rdiff -u -r1.11 -r1.12 src/sys/net/agr/ieee8023ad_lacp.c cvs rdiff -u -r1.4 -r1.5 src/sys/net/agr/ieee8023ad_marker.c cvs rdiff -u -r1.52 -r1.53 src/sys/net/agr/if_agr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.