Home
last modified time | relevance | path

Searched defs:_sa46 (Results 1 – 1 of 1) sorted by relevance

/third_party/libwebsockets/include/libwebsockets/
Dlws-adopt.h97 #define sa46_sockaddr(_sa46) ((struct sockaddr *)(_sa46)) argument
100 #define sa46_socklen(_sa46) (socklen_t)((_sa46)->sa4.sin_family == AF_INET ? \ argument
103 #define sa46_sockport(_sa46, _sp) { if ((_sa46)->sa4.sin_family == AF_INET) \ argument
106 #define sa46_address(_sa46) ((uint8_t *)((_sa46)->sa4.sin_family == AF_INET ? \ argument
109 #define sa46_socklen(_sa46) (socklen_t)sizeof(struct sockaddr_in) argument
110 #define sa46_sockport(_sa46, _sp) (_sa46)->sa4.sin_port = (_sp) argument
111 #define sa46_address(_sa46) (uint8_t *)&_sa46->sa4.sin_addr argument
114 #define sa46_address_len(_sa46) ((_sa46)->sa4.sin_family == AF_INET ? 4 : 16) argument