Go to the source code of this file.
|
| LWS_VISIBLE LWS_EXTERN int | lws_stun_req_pack (struct lws *wsi, enum lws_stun_req_type type, struct sockaddr_in *sa4, uint8_t *buf, size_t len, void *cookie) |
| |
| LWS_VISIBLE LWS_EXTERN int | lws_stun_validate_and_reply (struct lws *wsi, uint8_t *in, size_t in_len, uint8_t *out, size_t out_len, const char *password, const struct sockaddr_in *peer_sin) |
| |
◆ LWS_STUN_MAGIC_COOKIE
| #define LWS_STUN_MAGIC_COOKIE 0x2112A442 |
◆ LWS_STUN_FINGERPRINT_XOR
| #define LWS_STUN_FINGERPRINT_XOR 0x5354554e |
◆ lws_stun_req_type
| Enumerator |
|---|
| LWS_STUNREQ_BINDING | |
Definition at line 31 of file lws-stun.h.
◆ lws_stun_attr_type
| Enumerator |
|---|
| LWS_STUN_ATTR_USERNAME | |
Definition at line 35 of file lws-stun.h.
◆ lws_stun_req_pack()
◆ lws_stun_validate_and_reply()