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