Changeset 638 for Whitix/branches

Show
Ignore:
Timestamp:
06/24/08 14:02:00 (5 months ago)
Author:
mwhitworth
Message:

Add call to RawAddPacket, comment out debug printfs.

Location:
Whitix/branches/network/net/inet
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/network/net/inet/eth.c

    r620 r638  
    3838        int i; 
    3939 
    40         printf("source = "); 
     40        /* Copy to all the raw sockets in existence. */ 
     41        RawAddPacket(sockBuff); 
    4142 
    42         for (i=0; i<6; i++) 
    43                 printf("%#X:", ethHeader->source.c[i]); 
     43//      printf("source = "); 
     44 
     45//      for (i=0; i<6; i++) 
     46//              printf("%#X:", ethHeader->source.c[i]); 
    4447 
    4548        sockBuff->start=sockBuff->data+sizeof(struct EthHeader); 
     
    5154                        break; 
    5255 
    53                 default: 
    54                         printf("type = %#X\n", type); 
     56//              default: 
     57//                      printf("type = %#X\n", type); 
    5558        } 
    5659} 
  • Whitix/branches/network/net/inet/ipv4.c

    r582 r638  
    2626void IpRecv(struct SocketBuffer* sockBuff) 
    2727{ 
    28         printf("IpRecv\n"); 
     28        struct IpHeader* ipHeader=(struct IpHeader*)sockBuff->start; 
    2929}