|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
A Binding transaction. More...
#include <zephyr/net/stun.h>
Data Fields | |
| enum stun_binding_state | state |
| State. | |
| enum stun_binding_fail | fail |
| Why it failed, in STUN_BINDING_FAILED. | |
| uint16_t | error_code |
| Error code of the server's error response, 0 if it carried none. | |
| struct net_sockaddr_storage | mapped |
| The address the server sees, in STUN_BINDING_DONE. | |
A Binding transaction.
Zero it before the first stun_binding_start(). The members are for reading.
The library keeps nothing of a transaction outside this structure. Zeroing it abandons a transaction that is in flight and makes the structure ready for stun_binding_start() again.
| uint16_t stun_binding::error_code |
Error code of the server's error response, 0 if it carried none.
| enum stun_binding_fail stun_binding::fail |
Why it failed, in STUN_BINDING_FAILED.
| struct net_sockaddr_storage stun_binding::mapped |
The address the server sees, in STUN_BINDING_DONE.
| enum stun_binding_state stun_binding::state |
State.