Lines Matching refs:packet

29 $max_datasize = 1024;       # Maximum data bytes in a packet
69 # included in the packet.
398 use constant ICMP_ECHOREPLY => 0; # ICMP packet types
400 use constant ICMP_STRUCT => "C2 n3 A"; # Structure of a minimal ICMP packet
413 $checksum, # Checksum of ICMP packet
414 $msg, # ICMP packet to send
423 $from_port, # Port packet was sent from
427 $from_chk, # ICMP packet checksum
428 $from_pid, # ICMP packet id
429 $from_seq, # ICMP packet sequence
454 $nfound = mselect((my $rout=$rbits), undef, undef, $timeout); # Wait for packet
461 elsif ($nfound) # Got a packet from somewhere
479 if (($from_pid == $self->{"pid"}) && # Does the packet check out?
942 elsif ($nfound) # A packet is waiting
959 (($from_ip eq $ip) && # Does the packet check out?
976 # Another send worked? The previous udp packet
978 # Hopefully this new packet will arrive safely.
993 # Description: Send a TCP SYN packet to host specified.
1031 # by just sending the TCP SYN packet
1418 printf("$host [ip: $ip] is alive (packet return time: %.2f ms)\n", 1000 * $duration)
1444 packet to the remote host's echo port. If the echoed packet is
1445 received from the remote host and the received packet contains the
1446 same data as the packet that was sent, the remote host is considered
1468 send a TCP SYN packet to the remote host then immediately return.
1469 If the syn packet was sent successfully, it will return a true value,
1499 are included in the ping packet sent to the remote host. The number of
1506 before sending the ping packet. I beleive this only works with
1541 reachable because of the status packet that it reported.
1549 throws the ACK packet, it is considered alive anyway. To
1654 longer to receive an echo packet from the remote host. If the timeout