Projects/1. Router/router.c
void add_arp_table(uint32_t ip, uint8_t *mac) {
	arp_table[arp_table_size].ip = ip;
	for(int i = 0; i < 6; i++) 
		arp_table[arp_table_size].mac[i] = mac[i];
	arp_table_size++;
}
/* Add given IP and MAC to ARP table */
Add given IP and MAC to ARP table
Add given IP and MAC to ARP table
void add_arp_table(uint32_t ip, uint8_t *mac) {
	arp_table[arp_table_size].ip = ip;
	for(int i = 0; i < 6; i++) 
		arp_table[arp_table_size].mac[i] = mac[i];
	arp_table_size++;
}
void add_arp_table ( uint32_t ip , uint8_t * mac ) { arp_table [ arp_table_size ] . ip = ip ; for ( int i = 0 ; i < 6 ; i ++ ) arp_table [ arp_table_size ] . mac [ i ] = mac [ i ] ; arp_table_size ++ ; }
Add given IP and MAC to ARP table
Add given IP and MAC to ARP table