Home
last modified time | relevance | path

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

/busybox-1.35.0/networking/
Dping.c208 pingsock = 0, enumerator
232 xmove_fd(sock, pingsock); in create_icmp_socket()
264 xsendto(pingsock, G.packet, DEFDATALEN + ICMP_MINLEN, &lsa->u.sa, lsa->len); in ping4()
272 c = recvfrom(pingsock, G.packet, sizeof(G.packet), 0, in ping4()
275 c = recv(pingsock, G.packet, sizeof(G.packet), 0); in ping4()
307 setsockopt_int(pingsock, SOL_RAW, IPV6_CHECKSUM, sockopt); in ping6()
309 xsendto(pingsock, G.packet, DEFDATALEN + sizeof(struct icmp6_hdr), &lsa->u.sa, lsa->len); in ping6()
317 c = recvfrom(pingsock, G.packet, sizeof(G.packet), 0, in ping6()
320 c = recv(pingsock, G.packet, sizeof(G.packet), 0); in ping6()
389 close(pingsock); in common_ping_main()
[all …]