]> git.proxmox.com Git - mirror_frr.git/blob - doc/developer/bgp-typecodes.rst
Merge pull request #13122 from rgirada/mgmtd_codecov
[mirror_frr.git] / doc / developer / bgp-typecodes.rst
1 BGP-4[+] UPDATE Attribute Preprocessor Constants
2 ================================================
3
4 This is a list of preprocessor constants that map to BGP attributes defined by
5 various BGP RFCs. In the code these are defined as BGP_ATTR_<ATTR>.
6
7 +-------+------------------+------------------------------------------+
8 | Value | Attribute | References |
9 +=======+==================+==========================================+
10 | 1 | ORIGIN | [RFC 4271] |
11 | 2 | AS_PATH | [RFC 4271] |
12 | 3 | NEXT_HOP | [RFC 4271] |
13 | 4 | MULTI_EXIT_DISC | [RFC 4271] |
14 | 5 | LOCAL_PREF | [RFC 4271] |
15 | 6 | ATOMIC_AGGREGATE | [RFC 4271] |
16 | 7 | AGGREGATOR | [RFC 4271] |
17 | 8 | COMMUNITIES | [RFC 1997] |
18 | 9 | ORIGINATOR_ID | [RFC 4456] |
19 | 10 | CLUSTER_LIST | [RFC 4456] |
20 | 14 | MP_REACH_NLRI | [RFC 4760] |
21 | 15 | MP_UNREACH_NLRI | [RFC 4760] |
22 | 16 | EXT_COMMUNITIES | [RFC 4360] |
23 | 17 | AS4_PATH | [RFC 4893] |
24 | 18 | AS4_AGGREGATOR | [RFC 4893] |
25 +-------+------------------+------------------------------------------+