Home
last modified time | relevance | path

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

/third_party/libcoap/src/oscore/
Doscore.c247 size_t option_len, in oscore_decode_option_value() argument
253 cose->oscore_option.length = option_len; in oscore_decode_option_value()
255 if (option_len == 0) in oscore_decode_option_value()
258 if (option_len > 255 || partial_iv_len == 6 || partial_iv_len == 7 || in oscore_decode_option_value()
269 if (offset + partial_iv_len > option_len) { in oscore_decode_option_value()
281 if (offset >= option_len) in oscore_decode_option_value()
285 if (offset + kid_context.length > option_len) { in oscore_decode_option_value()
296 key_id.length = option_len - offset; in oscore_decode_option_value()
/third_party/lwip/src/core/ipv6/
Dnd6.c642 u16_t option_len; in nd6_input() local
648 option_len = ((u8_t)option_len8) << 3; in nd6_input()
649 if (option_len > p->tot_len - offset) { in nd6_input()
658 if (option_len > sizeof(nd6_ra_buffer)) { in nd6_input()
665 option_len = sizeof(nd6_ra_buffer); in nd6_input()
668 option_len = pbuf_copy_partial(p, &nd6_ra_buffer, option_len, offset); in nd6_input()
675 if (option_len < sizeof(struct lladdr_option)) { in nd6_input()
691 if (option_len < sizeof(struct mtu_option)) { in nd6_input()
712 if (option_len < sizeof(struct prefix_option)) { in nd6_input()
763 if (option_len < SIZEOF_RDNSS_OPTION_BASE) { in nd6_input()
/third_party/libcoap/include/oscore/
Doscore.h90 size_t option_len,
/third_party/toybox/toys/pending/
Ddhcp6.c174 static void fill_option(uint16_t option_id, uint16_t option_len, uint8_t **dhmesg) in fill_option() argument
179 *(uint16_t*)(tmp+2) = htons(option_len); in fill_option()
/third_party/lwip/src/core/ipv4/
Ddhcp.c219 static u16_t dhcp_option(u16_t options_out_len, u8_t *options, u8_t option_type, u8_t option_len);
1499 dhcp_option(u16_t options_out_len, u8_t *options, u8_t option_type, u8_t option_len) argument
1501 …_out_len + 2 + option_len <= DHCP_OPTIONS_LEN", options_out_len + 2U + option_len <= DHCP_OPTIONS_…
1503 options[options_out_len++] = option_len;
/third_party/rust/crates/libc/src/vxworks/
Dmod.rs1581 option_len: socklen_t, in setsockopt()
/third_party/rust/crates/libc/src/unix/
Dmod.rs678 option_len: socklen_t, in setsockopt()
/third_party/rust/crates/libc/src/fuchsia/
Dmod.rs3492 option_len: socklen_t, in setsockopt()