Searched defs:sa_len (Results 1 - 8 of 8) sorted by relevance

/freebsd-head/contrib/bearssl/samples/
H A Dserver_basic.c116 size_t sa_len; local
125 sa_len = sizeof sa4;
133 sa_len = sizeof sa6;
140 sa_len = p->ai_addrlen;
158 if (bind(fd, sa, sa_len) < 0) {
189 socklen_t sa_len; local
193 sa_len = sizeof sa;
194 fd = accept(server_fd, &sa, &sa_len);
/freebsd-head/contrib/llvm/tools/lldb/source/Host/common/
H A DTCPSocket.cpp226 socklen_t sa_len = address.GetLength(); local
227 if (getsockname(fd, &address.sockaddr(), &sa_len) == 0)
263 socklen_t sa_len = AcceptAddr.GetMaxLength();
264 sock = AcceptSocket(fd, &AcceptAddr.sockaddr(), &sa_len, inherit,
/freebsd-head/contrib/bearssl/tools/
H A Dserver.c72 size_t sa_len; local
80 sa_len = sizeof sa4;
88 sa_len = sizeof sa6;
95 sa_len = p->ai_addrlen;
132 if (bind(fd, sa, sa_len) < 0) {
173 socklen_t sa_len; local
175 sa_len = sizeof sa;
176 fd = accept(server_fd, (struct sockaddr *)&sa, &sa_len);
/freebsd-head/crypto/heimdal/lib/roken/
H A Dgetifaddrs.c221 sa->sa_len = ifa_sa_len(family, len);
258 sa->sa_len = ifa_sa_len(family, len);
651 socklen_t sa_len; local
662 sa_len = ifa_sa_len(AF_PACKET, rtapayload);
664 sockaddr_size = NLMSG_ALIGN(sa_len);
666 dlen += NLMSG_ALIGN(sa_len);
668 memset(*sap, 0, sa_len);
672 data += NLMSG_ALIGN(sa_len);
933 salen = sa->sa_len;
934 sz = max(sz, sizeof(ifr->ifr_name) + sa->sa_len);
[all...]
/freebsd-head/sys/net/
H A Droute.c635 if (rt == NULL || (rt_mask(rt) && rt_mask(rt)->sa_len < 2))
811 if (dst->sa_len == 0)
828 * are zeroed sockaddr-like structures with sa_len field initialized
841 int sa_len; local
847 sa_len = src->sa_len;
849 if (src->sa_len > dst->sa_len)
851 memcpy(dst, src, src->sa_len);
861 * Radix stores different value in sa_len,
[all...]
/freebsd-head/contrib/wpa/src/eap_common/
H A Dikev2_common.h297 size_t sa_len; member in struct:ikev2_payloads
/freebsd-head/sys/netinet/
H A Dsctp_usrreq.c517 (addr->sa_len != sizeof(struct sockaddr_in))) {
1005 memcpy(ss, sa, sa->sa_len);
1213 size_t sa_len; local
1221 sa_len = laddr->ifa->address.sa.sa_len;
1222 if (actual + sa_len > limit) {
1242 sas = (struct sockaddr_storage *)((caddr_t)sas + sa_len);
1243 actual += sa_len;
2651 ((struct sockaddr *)(&stcb->asoc.primary_destination->ro._l_addr))->sa_len);
6998 if (addr->sa_len !
[all...]
/freebsd-head/sys/sys/
H A Dsocket.h329 unsigned char sa_len; /* total length */ member in struct:sockaddr

Completed in 203 milliseconds