summaryrefslogtreecommitdiff
path: root/bootp.h
diff options
context:
space:
mode:
authorguy <guy>2007-01-29 20:55:01 +0000
committerguy <guy>2007-01-29 20:55:01 +0000
commit90c81080858666ab126486d2a108e1d25fa90074 (patch)
tree0bcf57d87e548dc05ec58a3ca09328256789be8f /bootp.h
parent674d23116f3e0a6fb56c0a2c66b302c04568618d (diff)
downloadtcpdump-90c81080858666ab126486d2a108e1d25fa90074.tar.gz
From Kevin Steves: in the client FQDN option:
0) fix off by one (4 vs. 3) 1) print flag bits 2) print rcode fields if either is non-zero
Diffstat (limited to 'bootp.h')
-rw-r--r--bootp.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/bootp.h b/bootp.h
index d348379b..0ef7a583 100644
--- a/bootp.h
+++ b/bootp.h
@@ -1,4 +1,4 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/bootp.h,v 1.15 2003-07-01 19:16:06 guy Exp $ (LBL) */
+/* @(#) $Header: /tcpdump/master/tcpdump/bootp.h,v 1.16 2007-01-29 20:55:01 guy Exp $ (LBL) */
/*
* Bootstrap Protocol (BOOTP). RFC951 and RFC1048.
*
@@ -218,3 +218,10 @@ struct cmu_vend {
/* v_flags values */
#define VF_SMASK 1 /* Subnet mask field contains valid data */
+
+/* RFC 4702 DHCP Client FQDN Option */
+
+#define CLIENT_FQDN_FLAGS_S 0x01
+#define CLIENT_FQDN_FLAGS_O 0x02
+#define CLIENT_FQDN_FLAGS_E 0x04
+#define CLIENT_FQDN_FLAGS_N 0x08