Home
last modified time | relevance | path

Searched refs:mp_cidcnt (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_protect.c2021 for (i = 0; i < p->mp_cidcnt; i++) { in dhcpnospoof_check_cid()
2442 if (p->mp_cidcnt == MPT_RESET) in validate_cids()
2445 if (p->mp_cidcnt > MPT_MAXCID) in validate_cids()
2448 for (i = 0; i < p->mp_cidcnt; i++) { in validate_cids()
2457 for (j = 0; j < p->mp_cidcnt; j++) { in validate_cids()
2548 if (np->mp_cidcnt != 0) { in mac_protect_update()
2549 if (np->mp_cidcnt <= MPT_MAXCID) { in mac_protect_update()
2551 cp->mp_cidcnt = np->mp_cidcnt; in mac_protect_update()
2552 } else if (np->mp_cidcnt == MPT_RESET) { in mac_protect_update()
2554 cp->mp_cidcnt = 0; in mac_protect_update()
/illumos-gate/usr/src/uts/common/sys/
H A Dmac_flow.h182 uint32_t mp_cidcnt; member
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlinkprop.c3101 if (p->mp_cidcnt == 0) { in get_allowedcids()
3105 if (p->mp_cidcnt > *val_cnt) in get_allowedcids()
3108 for (i = 0; i < p->mp_cidcnt; i++) { in get_allowedcids()
3113 *val_cnt = p->mp_cidcnt; in get_allowedcids()
3132 p->mp_cidcnt = cnt; in extract_allowedcids()