]> The Tcpdump Group git mirrors - tcpdump/commitdiff
BGP: Update LARGE_COMMUNITY Path Attribute early allocation IANA value
authorPier Carlo Chiodi <[email protected]>
Wed, 26 Oct 2016 20:16:30 +0000 (22:16 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Thu, 27 Oct 2016 08:24:36 +0000 (10:24 +0200)
Update test files accordingly

print-bgp.c
tests/bgp-large-community.out
tests/bgp-large-community.pcap

index e1b77502e3ef1b081c2c2f90886842394eb4da14..79afeab4c759913f6bc057111425675dc6573e94 100644 (file)
@@ -139,7 +139,7 @@ struct bgp_route_refresh {
 #define BGPTYPE_AIGP                    26      /* RFC7311 */
 #define BGPTYPE_PE_DISTINGUISHER_LABEL  27      /* RFC6514 */
 #define BGPTYPE_ENTROPY_LABEL           28      /* RFC6790 */
 #define BGPTYPE_AIGP                    26      /* RFC7311 */
 #define BGPTYPE_PE_DISTINGUISHER_LABEL  27      /* RFC6514 */
 #define BGPTYPE_ENTROPY_LABEL           28      /* RFC6790 */
-#define BGPTYPE_LARGE_COMMUNITY                30      /* draft-ietf-idr-large-community-02 */
+#define BGPTYPE_LARGE_COMMUNITY                32      /* draft-ietf-idr-large-community-05 */
 #define BGPTYPE_ATTR_SET               128      /* RFC6368 */
 
 #define BGP_MP_NLRI_MINSIZE              3       /* End of RIB Marker detection */
 #define BGPTYPE_ATTR_SET               128      /* RFC6368 */
 
 #define BGP_MP_NLRI_MINSIZE              3       /* End of RIB Marker detection */
index a9f261c01d5e1b9a650186a30eb0c2473f03bdbf..39dcd4068098f2401239091de3bf2a2d91aa3ab0 100644 (file)
@@ -1,10 +1,10 @@
-IP (tos 0x0, ttl 64, id 40592, offset 0, flags [DF], proto TCP (6), length 427)
-    192.0.2.2.34270 > 192.0.2.3.179: Flags [P.], cksum 0x648a (correct), seq 1543383182:1543383557, ack 1631904162, win 457, options [nop,nop,TS val 3914332 ecr 3914332], length 375: BGP
+IP (tos 0x0, ttl 64, id 14630, offset 0, flags [DF], proto TCP (6), length 427)
+    192.0.2.2.46605 > 192.0.2.3.179: Flags [P.], cksum 0x232f (correct), seq 1293104091:1293104466, ack 4093754554, win 457, options [nop,nop,TS val 68367 ecr 68367], length 375: BGP
        Update Message (2), length: 75
          Origin (1), length: 1, Flags [T]: IGP
          AS Path (2), length: 6, Flags [T]: 65536 
          Next Hop (3), length: 4, Flags [T]: 192.0.2.2
        Update Message (2), length: 75
          Origin (1), length: 1, Flags [T]: IGP
          AS Path (2), length: 6, Flags [T]: 65536 
          Next Hop (3), length: 4, Flags [T]: 192.0.2.2
-         Large Community (30), length: 24, Flags [OT]: 
+         Large Community (32), length: 24, Flags [OT]: 
            65535:1:1, 4294967295:4294967295:4294967295
          Updated routes:
            203.0.113.16/32
            65535:1:1, 4294967295:4294967295:4294967295
          Updated routes:
            203.0.113.16/32
@@ -12,7 +12,7 @@ IP (tos 0x0, ttl 64, id 40592, offset 0, flags [DF], proto TCP (6), length 427)
          Origin (1), length: 1, Flags [T]: IGP
          AS Path (2), length: 6, Flags [T]: 65536 
          Next Hop (3), length: 4, Flags [T]: 192.0.2.2
          Origin (1), length: 1, Flags [T]: IGP
          AS Path (2), length: 6, Flags [T]: 65536 
          Next Hop (3), length: 4, Flags [T]: 192.0.2.2
-         Large Community (30), length: 24, Flags [OT]: 
+         Large Community (32), length: 24, Flags [OT]: 
            65536:1:1, 65536:1:2
          Updated routes:
            203.0.113.12/32
            65536:1:1, 65536:1:2
          Updated routes:
            203.0.113.12/32
@@ -20,7 +20,7 @@ IP (tos 0x0, ttl 64, id 40592, offset 0, flags [DF], proto TCP (6), length 427)
          Origin (1), length: 1, Flags [T]: IGP
          AS Path (2), length: 6, Flags [T]: 65536 
          Next Hop (3), length: 4, Flags [T]: 192.0.2.2
          Origin (1), length: 1, Flags [T]: IGP
          AS Path (2), length: 6, Flags [T]: 65536 
          Next Hop (3), length: 4, Flags [T]: 192.0.2.2
-         Large Community (30), length: 12, Flags [OT]: 
+         Large Community (32), length: 12, Flags [OT]: 
            65536:1:1
          Updated routes:
            203.0.113.11/32
            65536:1:1
          Updated routes:
            203.0.113.11/32
@@ -28,7 +28,7 @@ IP (tos 0x0, ttl 64, id 40592, offset 0, flags [DF], proto TCP (6), length 427)
          Origin (1), length: 1, Flags [T]: IGP
          AS Path (2), length: 6, Flags [T]: 65536 
          Next Hop (3), length: 4, Flags [T]: 192.0.2.2
          Origin (1), length: 1, Flags [T]: IGP
          AS Path (2), length: 6, Flags [T]: 65536 
          Next Hop (3), length: 4, Flags [T]: 192.0.2.2
-         Large Community (30), length: 24, Flags [OT]: 
+         Large Community (32), length: 24, Flags [OT]: 
            65536:0:1, 65536:1:0
          Updated routes:
            203.0.113.15/32
            65536:0:1, 65536:1:0
          Updated routes:
            203.0.113.15/32
@@ -36,7 +36,7 @@ IP (tos 0x0, ttl 64, id 40592, offset 0, flags [DF], proto TCP (6), length 427)
          Origin (1), length: 1, Flags [T]: IGP
          AS Path (2), length: 6, Flags [T]: 65536 
          Next Hop (3), length: 4, Flags [T]: 192.0.2.2
          Origin (1), length: 1, Flags [T]: IGP
          AS Path (2), length: 6, Flags [T]: 65536 
          Next Hop (3), length: 4, Flags [T]: 192.0.2.2
-         Large Community (30), length: 36, Flags [OT]: 
+         Large Community (32), length: 36, Flags [OT]: 
            65536:1:1, 65536:1:2, 65536:1:3
          Updated routes:
            203.0.113.13/32
            65536:1:1, 65536:1:2, 65536:1:3
          Updated routes:
            203.0.113.13/32
index 0c076648d5e2aa5f72ab97d0eadedccd989bfa89..7b5118d369e76c6a9d01f52c37d9729068cfb0d6 100644 (file)
Binary files a/tests/bgp-large-community.pcap and b/tests/bgp-large-community.pcap differ