summaryrefslogtreecommitdiffstats
path: root/freebsd/contrib/tcpdump/print-smb.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/contrib/tcpdump/print-smb.c')
-rw-r--r--freebsd/contrib/tcpdump/print-smb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/freebsd/contrib/tcpdump/print-smb.c b/freebsd/contrib/tcpdump/print-smb.c
index 2ce8dc37..72a42b26 100644
--- a/freebsd/contrib/tcpdump/print-smb.c
+++ b/freebsd/contrib/tcpdump/print-smb.c
@@ -115,6 +115,9 @@ static void
trans2_qfsinfo(netdissect_options *ndo,
const u_char *param, const u_char *data, int pcnt, int dcnt)
{
+#ifdef __rtems__
+ __section(".rtemsrwset.bsd_prog_tcpdump.content")
+#endif /* __rtems__ */
static int level = 0;
const char *fmt="";
@@ -179,6 +182,9 @@ print_trans2(netdissect_options *ndo,
const u_char *words, const u_char *dat, const u_char *buf, const u_char *maxbuf)
{
u_int bcc;
+#ifdef __rtems__
+ __section(".rtemsrwset.bsd_prog_tcpdump.content")
+#endif /* __rtems__ */
static const struct smbfnsint *fn = &trans2_fns[0];
const u_char *data, *param;
const u_char *w = words + 1;