Searched refs:bgpo (Results 1 – 1 of 1) sorted by relevance
/external/tcpdump/ |
D | print-bgp.c | 2430 struct bgp_open bgpo; in bgp_open_print() local 2436 memcpy(&bgpo, dat, BGP_OPEN_SIZE); in bgp_open_print() 2438 ND_PRINT((ndo, "\n\t Version %d, ", bgpo.bgpo_version)); in bgp_open_print() 2440 as_printf(ndo, astostr, sizeof(astostr), ntohs(bgpo.bgpo_myas)))); in bgp_open_print() 2441 ND_PRINT((ndo, "Holdtime %us, ", ntohs(bgpo.bgpo_holdtime))); in bgp_open_print() 2442 ND_PRINT((ndo, "ID %s", ipaddr_string(ndo, &bgpo.bgpo_id))); in bgp_open_print() 2443 ND_PRINT((ndo, "\n\t Optional parameters, length: %u", bgpo.bgpo_optlen)); in bgp_open_print() 2446 if (length < bgpo.bgpo_optlen+BGP_OPEN_SIZE) in bgp_open_print() 2454 while (i < bgpo.bgpo_optlen) { in bgp_open_print() 2457 if (i + 2 + bgpopt.bgpopt_len > bgpo.bgpo_optlen) { in bgp_open_print()
|