Home
last modified time | relevance | path

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

/busybox-1.35.0/networking/
Dzcip.c100 sock_fd = 3 enumerator
171 xsendto(sock_fd, &p, sizeof(p), &G.iface_sockaddr, sizeof(G.iface_sockaddr)); in send_arp_request()
265 xmove_fd(xsocket(AF_PACKET, SOCK_PACKET, htons(ETH_P_ARP)), sock_fd); in zcip_main()
313 xbind(sock_fd, &G.iface_sockaddr, sizeof(G.iface_sockaddr)); in zcip_main()
318 xioctl(sock_fd, SIOCGIFHWADDR, &ifr); in zcip_main()
374 fds[0].fd = sock_fd; in zcip_main()
474 if (safe_read(sock_fd, &p, sizeof(p)) < 0) { in zcip_main()
Darping.c109 #define sock_fd 3 macro
138 err = sendto(sock_fd, buf, p - buf, 0, (struct sockaddr *) HE, sizeof(*HE)); in send_pack()
304 xmove_fd(xsocket(AF_PACKET, SOCK_DGRAM, 0), sock_fd); in arping_main()
325 ioctl_or_perror_and_die(sock_fd, SIOCGIFINDEX, &G.ifr, err_str, "not found"); in arping_main()
328 xioctl(sock_fd, SIOCGIFFLAGS, (char *) &G.ifr); in arping_main()
386 xbind(sock_fd, (struct sockaddr *) &me, sizeof(me)); in arping_main()
388 bb_getsockname(sock_fd, (struct sockaddr *) &me, sizeof(me)); in arping_main()
427 cc = recvfrom(sock_fd, G.packet, sizeof(G.packet), 0, (struct sockaddr *) &from, &alen); in arping_main()
/busybox-1.35.0/sysklogd/
Dsyslogd.c964 int sock_fd; in create_socket() local
980 sock_fd = xsocket(AF_UNIX, SOCK_DGRAM, 0); in create_socket()
981 xbind(sock_fd, (struct sockaddr *) &sunx, sizeof(sunx)); in create_socket()
984 return sock_fd; in create_socket()