Home
last modified time | relevance | path

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

/xnu-11417.140.69/bsd/net/
H A Dnecp.c2187 u_int8_t *next_tlv = (u_int8_t *)(cursor + sizeof(type) + sizeof(length) + length); in necp_buffer_write_tlv_validate() local
2188 if (next_tlv <= buffer || // make sure the next TLV start doesn't overflow in necp_buffer_write_tlv_validate()
2189 …(uintptr_t)(next_tlv - buffer) > buffer_length) { // make sure the next TLV has enough room in… in necp_buffer_write_tlv_validate()
2208 u_int8_t * __indexable next_tlv = (u_int8_t *)(cursor + sizeof(type) + sizeof(length) + length); variable
2223 return next_tlv;
2236 u_int8_t *next_tlv = (u_int8_t *)(cursor + sizeof(type) + sizeof(length) + length); variable
2243 return next_tlv;
2257 u_int8_t *next_tlv = (u_int8_t *)(cursor + sizeof(type) + sizeof(flags) + sizeof(length) + length); variable
2267 return next_tlv;