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
113 struct sockaddr_in source;
152 source.sin_family = AF_INET;
202 ptr = (__u8*)&source.sin_addr;
212 if (inet_pton(AF_INET, optarg, &source.sin_addr) > 0)
316 if (source.sin_addr.s_addr == 0) {
387 alen = sizeof(source);
388 if (getsockname(probe_fd, (struct sockaddr*)&source, &alen) == -1) {
392 source.sin_port = 0;
409 &source.sin_addr, sizeof(source.sin_addr)))
414 fprintf(stderr, "ping: Warning: source address might be selected on device other than %s.\n", device);
421 whereto.sin_addr.s_addr = source.sin_addr.s_addr;
465 bind(icmp_sock, (struct sockaddr*)&source, sizeof(source)) == -1) {
599 printf("from %s %s: ", inet_ntoa(source.sin_addr), device ?: "");
842 /* We fall here when a redirect or source quench arrived.
1012 printf("Source Route Failed\n");
1021 printf("Source Host Isolated\n");
1052 printf("Source Quench\n");