]> git.ipfire.org Git - thirdparty/hostap.git/commit
proxyarp: Use C library header files and CONFIG_IPV6
authorJouni Malinen <j@w1.fi>
Tue, 25 Nov 2014 14:58:21 +0000 (16:58 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 25 Nov 2014 14:58:21 +0000 (16:58 +0200)
commita437378f98c4166928fbbd2cb545dc7a45f6fd3a
tree9057436eb01b9f28af4aa99d9884c851c5bf1bea
parenta959a3b69dd2b341736e736cf4ff76e8d4a69cc2
proxyarp: Use C library header files and CONFIG_IPV6

This replaces the use of Linux kernel header files (linux/ip.h,
linux/udp.h, linux/ipv6.h, and linux/icmpv6.h) with equivalent header
files from C library. In addition, ndisc_snoop.c is now built
conditionally on CONFIG_IPV6=y so that it is easier to handle hostapd
builds with toolchains that do not support IPv6 even if Hotspot 2.0 is
enabled in the build.

Signed-off-by: Jouni Malinen <j@w1.fi>
hostapd/Makefile
src/ap/dhcp_snoop.c
src/ap/ndisc_snoop.c
src/ap/ndisc_snoop.h