Searched defs:sa (Results 1 - 5 of 5) sorted by relevance

/sendmail/libsm/
H A Dmpeix.c204 struct sockaddr sa; local
213 len = sizeof sa;
214 if (getsockname(fildes, &sa, &len) == -1)
/sendmail/sendmail/
H A Ddaemon.c138 SOCKADDR sa; local
139 SOCKADDR_LEN_T len = sizeof(sa);
409 RealHostAddr.sa.sa_len == 0 ||
411 RealHostAddr.sa.sa_family != Daemons[idx].d_addr.sa.sa_family))
514 switch (Daemons[curdaemon].d_addr.sa.sa_family)
840 NULL), &sa.sa, &len) == 0)
842 p = hostnamebyanyaddr(&sa);
853 if (!isloopback(sa))
[all...]
H A Dutil.c1790 SOCKADDR sa; local
1844 memset(&sa, '\0', sizeof(sa));
1845 slen = sizeof(sa);
1846 if (getsockname(fd, &sa.sa, &slen) < 0)
1851 hp = hostnamebyanyaddr(&sa);
1858 else if (sa.sa.sa_family == AF_INET)
1860 "%s/%d", hp, ntohs(sa
[all...]
H A Dconf.c4607 ** sa -- a pointer to a SOCKADDR containing the address
4614 add_hostnames(sa)
4615 SOCKADDR *sa;
4622 switch (sa->sa.sa_family)
4626 hp = sm_gethostbyaddr((char *) &sa->sin.sin_addr,
4627 sizeof(sa->sin.sin_addr),
4628 sa->sa.sa_family);
4634 hp = sm_gethostbyaddr((char *) &sa
4841 SOCKADDR *sa = (SOCKADDR *) &ifr->lifr_addr; local
[all...]
H A Dsendmail.h1420 struct sockaddr sa; /* general version */ member in union:bigsockaddr
1619 # define SETV6LOOPBACKADDRFOUND(sa) \
1622 if (isloopback(sa)) \
1629 # define SETV6LOOPBACKADDRFOUND(sa)
2668 extern bool isloopback __P((SOCKADDR sa));

Completed in 2787 milliseconds