September 2002
Intermediate to advanced
560 pages
13h 16m
English
/********************************************************* NAME : send_gratuitous_arp *********************************************************/ static int send_gratuitous_arp( vrrp_rt *vsrv, int addr, int vAddrF ) { struct m_arphdr { unsigned short int ar_hrd; /* Format of hardware address. */ unsigned short int ar_pro; /* Format of protocol address. */ unsigned char ar_hln; /* Length of hardware address. */ unsigned char ar_pln; /* Length of protocol address. */ unsigned short int ar_op; /* ARP opcode (command). */ /* Ethernet looks like this : This bit is variable sized however. */ unsigned char __ar_sha[ETH_ALEN]; /* Sender hardware address. */ unsigned char __ar_sip[4]; /* Sender IP address. */ unsigned char ...Read now
Unlock full access