File: bgp-typecodes.rst

package info (click to toggle)
frr 10.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 76,352 kB
  • sloc: ansic: 687,049; python: 226,152; perl: 6,379; sh: 2,653; cpp: 1,883; makefile: 670; yacc: 397; lex: 363; lisp: 66; xml: 35; javascript: 8
file content (25 lines) | stat: -rw-r--r-- 1,615 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
BGP-4[+] UPDATE Attribute Preprocessor Constants
================================================

This is a list of preprocessor constants that map to BGP attributes defined by
various BGP RFCs. In the code these are defined as BGP_ATTR_<ATTR>.

+-------+------------------+------------------------------------------+
| Value | Attribute        | References                               |
+=======+==================+==========================================+
| 1     | ORIGIN           | [RFC 4271]                               |
| 2     | AS_PATH          | [RFC 4271]                               |
| 3     | NEXT_HOP         | [RFC 4271]                               |
| 4     | MULTI_EXIT_DISC  | [RFC 4271]                               |
| 5     | LOCAL_PREF       | [RFC 4271]                               |
| 6     | ATOMIC_AGGREGATE | [RFC 4271]                               |
| 7     | AGGREGATOR       | [RFC 4271]                               |
| 8     | COMMUNITIES      | [RFC 1997]                               |
| 9     | ORIGINATOR_ID    | [RFC 4456]                               |
| 10    | CLUSTER_LIST     | [RFC 4456]                               |
| 14    | MP_REACH_NLRI    | [RFC 4760]                               |
| 15    | MP_UNREACH_NLRI  | [RFC 4760]                               |
| 16    | EXT_COMMUNITIES  | [RFC 4360]                               |
| 17    | AS4_PATH         | [RFC 4893]                               |
| 18    | AS4_AGGREGATOR   | [RFC 4893]                               |
+-------+------------------+------------------------------------------+