Home
last modified time | relevance | path

Searched refs:socksize (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/sendmail/src/
H A Ddaemon.c1086 SOCKADDR_LEN_T socksize = 0; local
1207 socksize = sizeof(d->d_addr.sunix);
1212 socksize = sizeof(d->d_addr.sin);
1218 socksize = sizeof(d->d_addr.sin6);
1224 socksize = sizeof(d->d_addr.siso);
1229 socksize = sizeof(d->d_addr);
1233 if (bind(d->d_socket, &d->d_addr.sa, socksize) < 0)
1252 return socksize;
2164 volatile SOCKADDR_LEN_T socksize = 0; local
2229 socksize = sizeof(struct sockaddr_in);
[all …]
/freebsd/sys/net/
H A Dif.c827 unsigned socksize, ifasize; in if_attach_internal() local
879 socksize = masklen + ifp->if_addrlen; in if_attach_internal()
880 if (socksize < sizeof(*sdl)) in if_attach_internal()
881 socksize = sizeof(*sdl); in if_attach_internal()
882 socksize = roundup2(socksize, sizeof(long)); in if_attach_internal()
883 ifasize = sizeof(*ifa) + 2 * socksize; in if_attach_internal()
886 sdl->sdl_len = socksize; in if_attach_internal()
895 sdl = (struct sockaddr_dl *)(socksize + (caddr_t)sdl); in if_attach_internal()