Lines Matching refs:AF_INET
256 them.sin_family=AF_INET;
266 s=socket(AF_INET,SOCK_STREAM,SOCKET_PROTOCOL);
268 s=socket(AF_INET,SOCK_DGRAM,IPPROTO_UDP);
334 server.sin_family=AF_INET;
347 s=socket(AF_INET,SOCK_STREAM,SOCKET_PROTOCOL);
349 s=socket(AF_INET, SOCK_DGRAM,IPPROTO_UDP);
437 sizeof(from.sin_addr.s_addr),AF_INET);
440 sizeof(struct in_addr),AF_INET);
463 if (h2->h_addrtype != AF_INET)
465 BIO_printf(bio_err,"gethostbyname addr is not AF_INET\n");
530 if ((short)he->h_addrtype != AF_INET)
532 BIO_printf(bio_err,"gethostbyname addr is not AF_INET\n");