if (!header_index_init(vp, name, length, exact, var_len, write_method)) return NULL;
TAILQ_FOREACH(hardware, &scfg->g_hardware, h_entries) {
TAILQ_FOREACH(port, &hardware->h_rports, p_entries) {
- if (SMART_HIDDEN(scfg, port)) continue;
+ if (SMART_HIDDEN(port)) continue;
if (withmed && !port->p_chassis->c_med_cap_available) continue;
oid index[3] = { lastchange(port),
hardware->h_ifindex,
if (!header_index_init(vp, name, length, exact, var_len, write_method)) return NULL;
TAILQ_FOREACH(hardware, &scfg->g_hardware, h_entries) {
TAILQ_FOREACH(port, &hardware->h_rports, p_entries) {
- if (SMART_HIDDEN(scfg, port)) continue;
+ if (SMART_HIDDEN(port)) continue;
if (port->p_chassis->c_mgmt.s_addr == INADDR_ANY)
continue;
oid index[9] = { lastchange(port),
if (!header_index_init(vp, name, length, exact, var_len, write_method)) return NULL;
TAILQ_FOREACH(hardware, &scfg->g_hardware, h_entries) {
TAILQ_FOREACH(port, &hardware->h_rports, p_entries) {
- if (SMART_HIDDEN(scfg, port)) continue;
+ if (SMART_HIDDEN(port)) continue;
if (!port->p_chassis->c_med_cap_available) continue;
switch (variant) {
case TPR_VARIANT_MED_POLICY:
if (!header_index_init(vp, name, length, exact, var_len, write_method)) return NULL;
TAILQ_FOREACH(hardware, &scfg->g_hardware, h_entries) {
TAILQ_FOREACH(port, &hardware->h_rports, p_entries) {
- if (SMART_HIDDEN(scfg, port)) continue;
+ if (SMART_HIDDEN(port)) continue;
TAILQ_FOREACH(vlan, &port->p_vlans, v_entries) {
oid index[4] = { lastchange(port),
hardware->h_ifindex,
if (!header_index_init(vp, name, length, exact, var_len, write_method)) return NULL;
TAILQ_FOREACH(hardware, &scfg->g_hardware, h_entries) {
TAILQ_FOREACH(port, &hardware->h_rports, p_entries) {
- if (SMART_HIDDEN(scfg, port)) continue;
+ if (SMART_HIDDEN(port)) continue;
TAILQ_FOREACH(ppvid, &port->p_ppvids, p_entries) {
oid index[4] = { lastchange(port),
hardware->h_ifindex,
if (!header_index_init(vp, name, length, exact, var_len, write_method)) return NULL;
TAILQ_FOREACH(hardware, &scfg->g_hardware, h_entries) {
TAILQ_FOREACH(port, &hardware->h_rports, p_entries) {
- if (SMART_HIDDEN(scfg, port)) continue;
+ if (SMART_HIDDEN(port)) continue;
TAILQ_FOREACH(pi, &port->p_pids, p_entries) {
oid index[4] = { lastchange(port),
hardware->h_ifindex,
long_ret = 0;
TAILQ_FOREACH(hardware, &scfg->g_hardware, h_entries)
TAILQ_FOREACH(port, &hardware->h_rports, p_entries) {
- if (SMART_HIDDEN(scfg, port)) continue;
+ if (SMART_HIDDEN(port)) continue;
if (port->p_lastchange > long_ret)
long_ret = port->p_lastchange;
}