Skip to main content

pause_config_answer

Function pause_config_answer 

Source
pub fn pause_config_answer(offered: u8) -> Option<u8>
Expand description

The config an answerer that implements everything answers to an offered one (RFC 7728 section 9.1, Figure 9): the complementary subset, so that what one side sends the other receives. None for a value the section does not define: “MUST remove the “pause” CCM line in the answer when receiving an offer with a “config” value it does not understand“. The mapping is its own inverse, so it also gives the peer’s config from this endpoint’s.