Home | History | Annotate | Download | only in ping

Lines Matching refs:device

408 		/* Device queue overflow or OOM. Packet is not sent. */
422 * on stuck output device even when dealine was not requested.
513 * on sends, when device is too slow or stalls. Just put limit
962 char *device;
1743 device = optarg;
1825 if (device) {
1828 strncpy(ifr.ifr_name, device, IFNAMSIZ-1);
1829 if (setsockopt(probe_fd, SOL_SOCKET, SO_BINDTODEVICE, device, strlen(device)+1) == -1) {
1833 fprintf(stderr, "ping: unknown iface %s\n", device);
1892 if (device) {
1896 strncpy(ifr.ifr_name, device, IFNAMSIZ-1);
1898 fprintf(stderr, "ping: unknown iface %s\n", device);
2055 if (device || (options&F_STRICTSOURCE))
2056 printf("from %s %s: ", inet_ntoa(source.sin_addr), device ?: "");