From: Christian Mauderer <christian.maude...@embedded-brains.de> --- cpukit/libnetworking/rtems/rtems_netinet_in.h | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/cpukit/libnetworking/rtems/rtems_netinet_in.h b/cpukit/libnetworking/rtems/rtems_netinet_in.h index 3940d92..477cd99 100644 --- a/cpukit/libnetworking/rtems/rtems_netinet_in.h +++ b/cpukit/libnetworking/rtems/rtems_netinet_in.h @@ -42,6 +42,14 @@ typedef int ip_fw_ctl_t(int, struct mbuf**); extern ip_fw_chk_t *ip_fw_chk_ptr; extern ip_fw_ctl_t *ip_fw_ctl_ptr; +/* IP NAT hooks */ +typedef int ip_nat_t(struct ip**, struct mbuf**, struct ifnet*, int); +typedef int ip_nat_ctl_t(int, struct mbuf**); +extern ip_nat_t *ip_nat_ptr; +extern ip_nat_ctl_t *ip_nat_ctl_ptr; +#define IP_NAT_IN 0x00000001 +#define IP_NAT_OUT 0x00000002 + #ifdef __cplusplus } #endif /* __cplusplus */ -- 1.8.4.5 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel