Lines Matching refs:source
8 * Redistribution and use in source and binary forms, with or without
11 * 1. Redistributions of source code must retain the above copyright
106 struct sockaddr_in source;
130 source.sin_family = AF_INET;
179 ptr = (__u8*)&source.sin_addr;
262 if (source.sin_addr.s_addr == 0) {
320 alen = sizeof(source);
321 if (getsockname(probe_fd, (struct sockaddr*)&source, &alen) == -1) {
325 source.sin_port = 0;
330 whereto.sin_addr.s_addr = source.sin_addr.s_addr;
374 bind(icmp_sock, (struct sockaddr*)&source, sizeof(source)) == -1) {
517 printf("from %s %s: ", inet_ntoa(source.sin_addr), device ?: "");
723 /* We fall here when a redirect or source quench arrived.