/osnet-11/usr/src/lib/libwanboot/common/ |
H A D | socket_inet.h | 37 int socket_write(int, const void *, size_t, struct sockaddr_in *);
|
H A D | socket_inet.c | 81 struct sockaddr_in *addr)
|
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | slp_net_utils.h | 38 int, struct sockaddr_in **, int *); 42 extern SLPError slp_surl2sin(SLPSrvURL *, struct sockaddr_in *);
|
H A D | slp_net_utils.c | 44 struct sockaddr_in addr; 45 struct sockaddr_in netmask; 46 struct sockaddr_in bc_addr; 74 struct sockaddr_in *bc_addrs[], 334 SLPError slp_surl2sin(SLPSrvURL *surl, struct sockaddr_in *sa) { 335 struct sockaddr_in *sin = (struct sockaddr_in *)sa;
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/include/ |
H A D | socket-utils.h | 52 We assume at least ipv4 sockaddr_in support. The sockaddr_storage 72 * "sockaddr_in *". 77 static __inline__ struct sockaddr_in *sa2sin (struct sockaddr *sa) 79 return (struct sockaddr_in *) (void *) sa; 91 static __inline__ struct sockaddr_in *ss2sin (struct sockaddr_storage *ss) 93 return (struct sockaddr_in *) ss; 102 #define sa2sin(S) ((struct sockaddr_in *)(S)) 105 #define ss2sin(S) ((struct sockaddr_in *)(S)) 115 # define socklen(X) ((X)->sa_family == AF_INET6 ? (socklen_t) sizeof (struct sockaddr_in6) : (X)->sa_family == AF_INET ? (socklen_t) sizeof (struct sockaddr_in) : (socklen_t) sizeof (struct sockaddr)) 117 # define socklen(X) ((X)->sa_family == AF_INET ? (socklen_t) sizeof (struct sockaddr_in) [all...] |
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | bindresvport.c | 52 bindresvport(int sd, struct sockaddr_in *sin) 54 struct sockaddr_in myaddr; 55 struct sockaddr_in *bindaddr; 62 if (bindaddr == (struct sockaddr_in *)0) { 97 sizeof (struct sockaddr_in)); 121 len = sizeof (struct sockaddr_in);
|
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | audit_settid.c | 39 static int do_ipv4_address(struct sockaddr_in *, struct sockaddr_in *); 69 rv = do_ipv4_address((struct sockaddr_in *)&peer, 70 (struct sockaddr_in *)&sock); 108 do_ipv4_address(struct sockaddr_in *peer, struct sockaddr_in *sock)
|
/osnet-11/usr/src/lib/libdscfg/common/ |
H A D | cfg_lockd.h | 42 typedef struct sockaddr_in daemonaddr_t;
|
/osnet-11/usr/src/lib/libdscp/ |
H A D | libdscp.c | 54 static int convert_ipv4(struct sockaddr_in *, 69 struct sockaddr_in addr; 178 struct sockaddr_in *sin; 204 sin = (struct sockaddr_in *)saddr; 222 sin = (struct sockaddr_in *)&daddr; 308 (void) memcpy(saddr, &lifr.lifr_addr, sizeof (struct sockaddr_in)); 309 *lenp = sizeof (struct sockaddr_in); 504 convert_ipv4(struct sockaddr_in *addr, struct sockaddr_in6 *addr6, int *lenp)
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | rpc_soc.c | 63 int __rpc_bindresvport(int, struct sockaddr_in *, int *, int); 73 clnt_com_create(struct sockaddr_in *raddr, rpcprog_t prog, rpcvers_t vers, 119 /* Transform sockaddr_in to netbuf */ 154 clntudp_bufcreate(struct sockaddr_in *raddr, rpcprog_t prog, rpcvers_t vers, 167 clntudp_create(struct sockaddr_in *raddr, rpcprog_t program, rpcvers_t version, 175 clnttcp_create(struct sockaddr_in *raddr, rpcprog_t prog, rpcvers_t vers, 230 port = (((struct sockaddr_in *)svc->xp_ltaddr.buf)->sin_port); 312 sinport = &((struct sockaddr_in *)sin)->sin_port; 362 __rpc_bindresvport(int fd, struct sockaddr_in *sin, int *portp, int qlen) 395 struct sockaddr_in *si [all...] |
/osnet-11/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_name_service.c | 126 struct sockaddr_in *si; 154 si = (struct sockaddr_in *)addr->ai_addr; 240 struct sockaddr_in *si; 244 si = (struct sockaddr_in *)remote_ia_address; 267 addr_ptr = (void *)&((struct sockaddr_in *)addr)->sin_addr; 306 IN struct sockaddr_in *addr, 317 struct sockaddr_in *addr); 338 (struct sockaddr_in *)sock, timeout, gid); 352 IN struct sockaddr_in *addr, 357 struct sockaddr_in *si [all...] |
/osnet-11/usr/src/lib/libinetutil/common/ |
H A D | inetutil.c | 93 addr1 = ((const struct sockaddr_in *)ssp1)->sin_addr; 94 addr2 = ((const struct sockaddr_in *)ssp2)->sin_addr; 107 * access to the data inside of the sockaddr_in/6 structures, the code can 122 bzero(mask, sizeof (struct sockaddr_in)); 124 addr += offsetof(struct sockaddr_in, sin_addr); 164 addr += offsetof(struct sockaddr_in, sin_addr); 210 (void) memcpy(&data, ss, sizeof (struct sockaddr_in)); 211 return (((struct sockaddr_in *)&data)->sin_addr.s_addr ==
|
H A D | ifaddrlist.c | 57 struct sockaddr_in *sin; 158 sin = (struct sockaddr_in *)&lifrp->lifr_addr;
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Socket/t/ |
H A D | Socket.t | 117 ++ $w if $_[0] =~ /^6-ARG sockaddr_in call is deprecated/ ; 120 sockaddr_in(1,2,3,4,5,6) ; 123 sockaddr_in(1,2,3,4,5,6) ;
|
/osnet-11/usr/src/lib/libresolv/ |
H A D | resolv.h | 75 struct sockaddr_in nsaddr_list[MAXNS]; /* address of name server */
|
/osnet-11/usr/src/lib/libresolv2/common/isc/ |
H A D | ctl_p.c | 129 const struct sockaddr_in *in = 130 (const struct sockaddr_in *) sa; 173 *((struct sockaddr_in *)dst) = 174 *((const struct sockaddr_in *)src);
|
/osnet-11/usr/src/lib/libinetsvc/common/ |
H A D | inetsvc.h | 152 * Macros for differentiating between sockaddr_in & sockaddr_in6 when 158 sizeof (struct sockaddr_in) : sizeof (struct sockaddr_in6)) 160 ((struct sockaddr_in *)&(s))->sin_port : \ 163 (((struct sockaddr_in *)&(s))->sin_port = port) : \ 166 ((void *) &(((struct sockaddr_in *)&(s))->sin_addr)) : \
|
/osnet-11/usr/src/lib/libuuid/common/ |
H A D | etheraddr.c | 55 struct sockaddr_in *sin; 64 sin = (struct sockaddr_in *)&ar.arp_pa;
|
/osnet-11/usr/src/lib/librdc/common/ |
H A D | netaddrs.c | 149 struct sockaddr_in *s1, *s2; 181 s1 = (struct sockaddr_in *)retaddrs->n_addrs->buf; 196 s2 = (struct sockaddr_in *)&ifr->ifr_addr; 366 ((struct sockaddr_in *)tbind->addr.buf)->sin_port 404 nb->len = nb->maxlen = sizeof (struct sockaddr_in); 422 ((struct sockaddr_in *)(nb->buf))->sin_port = port; 423 ((struct sockaddr_in *)(nb->buf))->sin_family = AF_INET; 442 nb->len = nb->maxlen = sizeof (struct sockaddr_in); 455 ((struct sockaddr_in *)(nb->buf))->sin_port = port; 456 ((struct sockaddr_in *)(n [all...] |
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | nfs.d | 57 inet_ntoa(&((struct sockaddr_in *) 67 inet_ntoa(&((struct sockaddr_in *) 84 inet_ntoa(&((struct sockaddr_in *) 92 inet_ntoa(&((struct sockaddr_in *) 118 &((struct sockaddr_in *)&P->rc_addr)->sin_addr) :
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Socket/ |
H A D | Socket.pm | 8 Socket, sockaddr_in, sockaddr_un, inet_aton, inet_ntoa - load the C socket.h defines and structure manipulators 18 $sin = sockaddr_in($port, $iaddr); 24 $sin = sockaddr_in($port,inet_aton("127.1")); 25 $sin = sockaddr_in(7,inet_aton("localhost")); 26 $sin = sockaddr_in(7,INADDR_LOOPBACK); 29 ($port, $iaddr) = sockaddr_in(getpeername(Socket_Handle)); 120 constant AF_INET for a sockaddr_in and AF_UNIX for a sockaddr_un. It 124 =item sockaddr_in PORT, ADDRESS 126 =item sockaddr_in SOCKADDR_IN 136 (as returned by inet_aton(), or a v-string). Returns the sockaddr_in 362 sub sockaddr_in { subroutine [all...] |
/osnet-11/usr/src/lib/libipadm/common/ |
H A D | ipadm_ngz.c | 73 struct sockaddr_in w_dst; 74 struct sockaddr_in w_gate; 77 struct sockaddr_in w_mask; 88 2 * ROUNDUP_LONG(sizeof (struct sockaddr_in)); 112 w_mask.sin_addr = ((struct sockaddr_in *)&m4)->sin_addr; 114 cp += ROUNDUP_LONG(sizeof (struct sockaddr_in)); 115 w.w_rtm.rtm_msglen += ROUNDUP_LONG(sizeof (struct sockaddr_in)); 229 struct sockaddr_in *sin; 245 sin = (struct sockaddr_in *)&ss;
|
/osnet-11/usr/src/cmd/sendmail/aux/ |
H A D | mconnect.c | 55 struct sockaddr_in sin; /* INET family */ 144 addrlen = sizeof (struct sockaddr_in); 184 addrlen = sizeof (struct sockaddr_in);
|
H A D | etrn.pl | 125 my $sinl = sockaddr_in($port, $laddr); 156 my $sinr = sockaddr_in($port, $thataddr);
|
/osnet-11/usr/src/cmd/hal/addons/network-devices/ |
H A D | common.c | 134 struct sockaddr_in *sin = (struct sockaddr_in *)&ar.xarp_pa; 157 struct sockaddr_in *sin = (struct sockaddr_in *)&ar.xarp_pa; 296 struct sockaddr_in *s = 297 (struct sockaddr_in *)&r.lifr_broadaddr;
|