[ixp1200] how to extract the src & dest address....

Johnson, Erik J erik.j.johnson at intel.com
Fri Jul 30 21:52:14 EDT 2004


Hi Nitin

Yes, that is a known problem.  You can find the answer (as well as other errata!) at the following URL:

http://intel.com/intelpress/ixp1200/errata.htm

Specifically, look for the ZIP file link about half way down the page.  Let me know if you still have problems.

erik

~~~~~~~~~~~~~~~~~~~~~~~~
Erik J. Johnson
erik.j.johnson at intel.com
Not speaking for Intel
~~~~~~~~~~~~~~~~~~~~~~~~

-----Original Message-----
From: ixp1200-bounces at lists.cs.princeton.edu [mailto:ixp1200-bounces at lists.cs.princeton.edu] On Behalf Of nitin makhija
Sent: Friday, July 30, 2004 1:03 PM
To: ixp1200 at lists.cs.princeton.edu
Subject: [ixp1200] how to extract the src & dest address....

  

Hellow,
i'm trying to run the example program of chapter-8 of book by Eric Johnson, but getting the following error's during compilation:

Compiling for bridging-latency.list...
C:\IXP1200_Programming CD\Chapter08\bridging-latency.c(51): error :  intrinsic data buffer "hashInputSrc_93$1$1" cannot be read C:\IXP1200_Programming CD\Chapter08\bridging-latency.c(66): error :  intrinsic data buffer "hashInputDst_93$1$1" cannot be read

i have even checked "ixp.h" file and there too first parameter to teh hash func. is the input value....


and also  cd anyone tell me how can i extract the destination & source ip adress frm the received pkt's....i have the starting adress of sdram where tht pkt. is stored???

i was tring out this....
where buf_handle is the starting adress
iphead is the pointer to a structure which has 2 unsigned integer as members..

sdram_read(__declspec(sdram_read_reg) *iphead,volatile __declspec(sdram) * (buf_handle + 2) ,1,queue_default,ctx_swap);	 

but this code is also giving an error....
\Study\Project_IXP\test_nitin\Chapter05\receive.c(206): error :  expected an expression


actually i want to extract src & dest. IP address alongwd. the port numbers.....and not able to do tht......if anyone of u know ...do help me out Regards, Nitin Makhija


_______________________________________________
ixp1200 mailing list
ixp1200 at lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/ixp1200


More information about the ixp1200 mailing list