Home
last modified time | relevance | path

Searched refs:xsocket (Results 1 - 24 of 24) sorted by relevance

/third_party/toybox/toys/pending/
H A Darping.c57 int fd = xsocket(AF_INET, SOCK_RAW, IPPROTO_RAW); in get_interface()
208 TT.sockfd = xsocket(AF_PACKET, SOCK_DGRAM, 0); in arping_main()
236 int p_fd = xsocket(AF_INET, SOCK_DGRAM, 0); in arping_main()
H A Dtraceroute.c508 TT.recv_sock = xsocket((TT.istraceroute6 ? AF_INET6 : AF_INET), SOCK_RAW, in traceroute_main()
530 TT.snd_sock = xsocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in traceroute_main()
531 else TT.snd_sock = xsocket(AF_INET, SOCK_RAW, IPPROTO_ICMP); in traceroute_main()
556 } else TT.snd_sock = xsocket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in traceroute_main()
612 int p_fd = xsocket(AF_INET6, SOCK_DGRAM, 0); in traceroute_main()
H A Ddhcp6.c166 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()
566 TT.sock1 = xsocket(PF_INET6, SOCK_DGRAM, 0); in dhcp6_main()
H A Droute.c293 sokfd = xsocket(AF_INET, SOCK_DGRAM, 0); in setroute()
373 sockfd = xsocket(AF_INET6, SOCK_DGRAM, 0); in setroute_inet6()
H A Dhost.c127 int s = xsocket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in host_main()
H A Dip.c695 fd = xsocket(AF_INET, SOCK_DGRAM, 0); in link_set()
805 fd = xsocket(AF_INET, SOCK_DGRAM, 0); in print_link_output()
1728 sockfd = xsocket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in display_route_info()
1864 TT.sockfd = xsocket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in route_get()
2439 fd = xsocket(AF_INET, SOCK_DGRAM, 0); in tnl_ioctl()
2466 fd = xsocket(AF_INET, SOCK_DGRAM, 0); in display_tunnel()
2651 fd = xsocket(AF_INET, SOCK_DGRAM, 0); in parse_iptunnel_args()
2876 TT.sockfd = xsocket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in ip_main()
H A Darp.c210 TT.sockfd = xsocket(AF_INET, SOCK_STREAM, 0); in arp_main()
H A Dbrctl.c315 TT.sockfd = xsocket(AF_INET, SOCK_STREAM, 0); in brctl_main()
H A Dtftpd.c269 TT.sfd = xsocket(dstaddr.ss_family, SOCK_DGRAM, 0); in tftpd_main()
H A Dsyslogd.c267 tfd->logfd = xsocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in open_logfiles()
H A Dtcpsvd.c248 sockfd = xsocket(rp->ai_family, TT.udp ?SOCK_DGRAM :SOCK_STREAM, 0); in create_bind_sock()
H A Dtelnetd.c112 s = xsocket(af, SOCK_STREAM, 0); in listen_socket()
H A Dtftp.c69 int port = 69, sd = xsocket(TT.af, SOCK_DGRAM, IPPROTO_UDP); in init_tftp()
H A Ddhcpd.c365 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()
H A Ddhcp.c285 int fd = xsocket(AF_INET, SOCK_RAW, IPPROTO_RAW); in get_interface()
/third_party/toybox/lib/
H A Dnet.c3 int xsocket(int domain, int type, int protocol) in xsocket() function
47 fd = (ai->ai_next ? socket : xsocket)(ai->ai_family, ai->ai_socktype, in xconnbind()
H A Dlib.h360 int xsocket(int domain, int type, int protocol);
/third_party/toybox/toys/other/
H A Dvconfig.c34 int fd = xsocket(AF_INET, SOCK_STREAM, 0); in vconfig_main()
/third_party/toybox/toys/net/
H A Dnetcat.c88 sockfd = xsocket(AF_UNIX, type, 0); in usock()
H A Dsntp.c100 } else fd = xsocket(ai->ai_family, SOCK_DGRAM, IPPROTO_UDP); in sntp_main()
H A Difconfig.c379 TT.sockfd = xsocket(AF_INET, SOCK_DGRAM, 0); in ifconfig_main()
478 int plen, fd6 = xsocket(AF_INET6, SOCK_DGRAM, 0); in ifconfig_main()
H A Dftpget.c206 port = xsocket(si6.sin6_family, SOCK_STREAM, 0); in ftpget_main()
/third_party/toybox/porting/liteos_a/lib/
H A Dlib.h351 int xsocket(int domain, int type, int protocol);
/third_party/toybox/porting/liteos_a/toys/net/
H A Difconfig.c491 int plen, fd6 = xsocket(AF_INET6, SOCK_DGRAM, 0); in ifconfig_main()

Completed in 22 milliseconds