Searched refs:defaultMask (Results 1 – 4 of 4) sorted by relevance
462 sockaddr_in6 *defaultMask = (sockaddr_in6 *)_defaultMask; in ipv6_set_to_defaults() local466 if (address == NULL || defaultMask == NULL) in ipv6_set_to_defaults()469 defaultMask->sin6_len = sizeof(sockaddr_in); in ipv6_set_to_defaults()470 defaultMask->sin6_family = AF_INET6; in ipv6_set_to_defaults()471 defaultMask->sin6_port = 0; in ipv6_set_to_defaults()473 memcpy(defaultMask->sin6_addr.s6_addr, in ipv6_set_to_defaults()477 memset(defaultMask->sin6_addr.s6_addr, 0xff, sizeof(in6_addr)); in ipv6_set_to_defaults()
415 sockaddr_in *defaultMask = (sockaddr_in *)_defaultMask; in ipv4_set_to_defaults() local420 if (address == NULL || (defaultMask == NULL && defaultBroadcast == NULL)) in ipv4_set_to_defaults()440 if (defaultMask != NULL) { in ipv4_set_to_defaults()441 defaultMask->sin_len = sizeof(sockaddr_in); in ipv4_set_to_defaults()442 defaultMask->sin_family = AF_INET; in ipv4_set_to_defaults()443 defaultMask->sin_port = 0; in ipv4_set_to_defaults()444 defaultMask->sin_addr.s_addr = net; in ipv4_set_to_defaults()
225 unix_set_to_defaults(sockaddr *defaultMask, sockaddr *defaultBroadcast, in unix_set_to_defaults() argument232 if (defaultMask != NULL) in unix_set_to_defaults()233 error = unix_set_to_empty_address(defaultMask); in unix_set_to_defaults()
160 status_t (*set_to_defaults)(struct sockaddr* defaultMask,