Home | History | Annotate | Download | only in ping

Lines Matching defs:source

8  * Redistribution and use in source and binary forms, with or without
11 * 1. Redistributions of source code must retain the above copyright
108 struct sockaddr_in source;
141 source.sin_family = AF_INET;
190 ptr = (__u8*)&source.sin_addr;
268 if (source.sin_addr.s_addr == 0) {
326 alen = sizeof(source);
327 if (getsockname(probe_fd, (struct sockaddr*)&source, &alen) == -1) {
331 source.sin_port = 0;
336 whereto.sin_addr.s_addr = source.sin_addr.s_addr;
381 bind(icmp_sock, (struct sockaddr*)&source, sizeof(source)) == -1) {
392 source.sin_addr.s_addr : 0;
536 printf("from %s %s: ", inet_ntoa(source.sin_addr), device ?: "");
777 /* We fall here when a redirect or source quench arrived.
929 printf("Source Route Failed\n");
942 printf("Source Quench\n");