Searched defs:sockaddr (Results 1 - 7 of 7) sorted by relevance
/illumos-gate/usr/src/uts/common/sys/ |
H A D | socket_impl.h | 50 struct sockaddr { struct 63 * Common superset of at least AF_INET, AF_INET6 and AF_LINK sockaddr 73 * To represent desired sockaddr max alignment for platform, a
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | socket.h | 108 struct sockaddr { struct
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | conditions.c | 405 * sockaddr representation. Note that 'sockaddr' should point at the correct 406 * sockaddr structure for the address family (sockaddr_in for AF_INET or 435 struct sockaddr_storage sockaddr; member in struct:nwamd_ipaddr_condition_walk_arg 453 &(wa->sockaddr))->sin_addr.s_addr); 458 &(wa->sockaddr))->sin6_addr.s6_addr); 499 if (nwamd_str2sockaddr(AF_INET, ip_address, &wa.sockaddr) != NULL) { 502 } else if (nwamd_str2sockaddr(AF_INET6, ip_address, &wa.sockaddr)
|
/illumos-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | engine.c | 1172 _SOCK_ADDR sockaddr; local 1193 (void) memset(&sockaddr, '\0', sizeof sockaddr); 1214 if (inet_aton(s + i, (struct in_addr *) &sockaddr.sin.sin_addr) 1223 sockaddr.sa.sa_family = AF_INET; 1225 sockaddr.sin.sin_port = port; 1233 &sockaddr.sin6.sin6_addr) != 1) 1241 sockaddr.sa.sa_family = AF_INET6; 1243 sockaddr.sin6.sin6_port = port; 1250 if (sm_strlcpy(sockaddr [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | route.c | 187 struct sockaddr sa; 265 static char *netname(struct sockaddr *sa); 276 static char *routename(const struct sockaddr *sa); 279 static int salen(const struct sockaddr *sa); 287 static void sockaddr(char *addr, struct sockaddr *sa); 810 struct sockaddr *sa = (struct sockaddr *)(rtm + 1); 816 sa = (struct sockaddr *)(salen(sa) + (char *)sa); 826 routename(const struct sockaddr *s 2897 sockaddr(char *addr, struct sockaddr *sa) function [all...] |
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | socket.h | 305 struct sockaddr { struct 540 * 4.3 compat sockaddr, move to compat file later 615 int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); 616 int bind(int, const struct sockaddr *, socklen_t); 617 int connect(int, const struct sockaddr *, socklen_t); 619 int accept4(int, struct sockaddr * __restrict, socklen_t * __restrict, int); 620 int bindat(int, int, const struct sockaddr *, socklen_t); 621 int connectat(int, int, const struct sockaddr *, socklen_t); 623 int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); 624 int getsockname(int, struct sockaddr * __restric [all...] |
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 1958 struct sockaddr sa; 1970 salen(struct sockaddr *sa) 1980 return (sizeof (struct sockaddr)); 2008 struct sockaddr *sa; 2092 sa = (struct sockaddr *)cp; 2536 sockaddr_to_str(sa_family_t af, const struct sockaddr *sockaddr, argument 2545 sin = SIN(sockaddr); 2549 sin6 = SIN6(sockaddr); 2566 return (mask2plen((struct sockaddr *) [all...] |
Completed in 86 milliseconds