代码搜索:AF_INET

找到约 1,347 项符合「AF_INET」的源代码

代码结果 1,347
www.eeworm.com/read/278507/10531924

h icmpd.h

#include "unpicmpd.h" struct client { int connfd; /* Unix domain stream socket to client */ int family; /* AF_INET or AF_INET6 */ int lport; /* local port bound to client's UDP socket */
www.eeworm.com/read/244988/12827480

cpp client.cpp

// Client.cpp: implementation of the CClient class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "TE.h" #include "Client.h" #include
www.eeworm.com/read/127694/6002393

c sock_get_port.c

#include "unp.h" int sock_get_port(const struct sockaddr *sa, socklen_t salen) { switch (sa->sa_family) { case AF_INET: { struct sockaddr_in *sin = (struct sockaddr_in *) sa; return(sin->sin_p
www.eeworm.com/read/127694/6002863

h icmpd.h

#include "unpicmpd.h" struct client { int connfd; /* Unix domain stream socket to client */ int family; /* AF_INET or AF_INET6 */ int lport; /* local port bound to client's UDP socket */
www.eeworm.com/read/125279/6031642

h include.linux.socket.h

RCSID $Id: include.linux.socket.h,v 1.1.1.1 2002/09/05 03:13:18 ken Exp $ --- ./include/linux/socket.h.preipsec Mon Jul 13 16:47:39 1998 +++ ./include/linux/socket.h Thu Sep 16 11:26:32 1999 @@ -64,8
www.eeworm.com/read/125279/6031698

c net.ipv4.af_inet.c

RCSID $Id: net.ipv4.af_inet.c,v 1.1.1.1 2002/09/05 03:13:18 ken Exp $ --- ./net/ipv4/af_inet.c.preipsec Mon Aug 9 15:05:13 1999 +++ ./net/ipv4/af_inet.c Fri Sep 17 10:13:07 1999 @@ -1140,6 +1140,17 @
www.eeworm.com/read/408584/11380177

c sctpclient04.c

#include "unp.h" int main(int argc, char **argv) { int sock_fd; struct sockaddr_in servaddr; struct sctp_event_subscribe evnts; if(argc != 2) err_quit("Missing host argument - use '%s host'\n"
www.eeworm.com/read/408584/11380188

c sctpclient02.c

#include "unp.h" int main(int argc, char **argv) { int sock_fd; struct sockaddr_in servaddr; struct sctp_event_subscribe evnts; int echo_to_all=0; char byemsg[10]; if(argc < 2) err_quit("Mis
www.eeworm.com/read/408584/11380257

c family_to_level.c

#include "unp.h" int family_to_level(int family) { switch (family) { case AF_INET: return IPPROTO_IP; #ifdef IPV6 case AF_INET6: return IPPROTO_IPV6; #endif default: return -1; } } int Fa
www.eeworm.com/read/408584/11380311

c sock_get_port.c

#include "unp.h" int sock_get_port(const struct sockaddr *sa, socklen_t salen) { switch (sa->sa_family) { case AF_INET: { struct sockaddr_in *sin = (struct sockaddr_in *) sa; return(sin->sin_p