Lines Matching defs:from

15  * or promote products derived from this software without specific prior
28 * icmp "time exceeded" reply from a gateway. We start our probes
34 * round trip time of each probe. If the probe answers come from
120 * is using the ttl from our arriving datagram as the ttl in its
146 * system available from Berkeley: A raw ip socket using proto
156 * data from the original datagram. 8 bytes is the size of a udp
174 * I stole the idea for this program from Steve Deering. Since
176 * IETF working group meetings, I also could have stolen it from Guy
499 register struct sockaddr_in *from = (struct sockaddr_in *)&wherefrom;
909 setsin(from, al->addr);
910 else if ((err = findsaddr(to, from)) != NULL) {
935 setsin(from, *ap);
937 setsin(from, hi->addrs[0]);
941 prog, source, inet_ntoa(from->sin_addr));
946 outip->ip_src = from->sin_addr;
949 if (bind(sndsock, (struct sockaddr *)from, sizeof(*from)) < 0) {
1026 Fprintf(stderr, " from %s", source);
1061 while ((cc = wait_for_reply(s, from, &t1)) != 0) {
1066 i = packet_ok(packet, cc, from, seq);
1071 from->sin_addr.s_addr != lastaddr) {
1074 print(packet, cc, from);
1075 lastaddr = from->sin_addr.s_addr;
1390 packet_ok(register u_char *buf, int cc, register struct sockaddr_in *from,
1403 Printf("packet too short (%d bytes) from %s\n", cc,
1404 inet_ntoa(from->sin_addr));
1442 Printf("\n%d bytes from %s to ", cc, inet_ntoa(from->sin_addr));
1691 print(register u_char *buf, register int cc, register struct sockaddr_in *from)
1701 strlcpy(addr, inet_ntoa(from->sin_addr), sizeof(addr));
1709 Printf(" %s (%s)", inetname(from->sin_addr), addr);
1749 * back all the carry bits from the top 16 bits into the lower
1762 * add back carry outs from top 16 bits to low 16 bits