Searched refs:_sa46 (Results 1 – 1 of 1) sorted by relevance
97 #define sa46_sockaddr(_sa46) ((struct sockaddr *)(_sa46)) argument100 #define sa46_socklen(_sa46) (socklen_t)((_sa46)->sa4.sin_family == AF_INET ? \ argument103 #define sa46_sockport(_sa46, _sp) { if ((_sa46)->sa4.sin_family == AF_INET) \ argument104 (_sa46)->sa4.sin_port = (_sp); else \105 (_sa46)->sa6.sin6_port = (_sp); }106 #define sa46_address(_sa46) ((uint8_t *)((_sa46)->sa4.sin_family == AF_INET ? \ argument107 &_sa46->sa4.sin_addr : &_sa46->sa6.sin6_addr ))109 #define sa46_socklen(_sa46) (socklen_t)sizeof(struct sockaddr_in) argument110 #define sa46_sockport(_sa46, _sp) (_sa46)->sa4.sin_port = (_sp) argument111 #define sa46_address(_sa46) (uint8_t *)&_sa46->sa4.sin_addr argument[all …]