Home
last modified time | relevance | path

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

/Zephyr-latest/tests/subsys/modem/modem_ppp/src/
Dmain.c172 size_t wrapped_pos = 4; in test_modem_ppp_unwrap() local
175 while (wrapped_pos < (wrapped_size - 1)) { in test_modem_ppp_unwrap()
177 if (wrapped[wrapped_pos] == 0x7D) { in test_modem_ppp_unwrap()
178 unwrapped[unwrapped_pos] = wrapped[wrapped_pos + 1] ^ 0x20; in test_modem_ppp_unwrap()
179 wrapped_pos += 2; in test_modem_ppp_unwrap()
185 unwrapped[unwrapped_pos] = wrapped[wrapped_pos]; in test_modem_ppp_unwrap()
186 wrapped_pos += 1; in test_modem_ppp_unwrap()
234 size_t wrapped_pos = 4; in test_modem_ppp_wrap_ppp_frame() local
243 wrapped[wrapped_pos] = 0x7D; in test_modem_ppp_wrap_ppp_frame()
244 wrapped[wrapped_pos + 1] = frame[i] ^ 0x20; in test_modem_ppp_wrap_ppp_frame()
[all …]