Searched defs:sa_len (Results 1 - 10 of 10) 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/sys/dev/hyperv/hvsock/
H A Dhv_sock.h53 unsigned char sa_len; member in struct:sockaddr_hvs
/freebsd-head/contrib/llvm-project/lldb/source/Host/common/
H A DTCPSocket.cpp234 socklen_t sa_len = address.GetLength(); local
235 if (getsockname(fd, &address.sockaddr(), &sa_len) == 0)
273 socklen_t sa_len = AcceptAddr.GetMaxLength();
274 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/sys/net/
H A Droute.c335 * are zeroed sockaddr-like structures with sa_len field initialized
349 int sa_len; local
356 sa_len = src->sa_len;
358 if (src->sa_len > dst->sa_len)
360 memcpy(dst, src, src->sa_len);
369 * Radix stores different value in sa_len,
373 if (sa_len > dst->sa_len)
[all...]
/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/tests/sys/net/routing/
H A Drtsock_common.h422 if (a->sa_len != b->sa_len) {
423 snprintf(msg, sz, "len: %d vs %d", a->sa_len, b->sa_len);
506 if (memcmp(a, b, a->sa_len)) {
508 for (i = 0; i < a->sa_len; i++)
753 ptr += ALIGN(((struct sockaddr *)ptr)->sa_len);
758 memcpy(ptr, sa, sa->sa_len);
770 ptr += ALIGN(((struct sockaddr *)ptr)->sa_len);
786 int sa_len local
[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.c505 (addr->sa_len != sizeof(struct sockaddr_in))) {
996 memcpy(dst, src, src->sa_len);
1200 size_t sa_len; local
1208 sa_len = laddr->ifa->address.sa.sa_len;
1209 if (actual + sa_len > limit) {
1229 addr = (struct sockaddr *)((caddr_t)addr + sa_len);
1230 actual += sa_len;
2630 ((struct sockaddr *)(&net->ro._l_addr))->sa_len);
6968 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 173 milliseconds