Searched refs:next_tlv (Results 1 – 1 of 1) sorted by relevance
1528 u_int8_t *next_tlv = (u_int8_t *)(cursor + sizeof(type) + sizeof(length) + length); in necp_buffer_write_tlv_validate() local1529 if (next_tlv <= buffer || // make sure the next TLV start doesn't overflow in necp_buffer_write_tlv_validate()1530 …(uintptr_t)(next_tlv - buffer) > buffer_length) { // make sure the next TLV has enough room in… in necp_buffer_write_tlv_validate()1547 u_int8_t *next_tlv = (u_int8_t *)(cursor + sizeof(type) + sizeof(length) + length); in necp_buffer_write_tlv_if_different() local1562 return next_tlv; in necp_buffer_write_tlv_if_different()1573 u_int8_t *next_tlv = (u_int8_t *)(cursor + sizeof(type) + sizeof(length) + length); in necp_buffer_write_tlv() local1580 return next_tlv; in necp_buffer_write_tlv()