class TestRecvMsgMeta
Defined at line 107 of file ../../src/connectivity/network/netstack/udp_serde/udp_serde_test_util.h
Test class encapsulating recv-path metadata for the AddrKind::Kind provided
on construction.
Public Methods
void TestRecvMsgMeta (AddrKind::Kind kind)
Defined at line 109 of file ../../src/connectivity/network/netstack/udp_serde/udp_serde_test_util.h
std::pair<RecvMsgMeta, ConstBuffer> GetSerializeInput (bool with_data)
Returns a RecvMsgMeta C struct and address containing valid input for
serializing with the udp_serde protocol, based on the encapsulated data.
If `with_data` is `true`, the returned `RecvMsgMeta` will be be maximally
filled with data; else, it will be minimally filled.
Defined at line 150 of file ../../src/connectivity/network/netstack/udp_serde/udp_serde_test_util.cc
DeserializeRecvMsgMetaResult GetExpectedDeserializeResult ()
Returns a valid (for testing purposes) DeserializeRecvMsgMetaResult C struct
constructed based on the encapsulated data. The message will be maximally filled
with data.
Defined at line 218 of file ../../src/connectivity/network/netstack/udp_serde/udp_serde_test_util.cc