utils.c: In function 'red_recv_udp_pkt':
utils.c:58:24: error: 'IP_ORIGDSTADDR' undeclared (first use in this function)
utils.c:58:24: note: each undeclared identifier is reported only once for each function it appears in
utils.c: In function 'red_recv_udp_pkt':
utils.c:58:24: error: 'IP_ORIGDSTADDR' undeclared (first use in this function)
utils.c:58:24: note: each undeclared identifier is reported only once for each function it appears in
misuzi@ubuntu:~/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33.2/include$ grep IP_ORIGDSTADDR netinet/in.h
misuzi@ubuntu:~/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33.2/include$
Seems IP_ORIGDSTADDR could be found under TOOLCHAIN_DIR/include/linux/in.h . How could I solve that?