Lines Matching defs:type
76 lldp_set_typelen(uint8_t *lldpdu, uint8_t type, uint16_t len)
78 uint16_t tl = type;
81 * `len' always includes 7 bits of type and 9 bits of length of
82 * TLV, i.e., 2 bytes of type and length, so subtract 2 from `len'
98 /* first set the org. specific tlv type */
171 lldp_chassis_subtype2str(uint8_t type)
173 switch (type) {
307 lldp_port_subtype2str(uint8_t type)
309 switch (type) {
1811 lldp_maddr_subtype2str(uint8_t type)
1813 switch (type) {
1825 lldp_maddr_ifsubtype2str(uint8_t type)
1827 switch (type) {
1863 lldp_nvlist2unknowntlv(nvlist_t *nvl, int type, lldp_unknowntlv_t **ukpp,
1876 if (type == -1) {
1878 } else if (tlvtype == type) {
1891 if (type != -1 && tlvtype != type)