/external/toybox/lib/ |
net.c | 3 int xsocket(int domain, int type, int protocol) function 35 fd = (ai->ai_next ? socket : xsocket)(ai->ai_family, ai->ai_socktype,
|
lib.h | 242 int xsocket(int domain, int type, int protocol);
|
/external/toybox/toys/pending/ |
ping.c | 109 TT.sock = xsocket(family, SOCK_RAW, protocol);
|
arping.c | 57 int fd = xsocket(AF_INET, SOCK_RAW, IPPROTO_RAW); 209 TT.sockfd = xsocket(AF_PACKET, SOCK_DGRAM, 0); 237 int p_fd = xsocket(AF_INET, SOCK_DGRAM, 0);
|
traceroute.c | 509 TT.recv_sock = xsocket((TT.istraceroute6 ? AF_INET6 : AF_INET), SOCK_RAW, 531 TT.snd_sock = xsocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); 532 else TT.snd_sock = xsocket(AF_INET, SOCK_RAW, IPPROTO_ICMP); 557 } else TT.snd_sock = xsocket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); 616 int p_fd = xsocket(AF_INET6, SOCK_DGRAM, 0);
|
route.c | 282 sokfd = xsocket(AF_INET, SOCK_DGRAM, 0); 361 sockfd = xsocket(AF_INET6, SOCK_DGRAM, 0);
|
ftpget.c | 65 sockfd = xsocket(af, SOCK_STREAM, 0);
|
tftpd.c | 252 TT.sfd = xsocket(dstaddr.ss_family, SOCK_DGRAM, 0);
|
arp.c | 223 TT.sockfd = xsocket(AF_INET, SOCK_STREAM, 0);
|
brctl.c | 315 TT.sockfd = xsocket(AF_INET, SOCK_STREAM, 0);
|
dhcp6.c | 166 fd = xsocket(AF_INET6, SOCK_RAW, IPPROTO_RAW); 246 TT.sock = xsocket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IPV6)); 569 TT.sock1 = xsocket(PF_INET6, SOCK_DGRAM, 0);
|
tcpsvd.c | 247 sockfd = xsocket(rp->ai_family, TT.udp ?SOCK_DGRAM :SOCK_STREAM, 0);
|
tftp.c | 69 int port = 69, sd = xsocket(TT.af, SOCK_DGRAM, IPPROTO_UDP);
|
ip.c | 644 fd = xsocket(AF_INET, SOCK_DGRAM, 0); 754 fd = xsocket(AF_INET, SOCK_DGRAM, 0); [all...] |
syslogd.c | 268 tfd->logfd = xsocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
|
telnetd.c | 142 s = xsocket(af, SOCK_STREAM, 0);
|
dhcpd.c | 365 int fd = xsocket(addr_version, SOCK_RAW, IPPROTO_RAW); 782 gstate.listensock = xsocket(PF_INET6, SOCK_DGRAM, 0); 830 gstate.listensock = xsocket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); [all...] |
dhcp.c | 285 int fd = xsocket(AF_INET, SOCK_RAW, IPPROTO_RAW); [all...] |
/external/toybox/toys/other/ |
vconfig.c | 38 fd = xsocket(AF_INET, SOCK_STREAM, 0);
|
netcat.c | 114 sockfd = xsocket(AF_INET, SOCK_STREAM, 0);
|
ifconfig.c | 346 TT.sockfd = xsocket(AF_INET, SOCK_DGRAM, 0); 445 int plen, fd6 = xsocket(AF_INET6, SOCK_DGRAM, 0);
|