[Etherboot-developers] (no subject)
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: Ashish a. <ash...@in...> - 2003-04-30 03:44:13
|
Hello,
earlier i had problems of getting my bootp request packet silently
discarded by bootp server.
now I have statred getting bootp reply after takling care of checksum
problem.I am getting bootp server reply that is of standard 342 byte put
on wire as shown in ethereal and tcpdump log.
but my nic card reports 341 bytes as count of receive bytes.
it is calculated lke this on my big endian target,
printf ("Got a packet: Len = %d.\n", cpu_to_le16(ACCESS(rxfd)count) &
0x3fff);
I am little confused why my nic card loos one byte , i have also
confirmed from the the linux driver it is the same way we report receive
count as in etherboot driver.
in linux we report like..
pkt_len = le32_to_cpu(sp->rx_ringp[entry]->count) & 0x3fff
can anybody hint me ..
Best Regards,
Ashish Anand
where i may need to debug..
Best Regards,
Ashish Aanand
Inbox (188/43) Drafts (4/4) Sent (174/0) Trash (107/25)
|