DHCPv6 relay agent implementation.  
More...
DHCPv6 relay agent implementation. 
 | 
| file   | relay.h | 
|   | DHCPv6 client definitions. 
  | 
|   | 
◆ dhcpv6_relay_auto_init()
      
        
          | void dhcpv6_relay_auto_init  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
Auto-initializes the relay agent in its own thread or event thread when available. 
- Note
 - Only used with 
auto_init_dhcpv6_relay.  
 
 
◆ dhcpv6_relay_init()
      
        
          | void dhcpv6_relay_init  | 
          ( | 
          event_queue_t *  | 
          event_queue,  | 
        
        
           | 
           | 
          uint16_t  | 
          listen_netif,  | 
        
        
           | 
           | 
          uint16_t  | 
          fwd_netif  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Initializes the relay agent. 
- Precondition
 event_queue->waiter != NULL (event queue is initialized)
- Parameters
 - 
  
    | [in] | event_queue | Event queue to use with the relay agent. Needs to be initialized in the handler thread.  | 
    | [in] | listen_netif | The network interface the relay agent listens on for incoming client or relay forward messages from other relay agents.  | 
    | [in] | fwd_netif | The network interface the relay agent relays messages upstreams and listens for relay replies on.  |