Lines Matching refs:pfc
1344 lldp_nvlist2pfc(nvlist_t *tlv_nvl, lldp_pfc_t *pfc)
1354 &pfc->lp_willing)) != 0) {
1358 &pfc->lp_mbc)) != 0) {
1362 &pfc->lp_cap)) != 0) {
1366 &pfc->lp_enable)) != 0) {
1374 lldp_tlv2pfc(lldp_tlv_t *tlv, lldp_pfc_t *pfc)
1390 pfc->lp_willing = u8 >> 7;
1391 pfc->lp_mbc = (u8 >> 6) & 0x1;
1392 pfc->lp_cap = u8 & 0xF;
1394 pfc->lp_enable = *value;
1397 if ((pfc->lp_enable >> pfc->lp_cap) > 0)
1405 lldp_pfc2pdu(lldp_pfc_t *pfc, uint8_t *lldpdu, size_t pdusize,
1418 val = pfc->lp_willing << 7 | pfc->lp_mbc << 6 | pfc->lp_cap;
1421 *(uint8_t *)(void *)lldpdu = pfc->lp_enable;