Searched refs:socksize (Results 1 – 2 of 2) sorted by relevance
1086 SOCKADDR_LEN_T socksize = 0; local1207 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; local2229 socksize = sizeof(struct sockaddr_in);[all …]
827 unsigned socksize, ifasize; in if_attach_internal() local879 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()