Searched defs:_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) \ argument106 #define sa46_address(_sa46) ((uint8_t *)((_sa46)->sa4.sin_family == AF_INET ? \ argument109 #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 argument114 #define sa46_address_len(_sa46) ((_sa46)->sa4.sin_family == AF_INET ? 4 : 16) argument