1 /* 2 * DHCP snooping for Proxy ARP 3 * Copyright (c) 2014, Qualcomm Atheros, Inc. 4 * 5 * This software may be distributed under the terms of the BSD license. 6 * See README for more details. 7 */ 8 9 #ifndef DHCP_SNOOP_H 10 #define DHCP_SNOOP_H 11 12 #ifdef CONFIG_PROXYARP 13 14 int dhcp_snoop_init(struct hostapd_data *hapd); 15 void dhcp_snoop_deinit(struct hostapd_data *hapd); 16 17 #else /* CONFIG_PROXYARP */ 18 19 static inline int dhcp_snoop_init(struct hostapd_data *hapd) 20 { 21 return 0; 22 } 23 24 static inline void dhcp_snoop_deinit(struct hostapd_data *hapd) 25 { 26 } 27 28 #endif /* CONFIG_PROXYARP */ 29 30 #endif /* DHCP_SNOOP_H */ 31