ARP reply function
This commit is contained in:
parent
64b99fc6d0
commit
d1db809cdf
2 changed files with 85 additions and 0 deletions
1
arp.h
1
arp.h
|
@ -36,5 +36,6 @@
|
|||
*/
|
||||
int send_arp_request(int sockfd, int ifindex, struct sockaddr_in *ipaddr, unsigned char *macaddr, struct in_addr target_ip);
|
||||
|
||||
int send_arp_reply(int sockfd, int ifindex, struct sockaddr_in *sender_ip, unsigned char *sender_mac, struct in_addr target_ip, unsigned char *target_mac);
|
||||
|
||||
#endif /* ARP_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue