Home
last modified time | relevance | path

Searched refs:sockaddrin (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/libpcap/rpcapd/
H A Ddaemon.c152 static void daemon_seraddr(struct sockaddr_storage *sockaddrin, struct rpcap_sockaddr *sockaddrout);
2838 daemon_seraddr(struct sockaddr_storage *sockaddrin, struct rpcap_sockaddr *sockaddrout) in daemon_seraddr() argument
2843 if (sockaddrin == NULL) return; in daemon_seraddr()
2851 switch (sockaddrin->ss_family) in daemon_seraddr()
2858 sockaddrin_ipv4 = (struct sockaddr_in *) sockaddrin; in daemon_seraddr()
2874 sockaddrin_ipv6 = (struct sockaddr_in6 *) sockaddrin; in daemon_seraddr()
/freebsd/contrib/libpcap/
H A Dpcap-rpcap.c299 rpcap_deseraddr(struct rpcap_sockaddr *sockaddrin, struct sockaddr **sockaddrout, char *errbuf) in rpcap_deseraddr() argument
302 switch (ntohs(sockaddrin->family)) in rpcap_deseraddr()
318 sockaddrin_ipv4 = (struct rpcap_sockaddr_in *) sockaddrin; in rpcap_deseraddr()
348 sockaddrin_ipv6 = (struct rpcap_sockaddr_in6 *) sockaddrin; in rpcap_deseraddr()