Lines Matching refs:bfd_header
172 const struct bfd_header_t *bfd_header;
176 bfd_header = (const struct bfd_header_t *)pptr;
178 TCHECK(*bfd_header);
179 version = BFD_EXTRACT_VERSION(bfd_header->version_diag);
193 bittok2str(bfd_v0_flag_values, "none", bfd_header->flags),
202 bittok2str(bfd_v0_flag_values, "none", bfd_header->flags),
203 tok2str(bfd_diag_values,"unknown",BFD_EXTRACT_DIAG(bfd_header->version_diag)),
204 BFD_EXTRACT_DIAG(bfd_header->version_diag));
207 bfd_header->detect_time_multiplier,
208 bfd_header->detect_time_multiplier * EXTRACT_32BITS(bfd_header->desired_min_tx_interval)/1000,
209 bfd_header->length);
212 printf("\n\tMy Discriminator: 0x%08x", EXTRACT_32BITS(bfd_header->my_discriminator));
213 printf(", Your Discriminator: 0x%08x", EXTRACT_32BITS(bfd_header->your_discriminator));
214 printf("\n\t Desired min Tx Interval: %4u ms", EXTRACT_32BITS(bfd_header->desired_min_tx_interval)/1000);
215 printf("\n\t Required min Rx Interval: %4u ms", EXTRACT_32BITS(bfd_header->required_min_rx_interval)/1000);
216 printf("\n\t Required min Echo Interval: %4u ms", EXTRACT_32BITS(bfd_header->required_min_echo_interval)/1000);
226 tok2str(bfd_v1_state_values, "unknown (%u)", (bfd_header->flags & 0xc0) >> 6),
227 bittok2str(bfd_v1_flag_values, "none", bfd_header->flags & 0x3f),
236 tok2str(bfd_v1_state_values, "unknown (%u)", (bfd_header->flags & 0xc0) >> 6),
237 bittok2str(bfd_v1_flag_values, "none", bfd_header->flags & 0x3f),
238 tok2str(bfd_diag_values,"unknown",BFD_EXTRACT_DIAG(bfd_header->version_diag)),
239 BFD_EXTRACT_DIAG(bfd_header->version_diag));
242 bfd_header->detect_time_multiplier,
243 bfd_header->detect_time_multiplier * EXTRACT_32BITS(bfd_header->desired_min_tx_interval)/1000,
244 bfd_header->length);
247 printf("\n\tMy Discriminator: 0x%08x", EXTRACT_32BITS(bfd_header->my_discriminator));
248 printf(", Your Discriminator: 0x%08x", EXTRACT_32BITS(bfd_header->your_discriminator));
249 printf("\n\t Desired min Tx Interval: %4u ms", EXTRACT_32BITS(bfd_header->desired_min_tx_interval)/1000);
250 printf("\n\t Required min Rx Interval: %4u ms", EXTRACT_32BITS(bfd_header->required_min_rx_interval)/1000);
251 printf("\n\t Required min Echo Interval: %4u ms", EXTRACT_32BITS(bfd_header->required_min_echo_interval)/1000);
253 if (bfd_header->flags & BFD_FLAG_AUTH) {