Searched refs:sunix (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/ntp/libntp/lib/isc/ |
H A D | sockaddr.c | 137 plen = (unsigned int)strlen(sockaddr->type.sunix.sun_path); in isc_sockaddr_totext() 141 isc_buffer_putmem(target, sockaddr->type.sunix.sun_path, plen); in isc_sockaddr_totext() 494 if (strlen(path) >= sizeof(sockaddr->type.sunix.sun_path)) in isc_sockaddr_frompath() 497 sockaddr->length = sizeof(sockaddr->type.sunix); in isc_sockaddr_frompath() 498 sockaddr->type.sunix.sun_family = AF_UNIX; in isc_sockaddr_frompath() 500 sockaddr->type.sunix.sun_len = in isc_sockaddr_frompath() 501 (unsigned char)sizeof(sockaddr->type.sunix); in isc_sockaddr_frompath() 503 strcpy(sockaddr->type.sunix.sun_path, path); in isc_sockaddr_frompath()
|
H A D | netaddr.c | 353 memcpy(t->type.un, s->type.sunix.sun_path, sizeof(t->type.un)); in isc_netaddr_fromsockaddr()
|
/freebsd/contrib/sendmail/src/ |
H A D | daemon.c | 1106 rval = safefile(d->d_addr.sunix.sun_path, 1115 d->d_addr.sunix.sun_path); 1120 (void) unlink(d->d_addr.sunix.sun_path); 1207 socksize = sizeof(d->d_addr.sunix); 1666 if (strlen(addr) >= sizeof(d->d_addr.sunix.sun_path)) 1671 (long) sizeof(d->d_addr.sunix.sun_path)); 1676 (void) memset(&d->d_addr.sunix.sun_path, '\0', 1677 sizeof(d->d_addr.sunix.sun_path)); 1678 (void) sm_strlcpy((char *)&d->d_addr.sunix.sun_path, 1680 sizeof(d->d_addr.sunix.sun_path)); [all …]
|
H A D | milter.c | 760 if (strlen(colon) >= sizeof(addr.sunix.sun_path)) 812 (void) sm_strlcpy(addr.sunix.sun_path, colon, 813 sizeof(addr.sunix.sun_path)); 3964 sockinfo = addr.sunix.sun_path;
|
H A D | map.c | 8429 if (strlen(colon) >= sizeof(addr.sunix.sun_path)) 8446 (void) sm_strlcpy(addr.sunix.sun_path, colon, 8447 sizeof(addr.sunix.sun_path));
|
H A D | sendmail.h | 1673 struct sockaddr_un sunix; /* UNIX family */ member
|
/freebsd/contrib/ntp/libntp/lib/isc/include/isc/ |
H A D | sockaddr.h | 38 struct sockaddr_un sunix; member
|
/freebsd/contrib/sendmail/libmilter/ |
H A D | listener.c | 243 if (len >= sizeof addr.sunix.sun_path) 250 (void) sm_strlcpy(addr.sunix.sun_path, colon, 251 sizeof addr.sunix.sun_path);
|
H A D | engine.c | 1258 if (sm_strlcpy(sockaddr.sunix.sun_path, s + i, 1259 sizeof sockaddr.sunix.sun_path) >= 1260 sizeof sockaddr.sunix.sun_path) 1268 sockaddr.sunix.sun_family = AF_UNIX;
|