Linux C :send and receive ARP Package using socket

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Linux C :send and receive ARP Package using socket

3,561 Views
liuyonggang
Contributor III

OS: Linux

development language:C

I need a example code for send and receive ARP Package using socket in linux user space。

Can somebody help me?

   Tks!

BRs

Johnny!

Labels (1)
0 Kudos
2 Replies

3,489 Views
liuyonggang
Contributor III

Hi igor,

   Tks for your comments.It works.

BRs

Johnny

0 Kudos

3,489 Views
igorpadykov
NXP Employee
NXP Employee

Hi Johnny

some examples can be found on

linux - arp request and reply using c socket programming - Stack Overflow 

arp(7) - Linux manual page 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------