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
This commit is contained in:
Guy Harris 2012-05-01 01:04:24 +00:00
parent 7e1603af9b
commit 29d7ec110e
1 changed files with 8 additions and 6 deletions

View File

@ -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,