#include <freeradius-devel/util/packet.h>
#include <freeradius-devel/util/rand.h>
#include <freeradius-devel/util/log.h>
#include <freeradius-devel/util/net.h>
#include <freeradius-devel/protocol/arp/dictionary.h>
#include <freeradius-devel/protocol/arp/rfc826.h>
#include <sys/ioctl.h>
Go to the source code of this file.
◆ fr_arp_packet_t
Definition at line 55 of file arp.h.
 
 
 
◆ ETH_TYPE_ARP
Definition at line 38 of file arp.h.
 
 
◆ FR_ARP_PACKET_CODE_VALID
Definition at line 77 of file arp.h.
 
 
◆ FR_ARP_PACKET_SIZE
      
        
          | #define FR_ARP_PACKET_SIZE   (28) | 
      
 
Definition at line 37 of file arp.h.
 
 
◆ fr_arp_packet_code_t
| Enumerator | 
|---|
| FR_ARP_INVALID |  | 
| FR_ARP_REQUEST |  | 
| FR_ARP_REPLY |  | 
| FR_ARP_REVERSE_REQUEST |  | 
| FR_ARP_REVERSE_REPLY |  | 
| FR_ARP_CODE_MAX |  | 
| FR_ARP_DO_NOT_RESPOND |  | 
Definition at line 67 of file arp.h.
 
 
◆ fr_arp_decode()
Decode a raw ARP packet into VPs. 
Definition at line 309 of file base.c.
 
 
◆ fr_arp_encode()
Encode VPS into a raw ARP packet. 
Definition at line 234 of file base.c.
 
 
◆ fr_arp_entry_add()
      
        
          | int fr_arp_entry_add | ( | int | fd, | 
        
          |  |  | char const * | interface, | 
        
          |  |  | uint8_t | ipaddr[static 4], | 
        
          |  |  | uint8_t | macaddr[static 6] | 
        
          |  | ) |  |  | 
      
 
 
◆ fr_arp_global_free()
      
        
          | void fr_arp_global_free | ( | void |  | ) |  | 
      
 
 
◆ fr_arp_global_init()
      
        
          | int fr_arp_global_init | ( | void |  | ) |  | 
      
 
 
◆ fr_arp_packet_codes