diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-05-01 01:04:24 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-05-01 01:04:24 +0000 |
commit | 29d7ec110ed48508c428f9ffc30fbdcff8e7f93a (patch) | |
tree | 4dd3c0a285d9254d872124aa1b176abf97304d9a /epan/dissectors/packet-bfd.c | |
parent | 7e1603af9bd6219ad25e552ccf6957d96d890a77 (diff) |
Indicate why the flags have a field width of 6.
Add the RFC numbers for the BFD RFCs, and a URL for the last I-D that
discussed version 0.
svn path=/trunk/; revision=42371
Diffstat (limited to 'epan/dissectors/packet-bfd.c')
-rw-r--r-- | epan/dissectors/packet-bfd.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/epan/dissectors/packet-bfd.c b/epan/dissectors/packet-bfd.c index e57ce142a1..0bc69395a2 100644 --- a/epan/dissectors/packet-bfd.c +++ b/epan/dissectors/packet-bfd.c @@ -1,5 +1,7 @@ /* packet-bfd.c * Routines for Bidirectional Forwarding Detection (BFD) message dissection + * RFCs 5880, 5881, 5882, 5883, 5884, 5885 + * (and http://tools.ietf.org/html/draft-ietf-bfd-base-01 for version 0) * * Copyright 2003, Hannes Gredler <hannes@juniper.net> * Copyright 2006, Balint Reczey <Balint.Reczey@ericsson.com> @@ -701,34 +703,34 @@ proto_register_bfd(void) }, { &hf_bfd_flags_p, { "Poll", "bfd.flags.p", - FT_BOOLEAN, 6, TFS(&tfs_set_notset), 0x20, /* 6? */ + FT_BOOLEAN, 6, TFS(&tfs_set_notset), 0x20, /* 6 flag bits; Sta is shown separately */ "If set, the transmitting system is expecting a packet with the Final (F) bit in reply", HFILL } }, { &hf_bfd_flags_f, { "Final", "bfd.flags.f", - FT_BOOLEAN, 6, TFS(&tfs_set_notset), 0x10, /* 6? */ + FT_BOOLEAN, 6, TFS(&tfs_set_notset), 0x10, /* 6 flag bits; Sta is shown separately */ "If set, the transmitting system is replying to a packet with the Poll (P) bit set", HFILL } }, { &hf_bfd_flags_c, { "Control Plane Independent", "bfd.flags.c", - FT_BOOLEAN, 6, TFS(&tfs_set_notset), 0x08, /* 6? */ + FT_BOOLEAN, 6, TFS(&tfs_set_notset), 0x08, /* 6 flag bits; Sta is shown separately */ "If set, the BFD implementation is implemented in the forwarding plane", HFILL } }, { &hf_bfd_flags_a, { "Authentication Present", "bfd.flags.a", - FT_BOOLEAN, 6, TFS(&tfs_set_notset), 0x04, /* 6? */ + FT_BOOLEAN, 6, TFS(&tfs_set_notset), 0x04, /* 6 flag bits; Sta is shown separately */ "The Authentication Section is present", HFILL } }, { &hf_bfd_flags_d, { "Demand", "bfd.flags.d", - FT_BOOLEAN, 6, TFS(&tfs_set_notset), 0x02, /* 6? */ + FT_BOOLEAN, 6, TFS(&tfs_set_notset), 0x02, /* 6 flag bits; Sta is shown separately */ "If set, Demand mode is active in the transmitting system", HFILL } }, { &hf_bfd_flags_m, { "Multipoint", "bfd.flags.m", - FT_BOOLEAN, 6, TFS(&tfs_set_notset), 0x01, /* 6? */ + FT_BOOLEAN, 6, TFS(&tfs_set_notset), 0x01, /* 6 flag bits; Sta is shown separately */ "Reserved for future point-to-multipoint extensions", HFILL } }, { &hf_bfd_detect_time_multiplier, |