US Robotics USR2410 Manual de usuario Pagina 71

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 107
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 70
59
ip_demux [2] -> to_host_encap; //packets destined for the internal address
ip_demux [3] -> IPPrint(ip_demux[3]->)->ip_to_intern; //packets destined for the
internal net
// forward packet for the gateway
ip_demux [4] -> GetIPAddress(16) ->
CheckIPHeader ->
GridEncap(me:eth, me:ip) ->
to_gateway ->
dec_ip_ttl;
grid_data_demux [0] -> Strip(82) -> icmp_packet_classifier :: IPClassifier (icmp type
echo-reply,icmp type echo, proto icmp, -); //strip the grid header. Determine if this is
an ICMP packet or a TCP/UDP packet
icmp_packet_classifier[0] -> [1]irw; // icmp ping reply
icmp_packet_classifier[1] -> to_host_encap; //icmp ping should go to the kernel
icmp_packet_classifier[2] -> ierw; // other icmp
icmp_packet_classifier[3] -> [3]rewriter; // receive packet from net for us or
internal network.
// forward packet from grid mesh net for someone else
grid_data_demux [1] -> dec_ip_ttl;
Vista de pagina 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 106 107

Comentarios a estos manuales

Sin comentarios