struct zxio_socket_mark

Defined at line 105 of file ../../sdk/lib/zxio/include/lib/zxio/bsdsocket.h

A fuchsia socket can have multiple optional socket marks. This structure represents

a socket mark for a specified domain. If `is_present` is 0, it means the socket does

not carry a mark for the given domain and `value` field is unspecified.

When getting the socket mark, you need to provide the `domain` field and the other

fields will be filled as a result.

When setting the socket mark, you can set a mark for a domain with `is_present` to

be true, or clear the mark for that domain with `is_present` to be false.

Public Members

uint32_t value
zxio_socket_mark_domain_t domain
bool is_present