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