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 477cd99..c2da532 100644 --- a/cpukit/libnetworking/rtems/rtems_netinet_in.h +++ b/cpukit/libnetworking/rtems/rtems_netinet_in.h @@ -50,6 +50,14 @@ extern ip_nat_ctl_t *ip_nat_ctl_ptr; #define IP_NAT_IN 0x00000001 #define IP_NAT_OUT 0x00000002 +/* + * Options for use with [gs]etsockopt at the IP level. + * + * The value is stored in an integer. Use negative numbers to avoid conflicts + * with BSD. + */ +#define IP_NAT (-55) /* set/get NAT opts */ + #ifdef __cplusplus } #endif /* __cplusplus */ -- 1.8.4.5 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel