Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Packet details

Altera_Forum
Honored Contributor II
1,203 Views

Hello, 

 

I am working on NiosII development kit Cyclone edition. I want to see the packet fileds (Source add, Destination add , port no etc) of the packets entering the board. Could anyone help me out.Which driver I have to initialize and which structure provide me these details. 

 

Waiting anxiously for the reply 

 

Basheer
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
183 Views
0 Kudos
Altera_Forum
Honored Contributor II
183 Views

Hello 

 

Ethereal will help me to see packet details enterine the PC, not the packets entering the nios board.I want to see the packets entering the nios board by using the functions and data structures provided by nios development kit. 

I am not getting any idea of which driver to initialize and which structure variables to access, so that i get information of the source address, dest address,port numbers of the packet
0 Kudos
Altera_Forum
Honored Contributor II
183 Views

 

--- Quote Start ---  

originally posted by basheer@Feb 1 2006, 01:40 AM 

hello 

 

ethereal will help me to see packet details enterine the pc, not the packets entering the nios board.i want to see the packets entering the nios board by using the functions and data structures provided by nios development kit. 

i am not getting any idea of which driver to initialize and which structure variables to access, so that i get information of the source address, dest address,port numbers of the packet 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=12485) 

--- quote end ---  

 

--- Quote End ---  

 

 

You have given no information on what your hardware setup is other than you are using an evaluation kit; ie: are you using an OS such as uClinux, are you using a standalone tcp/ip stack, or do you not even have either of those... before you can look at what packets are coming in, you need to have communication working successfully. So this means either booting uClinux, implementing a tcp/ip stack such as lwip, or writing your own code. There is no "driver that you can initialize", it&#39;s not that simple.
0 Kudos
Reply