Lines Matching defs:tlv_nvl

193 lldp_nvlist2chassisid(nvlist_t *tlv_nvl, lldp_chassisid_t *cid)
199 if ((err = nvlist_lookup_nvlist(tlv_nvl, LLDP_NVP_CHASSISID,
330 lldp_nvlist2portid(nvlist_t *tlv_nvl, lldp_portid_t *pid)
336 if ((err = nvlist_lookup_nvlist(tlv_nvl, LLDP_NVP_PORTID,
402 lldp_nvlist2ttl(nvlist_t *tlv_nvl, uint16_t *ttl)
404 return (nvlist_lookup_uint16(tlv_nvl, LLDP_NVP_TTL, ttl));
482 lldp_nvlist2portdescr(nvlist_t *tlv_nvl, char **portdescr)
484 return (nvlist_lookup_string(tlv_nvl, LLDP_NVP_PORTDESC, portdescr));
515 lldp_nvlist2sysname(nvlist_t *tlv_nvl, char **sysname)
517 return (nvlist_lookup_string(tlv_nvl, LLDP_NVP_SYSNAME, sysname));
547 lldp_nvlist2sysdescr(nvlist_t *tlv_nvl, char **sysdescr)
549 return (nvlist_lookup_string(tlv_nvl, LLDP_NVP_SYSDESCR, sysdescr));
610 lldp_nvlist2syscapab(nvlist_t *tlv_nvl, lldp_syscapab_t *sc)
615 if ((err = nvlist_lookup_nvlist(tlv_nvl, LLDP_NVP_SYSCAPAB, &nvl)) != 0)
770 lldp_nvlist2aggr(nvlist_t *tlv_nvl, lldp_aggr_t *aggr)
775 if ((err = lldp_get_nested_nvl(tlv_nvl, LLDP_NVP_ORGANIZATION,
841 lldp_nvlist2maxfsz(nvlist_t *tlv_nvl, uint16_t *fsz)
846 if ((err = lldp_get_nested_nvl(tlv_nvl, LLDP_NVP_ORGANIZATION,
894 lldp_nvlist2pvid(nvlist_t *tlv_nvl, uint16_t *pvid)
899 if ((err = lldp_get_nested_nvl(tlv_nvl, LLDP_NVP_ORGANIZATION,
947 lldp_nvlist2vlan(nvlist_t *tlv_nvl, lldp_vlan_info_t **vinfo, int *count)
958 if (lldp_get_nested_nvl(tlv_nvl, LLDP_NVP_ORGANIZATION,
1053 lldp_nvlist2vnic(nvlist_t *tlv_nvl, lldp_vnic_info_t **vinfo, int *count)
1064 if (lldp_get_nested_nvl(tlv_nvl, LLDP_NVP_ORGANIZATION,
1175 lldp_nvlist2appln(nvlist_t *tlv_nvl, lldp_appln_t **appln, uint_t *nappln)
1185 if (lldp_get_nested_nvl(tlv_nvl, LLDP_NVP_ORGANIZATION,
1344 lldp_nvlist2pfc(nvlist_t *tlv_nvl, lldp_pfc_t *pfc)
1349 if ((err = lldp_get_nested_nvl(tlv_nvl, LLDP_NVP_ORGANIZATION,
1428 lldp_nvlist2pending(nvlist_t *tlv_nvl, boolean_t *pending)
1430 return (nvlist_lookup_boolean_value(tlv_nvl, LLDP_NVP_PFC_PENDING,
1435 lldp_nvlist2evb(nvlist_t *tlv_nvl, lldp_evb_t *evb)
1440 if ((err = lldp_get_nested_nvl(tlv_nvl, LLDP_NVP_ORGANIZATION,
1501 lldp_nvlist2ets(nvlist_t *tlv_nvl, lldp_ets_t *ets, boolean_t config)
1510 if ((err = lldp_get_nested_nvl(tlv_nvl, LLDP_NVP_ORGANIZATION,
2077 lldp_nvlist2infovalid(nvlist_t *tlv_nvl, uint16_t *time)
2079 return (nvlist_lookup_uint16(tlv_nvl, LLDP_NVP_RXINFOVALID_FOR, time));
2083 lldp_nvlist2nexttx(nvlist_t *tlv_nvl, uint16_t *time)
2085 return (nvlist_lookup_uint16(tlv_nvl, LLDP_NVP_NEXTTX_IN, time));