bgp
struct bgp bgp;
memcpy(&bgp, dat, BGP_SIZE);
printf("(%s", bgp_type(bgp.bgp_type)); /* ) */
switch (bgp.bgp_type) {
struct bgp bgp;
memcpy(&bgp, p, BGP_SIZE);
hlen = ntohs(bgp.bgp_len);
printf("[|BGP %s]", bgp_type(bgp.bgp_type));
struct bgp bgp;
memcpy(&bgp, dat, BGP_SIZE);