Home
last modified time | relevance | path

Searched refs:type_length (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/include/zephyr/net/
Dlldp.h31 #define LLDP_TLV_GET_LENGTH(type_length) (type_length & BIT_MASK(9)) argument
32 #define LLDP_TLV_GET_TYPE(type_length) ((uint8_t)(type_length >> 9)) argument
140 uint16_t type_length; member
150 uint16_t type_length; member
160 uint16_t type_length; member
/Zephyr-latest/samples/net/lldp/src/
Dmain.c19 uint16_t type_length; member
29 tlv.type_length = htons((LLDP_TLV_SYSTEM_NAME << 9) | in set_optional_tlv()
150 uint16_t type_length; in parse_lldp() local
154 if (net_pkt_read_be16(pkt, &type_length)) { in parse_lldp()
159 length = type_length & 0x1FF; in parse_lldp()
160 type = (uint8_t)(type_length >> 9); in parse_lldp()
184 type_length, type, length); in parse_lldp()
/Zephyr-latest/subsys/net/l2/ethernet/lldp/
Dlldp.c365 .type_length = htons((LLDP_TLV_CHASSIS_ID << 9) |
371 .type_length = htons((LLDP_TLV_PORT_ID << 9) |
377 .type_length = htons((LLDP_TLV_TTL << 9) |
/Zephyr-latest/tests/bluetooth/tester/src/btp/
Dbtp_gatt.h297 uint8_t type_length; member
307 uint8_t type_length; member
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_gatt.c2187 gatt_attr->type_length = 2U; in get_attrs_rp()
2191 gatt_attr->type_length = 16U; in get_attrs_rp()
2194 gatt_attr->type_length); in get_attrs_rp()
2213 (cmd_len != sizeof(*cp) + cp->type_length)) { in get_attrs()
2220 if (cp->type_length) { in get_attrs()
2223 if (btp2bt_uuid(cp->type, cp->type_length, &search_uuid.uuid)) { in get_attrs()