| 
  | ||||||||||||||||
Encoding used in BGP update packets to encode prefixes (IPv4 only) for withdrawn routes and NLRI information.
The prefixes are passed on the wire in a compressed format: 1 byte: prefix length L (in bits) n bytes: prefix, L bits (n = (L+7)/8)
Effectively, this class is just an IPv4Net. We only need methods to encode and decode the objects.
|  BGPUpdateAttrib (const IPv4& d, uint8_t s)
 | BGPUpdateAttrib | 
construct from an address d and mask length s
|  BGPUpdateAttrib (const IPv4Net& p)
 | BGPUpdateAttrib | 
|  BGPUpdateAttrib (const uint8_t *d)
 | BGPUpdateAttrib | 
| void  copy_out (uint8_t *d)
 | copy_out | 
[const]
store in memory in wire format
| size_t  wire_size ()
 | wire_size | 
[const]
|  size_t  size (const uint8_t *d)
 throw(CorruptMessage)  | size | 
[static]
| size_t  calc_byte_size ()
 | calc_byte_size | 
[const]
| const IPv4Net&  net ()
 | net | 
[const]
| string  str (string nlri_or_withdraw)
 | str | 
[const]