tcpdump/tests/lisp_eid_notify-v.out
Francois-Xavier Le Bail 85f1d1ea3b LISP: Modernize packet parsing
Define ND_LONGJMP_FROM_TCHECK and remove a 'trunc' label.
Make a bounds check conditional.
Use ND_ICHECK_U() for a length test.
Fix a bounds check, not invalid, but truncated.
(The bounds check is done by hex_print_with_offset() via hex_print().)
Use ND_TTEST_LEN() instead of testing ndo->ndo_snapend.
Remove an useless variable ('packet_iterator' same as 'bp').

Remove/update some comments.
Fix some indentations.
Remove some extra blank lines.

Update the outputs of two tests accordingly.
2024-11-22 10:43:01 +00:00

63 lines
3.9 KiB
Plaintext

1 2015-08-22 11:09:05.156268 IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 160)
192.168.0.105.4342 > 127.0.0.1.4342: LISP-Map-Notify, flags [none],
3 record(s), Authentication SHA1,
Authentication-Data: 0x0000: 4bbb 9614 a67a 8604 0407 7995 4537 1906
Authentication-Data: 0x0010: 836c d1d6
Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.100/32, 1 locator(s)
LOC 20.20.8.253
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.96/32, 2 locator(s)
LOC 20.20.8.251
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
LOC 20.20.8.252
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.80/32, 1 locator(s)
LOC 20.20.8.239
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
2 2015-08-22 11:09:05.615558 IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 156)
192.168.0.105.4342 > 127.0.0.1.4342: LISP-Map-Notify, flags [I-xTR-ID-Present],
2 record(s), Authentication SHA1,
Authentication-Data: 0x0000: 4bbb 9614 a67a 8604 0407 7995 4537 1906
Authentication-Data: 0x0010: 836c d1d6
Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.100/32, 1 locator(s)
LOC 20.20.8.253
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.96/32, 2 locator(s)
LOC 20.20.8.251
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
LOC 20.20.8.252
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
xTR-ID: 0x0000: 9787 ad75 3caf 58a7 13fa 6920 e6d2 7a8f
SITE-ID: 0
3 2015-08-22 11:09:06.507423 IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 160)
192.168.0.105.4342 > 127.0.0.1.4342: LISP-Map-Notify, flags [I-xTR-ID-Present],
3 record(s), Authentication SHA1,
Authentication-Data: 0x0000: 4bbb 9614 a67a 8604 0407 7995 4537 1906
Authentication-Data: 0x0010: 836c d1d6
Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.100/32, 1 locator(s)
LOC 20.20.8.253
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.96/32, 2 locator(s)
LOC 20.20.8.251
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
LOC 20.20.8.252
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.80/32, 1 locator(s)
LOC 20.20.8.239
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none], [|lisp]
4 2015-08-22 11:09:07.451778 IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 156)
192.168.0.105.4342 > 127.0.0.1.4342: LISP-Map-Notify, flags [none],
2 record(s), Authentication SHA1,
Authentication-Data: 0x0000: 4bbb 9614 a67a 8604 0407 7995 4537 1906
Authentication-Data: 0x0010: 836c d1d6
Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.100/32, 1 locator(s)
LOC 20.20.8.253
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.96/32, 2 locator(s)
LOC 20.20.8.251
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
LOC 20.20.8.252
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
Data: 0x0000: 9787 ad75 3caf 58a7 13fa 6920 e6d2 7a8f
Data: 0x0010: 0000 0000 0000 0000