Lines Matching refs:ttl
106 int check_signal(int s, char* ip, unsigned char* ttl, unsigned short* port) {
114 unsigned char ttl;
146 printf("Didn't get ttl! len=%d level=%d type=%d\n",
155 *ttl = ctl.ttl;
162 char* ip, char* ttl, unsigned short *port) {
179 *ttl = iph->ip_ttl;
294 // sending ttl..
315 unsigned char ttl = 0;
398 ip, &ttl, &port)) {
401 ip, port, ttl);
419 if (ttlnew != ttl || strcmp(ipnew, ip) != 0 ||
423 ttl = ttlnew;
427 ip, port, ttl);
431 printf("Sending ttl (%d)...\n", ttl);
432 send_stuff(s, sip, ip, port, 69 + (TTLSENT-ttl));