Changeset View
Changeset View
Standalone View
Standalone View
sys/net/ieee8023ad_lacp.h
Show First 20 Lines • Show All 223 Lines • ▼ Show 20 Lines | #define lp_systemid lp_actor.lip_systemid | ||||
struct timeval lp_last_lacpdu; | struct timeval lp_last_lacpdu; | ||||
int lp_lacpdu_sent; | int lp_lacpdu_sent; | ||||
enum lacp_mux_state lp_mux_state; | enum lacp_mux_state lp_mux_state; | ||||
enum lacp_selected lp_selected; | enum lacp_selected lp_selected; | ||||
int lp_flags; | int lp_flags; | ||||
u_int lp_media; /* XXX redundant */ | u_int lp_media; /* XXX redundant */ | ||||
int lp_timer[LACP_NTIMER]; | int lp_timer[LACP_NTIMER]; | ||||
struct ifmultiaddr *lp_ifma; | struct ifmultiaddr *lp_ifma; | ||||
struct lagg_snd_tag *lp_rl_tag; | |||||
hselasky: Why not just inline the tag. It is pretty small already. Saves a memory allocation. | |||||
struct lacp_aggregator *lp_aggregator; | struct lacp_aggregator *lp_aggregator; | ||||
}; | }; | ||||
struct lacp_aggregator { | struct lacp_aggregator { | ||||
TAILQ_ENTRY(lacp_aggregator) la_q; | TAILQ_ENTRY(lacp_aggregator) la_q; | ||||
int la_refcnt; /* num of ports which selected us */ | int la_refcnt; /* num of ports which selected us */ | ||||
int la_nports; /* num of distributing ports */ | int la_nports; /* num of distributing ports */ | ||||
▲ Show 20 Lines • Show All 114 Lines • Show Last 20 Lines |
Why not just inline the tag. It is pretty small already. Saves a memory allocation.