Lines Matching refs:SendmailAddress
77 union bigsockaddr SendmailAddress;
122 bzero(&SendmailAddress, sizeof (SendmailAddress));
138 &SendmailAddress.sin6.sin6_addr, IN6ADDRSZ);
139 if (IN6_IS_ADDR_V4MAPPED(&SendmailAddress.sin6.sin6_addr)) {
140 SendmailAddress.sa.sa_family = AF_INET;
141 SendmailAddress.sin.sin_port = port;
143 &SendmailAddress.sin.sin_addr, INADDRSZ);
146 SendmailAddress.sa.sa_family = AF_INET6;
147 SendmailAddress.sin6.sin6_port = port;
151 s = socket(SendmailAddress.sa.sa_family, SOCK_STREAM, 0);
159 if (SendmailAddress.sa.sa_family == AF_INET)
161 host, inet_ntoa(SendmailAddress.sin.sin_addr),
162 ntohs(SendmailAddress.sin.sin_port));
166 SendmailAddress.sin6.sin6_addr.s6_addr,
168 ntohs(SendmailAddress.sin6.sin6_port));
169 if (connect(s, (struct sockaddr *)&SendmailAddress,
176 &SendmailAddress.sin6.sin6_addr, IN6ADDRSZ);
178 &SendmailAddress.sin6.sin6_addr)) {
179 SendmailAddress.sa.sa_family = AF_INET;
182 &SendmailAddress.sin.sin_addr,
186 SendmailAddress.sa.sa_family = AF_INET6;