summaryrefslogtreecommitdiffstats
path: root/freebsd/contrib/tcpdump/addrtoname.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/contrib/tcpdump/addrtoname.c')
-rw-r--r--freebsd/contrib/tcpdump/addrtoname.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/freebsd/contrib/tcpdump/addrtoname.c b/freebsd/contrib/tcpdump/addrtoname.c
index a47b3615..e182b22a 100644
--- a/freebsd/contrib/tcpdump/addrtoname.c
+++ b/freebsd/contrib/tcpdump/addrtoname.c
@@ -1266,7 +1266,13 @@ struct hnamemem *
newhnamemem(netdissect_options *ndo)
{
register struct hnamemem *p;
+#ifdef __rtems__
+ __section(".rtemsrwset.bsd_prog_tcpdump.content")
+#endif /* __rtems__ */
static struct hnamemem *ptr = NULL;
+#ifdef __rtems__
+ __section(".rtemsrwset.bsd_prog_tcpdump.content")
+#endif /* __rtems__ */
static u_int num = 0;
if (num <= 0) {
@@ -1285,7 +1291,13 @@ struct h6namemem *
newh6namemem(netdissect_options *ndo)
{
register struct h6namemem *p;
+#ifdef __rtems__
+ __section(".rtemsrwset.bsd_prog_tcpdump.content")
+#endif /* __rtems__ */
static struct h6namemem *ptr = NULL;
+#ifdef __rtems__
+ __section(".rtemsrwset.bsd_prog_tcpdump.content")
+#endif /* __rtems__ */
static u_int num = 0;
if (num <= 0) {