libbgp  0.6
A C++ BGP Library.
Enumerations
bgp-errcode.h File Reference

BGP error codes. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  libbgp::BgpErrorCode {
  E_UNSPEC = 0, E_HEADER = 1, E_OPEN = 2, E_UPDATE = 3,
  E_HOLD = 4, E_FSM = 5, E_CEASE = 6
}
 BGP Error codes.
 
enum  libbgp::BgpHeaderErrorSubcode { E_UNSPEC_HEADER = 0, E_SYNC = 1, E_LENGTH = 2, E_TYPE = 3 }
 BGP header error subcodes.
 
enum  libbgp::BgpOpenErrorSubcode {
  E_UNSPEC_OPEN = 0, E_VERSION = 1, E_PEER_AS = 2, E_BGP_ID = 3,
  E_OPT_PARAM = 4, E_AUTH_FAILED = 5, E_HOLD_TIME = 6, E_CAPABILITY = 7
}
 BGP open message error subcodes.
 
enum  libbgp::BgpUpdateErrorSubcode {
  E_UNSPEC_UPDATE = 0, E_ATTR_LIST = 1, E_BAD_WELL_KNOWN = 2, E_MISS_WELL_KNOWN = 3,
  E_ATTR_FLAG = 4, E_ATTR_LEN = 5, E_ORIGIN = 6, E_AS_LOOP = 7,
  E_NEXT_HOP = 8, E_OPT_ATTR = 9, E_NETFIELD = 10, E_AS_PATH = 11
}
 BGP update message error subcodes.
 
enum  libbgp::BgpFsmErrorSubcode { E_UNSPEC_FSM = 0, E_OPEN_SENT = 1, E_OPEN_CONFIRM = 2, E_ESTABLISHED = 3 }
 BGP FSm error subcodes.
 
enum  libbgp::BgpCeaseErrorSubcode {
  E_UNSPEC_CEASE = 0, E_MAX_PREFIX = 1, E_SHUTDOWN = 2, E_DECONF = 3,
  E_RESET = 4, E_REJECT = 5, E_CONFGCHANGE = 6, E_COLLISION = 7,
  E_RESOURCES = 8
}
 BGP cease error subcodes.
 

Detailed Description

BGP error codes.

Author
Nato Morichika nat@n.nosp@m.at.m.nosp@m.oe
Version
0.1
Date
2019-07-04

Definition in file bgp-errcode.h.