Searched refs:mojo_struct_header_t (Results 1 – 5 of 5) sorted by relevance
9 _Static_assert(sizeof(mojo_struct_header_t) == 8u, "mojo_struct_header_t should be 8 bytes");12 if (size < sizeof(mojo_struct_header_t) || size > UINT32_MAX) { in mojo_validate_struct_header()16 const mojo_struct_header_t* header = (const mojo_struct_header_t*)data; in mojo_validate_struct_header()18 if (header->num_bytes < sizeof(mojo_struct_header_t) || header->num_bytes > size) { in mojo_validate_struct_header()
24 bool mojo_validate_message_header(const mojo_struct_header_t* header, size_t size);27 mojo_struct_header_t struct_header;
23 } mojo_struct_header_t; typedef
14 bool mojo_validate_message_header(const mojo_struct_header_t* header, size_t size) { in mojo_validate_message_header()
51 mojo_struct_header_t* in_struct_header = (mojo_struct_header_t*)in_msg_buf; in serve_echo_request()
Completed in 8 milliseconds