/external/toybox/lib/ |
D | net.c | 3 int xsocket(int domain, int type, int protocol) in xsocket() function 35 fd = (ai->ai_next ? socket : xsocket)(ai->ai_family, ai->ai_socktype, in xconnect()
|
D | lib.h | 242 int xsocket(int domain, int type, int protocol);
|
/external/toybox/toys/pending/ |
D | arping.c | 57 int fd = xsocket(AF_INET, SOCK_RAW, IPPROTO_RAW); in get_interface() 209 TT.sockfd = xsocket(AF_PACKET, SOCK_DGRAM, 0); in arping_main() 237 int p_fd = xsocket(AF_INET, SOCK_DGRAM, 0); in arping_main()
|
D | traceroute.c | 509 TT.recv_sock = xsocket((TT.istraceroute6 ? AF_INET6 : AF_INET), SOCK_RAW, in traceroute_main() 531 TT.snd_sock = xsocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in traceroute_main() 532 else TT.snd_sock = xsocket(AF_INET, SOCK_RAW, IPPROTO_ICMP); in traceroute_main() 557 } else TT.snd_sock = xsocket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in traceroute_main() 616 int p_fd = xsocket(AF_INET6, SOCK_DGRAM, 0); in traceroute_main()
|
D | ping.c | 109 TT.sock = xsocket(family, SOCK_RAW, protocol);
|
D | dhcp6.c | 166 fd = xsocket(AF_INET6, SOCK_RAW, IPPROTO_RAW); in get_mac() 246 TT.sock = xsocket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IPV6)); in mode_raw() 569 TT.sock1 = xsocket(PF_INET6, SOCK_DGRAM, 0); in dhcp6_main()
|
D | route.c | 282 sokfd = xsocket(AF_INET, SOCK_DGRAM, 0); in setroute() 361 sockfd = xsocket(AF_INET6, SOCK_DGRAM, 0); in setroute_inet6()
|
D | ftpget.c | 65 sockfd = xsocket(af, SOCK_STREAM, 0); in connect_to_stream()
|
D | tftpd.c | 252 TT.sfd = xsocket(dstaddr.ss_family, SOCK_DGRAM, 0); in tftpd_main()
|
D | ip.c | 644 fd = xsocket(AF_INET, SOCK_DGRAM, 0); in link_set() 754 fd = xsocket(AF_INET, SOCK_DGRAM, 0); in print_link_output() 1616 sockfd = xsocket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in display_route_info() 1752 TT.sockfd = xsocket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in route_get() 2333 fd = xsocket(AF_INET, SOCK_DGRAM, 0); in tnl_ioctl() 2360 fd = xsocket(AF_INET, SOCK_DGRAM, 0); in display_tunnel() 2545 fd = xsocket(AF_INET, SOCK_DGRAM, 0); in parse_iptunnel_args() 2770 TT.sockfd = xsocket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in ip_main()
|
D | arp.c | 223 TT.sockfd = xsocket(AF_INET, SOCK_STREAM, 0); in arp_main()
|
D | brctl.c | 315 TT.sockfd = xsocket(AF_INET, SOCK_STREAM, 0); in brctl_main()
|
D | tcpsvd.c | 247 sockfd = xsocket(rp->ai_family, TT.udp ?SOCK_DGRAM :SOCK_STREAM, 0); in create_bind_sock()
|
D | tftp.c | 69 int port = 69, sd = xsocket(TT.af, SOCK_DGRAM, IPPROTO_UDP);
|
D | telnetd.c | 142 s = xsocket(af, SOCK_STREAM, 0); in listen_socket()
|
D | syslogd.c | 268 tfd->logfd = xsocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in open_logfiles()
|
D | dhcpd.c | 365 int fd = xsocket(addr_version, SOCK_RAW, IPPROTO_RAW); in get_interface() 782 gstate.listensock = xsocket(PF_INET6, SOCK_DGRAM, 0); in open_listensock6() 830 gstate.listensock = xsocket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); in open_listensock()
|
D | dhcp.c | 285 int fd = xsocket(AF_INET, SOCK_RAW, IPPROTO_RAW); in get_interface()
|
/external/toybox/toys/other/ |
D | vconfig.c | 38 fd = xsocket(AF_INET, SOCK_STREAM, 0); in vconfig_main()
|
D | netcat.c | 114 sockfd = xsocket(AF_INET, SOCK_STREAM, 0); in netcat_main()
|
D | ifconfig.c | 346 TT.sockfd = xsocket(AF_INET, SOCK_DGRAM, 0); in ifconfig_main() 445 int plen, fd6 = xsocket(AF_INET6, SOCK_DGRAM, 0); in ifconfig_main()
|