summaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Expand)AuthorFilesLines
2020-01-04ipsec: AH copy destination and source address from templateNeale Ranns2-12/+26
2020-01-04ipsec: Targeted unit testingNeale Ranns3-10/+481
2020-01-02tests: configure 32 mb physmemDave Barach2-2/+2
2020-01-02tests: bfd - move test_poll_response to EXTENDED_TESTSPaul Vinciguerra1-0/+2
2019-12-31ip-neighbor: set link-type ARP on incomplete adjacenciesNeale Ranns1-0/+65
2019-12-27tests: test_mpls_v6_ebgp_pic - don't write to stdoutPaul Vinciguerra1-1/+1
2019-12-26tests: tls - don't print skip info to stdoutPaul Vinciguerra1-3/+6
2019-12-25classify: "classify filter ..." debug CLI cleanupDave Barach1-2/+2
2019-12-24tests: fix skip logic on test_tapPaul Vinciguerra1-2/+2
2019-12-23ipsec: Test and fix IPSec worker hand-offNeale Ranns6-21/+132
2019-12-23tests: TestL2bdMultiInst - break serial dependency on testsPaul Vinciguerra1-10/+15
2019-12-20tests: don't prompt to launch gdb for sanity test casePaul Vinciguerra4-22/+38
2019-12-19papi: lazily initialize stats clientPaul Vinciguerra1-14/+0
2019-12-19gre: multipoint ingress lookup fixNeale Ranns1-14/+69
2019-12-18build tests: fail test run if we can't patch scapyPaul Vinciguerra1-1/+1
2019-12-18tests: fix cdp patch for scapy 2.4.3Paul Vinciguerra1-20/+2
2019-12-18ipsec: Fix decap of IPSEC/GRE in transport modeNeale Ranns1-1/+125
2019-12-17tests: fix import from change to scapy 2.4.3Paul Vinciguerra1-1/+1
2019-12-17classify: add complex encap packet tracing testBenoît Ganne1-10/+110
2019-12-17nhrp: mGREv6Neale Ranns1-0/+78
2019-12-17ip: Protocol Independent IP NeighborsNeale Ranns17-69/+289
2019-12-17fib: Glean on NBMA interface points to dropNeale Ranns1-0/+6
2019-12-14tests: changes for scapy 2.4.3 migrationsnaramre17-35/+231
2019-12-11devices: vhost API cleanupJakub Grajciar1-3/+3
2019-12-11devices: tap API cleanupJakub Grajciar2-0/+65
2019-12-09vlib: improve test coverageDave Barach1-0/+26
2019-12-09gtpu: use explicit types in apiOle Troan1-34/+0
2019-12-07pppoe: use explicit types in apiOle Troan1-2/+0
2019-12-05tests: move bfd over gre to extended testsPaul Vinciguerra1-0/+1
2019-12-05classify: vpp packet tracer supportDave Barach1-0/+64
2019-12-05tests: fix wrong checksum error messageKlement Sekera1-1/+3
2019-12-05papi: add call statsOle Troan1-0/+1
2019-12-05tests: Revert "Python Tests: Make VppTestCase unit testable."Paul Vinciguerra1-5/+0
2019-12-05tests: add test run time.Ole Troan1-3/+6
2019-12-05build: fix vom_test dependency on EXTENDED_TESTSDave Wallace1-1/+3
2019-12-04tests: fix exception handling around vapi.connect()/.disconnect()Paul Vinciguerra1-5/+5
2019-12-04tests: add interface function chainingPaul Vinciguerra2-8/+31
2019-12-04fib: Decouple source from priority and behaviourNeale Ranns1-0/+18
2019-12-04gre: Multi-point interfacesNeale Ranns4-15/+152
2019-12-04build: fix make test with distributed srcDave Wallace7-1171/+210
2019-12-03ipip: Tunnel flags controlling copying data to/from payload/encapNeale Ranns2-83/+549
2019-12-03classify: API cleanupJakub Grajciar4-682/+435
2019-12-03papi: add a per-call _timeout optionPaul Vinciguerra1-1/+6
2019-12-03tests: vpp_interface fix ip6 setterPaul Vinciguerra1-1/+1
2019-12-02tests: GRE over IPSec unit testsNeale Ranns1-0/+97
2019-12-02tests: raise exception in vpp_interface for invalid sw_if_indexPaul Vinciguerra1-0/+3
2019-12-02tests: BFD python3 changessnaramre1-40/+5
2019-11-27vlib: add 'wait' cli commandPaul Vinciguerra2-4/+51
2019-11-27tests: display stdout and stderr when output caching is disabledBenoît Ganne1-2/+2
2019-11-27misc: add address sanitizer heap instrumentationBenoît Ganne1-0/+3
tination_unreachable, 0, no_route_to_destination) \ _ (destination_unreachable, 1, destination_administratively_prohibited) \ _ (destination_unreachable, 2, beyond_scope_of_source_address) \ _ (destination_unreachable, 3, address_unreachable) \ _ (destination_unreachable, 4, port_unreachable) \ _ (destination_unreachable, 5, source_address_failed_policy) \ _ (destination_unreachable, 6, reject_route_to_destination) \ _ (time_exceeded, 0, ttl_exceeded_in_transit) \ _ (time_exceeded, 1, fragment_reassembly_time_exceeded) \ _ (parameter_problem, 0, erroneous_header_field) \ _ (parameter_problem, 1, unrecognized_next_header) \ _ (parameter_problem, 2, unrecognized_option) \ _ (parameter_problem, 3, first_fragment_has_incomplete_header_chain) \ _ (router_renumbering, 0, command) \ _ (router_renumbering, 1, result) \ _ (node_information_request, 0, data_contains_ip6_address) \ _ (node_information_request, 1, data_contains_name) \ _ (node_information_request, 2, data_contains_ip4_address) \ _ (node_information_response, 0, success) \ _ (node_information_response, 1, failed) \ _ (node_information_response, 2, unknown_request) typedef enum { #define _(n,f) ICMP4_##f = n, foreach_icmp4_type #undef _ } icmp4_type_t; typedef enum { #define _(t,n,f) ICMP4_##t##_##f = n, foreach_icmp4_code #undef _ } icmp4_code_t; typedef enum { #define _(n,f) ICMP6_##f = n, foreach_icmp6_type #undef _ } icmp6_type_t; typedef enum { #define _(t,n,f) ICMP6_##t##_##f = n, foreach_icmp6_code #undef _ } icmp6_code_t; typedef CLIB_PACKED (struct { u8 type; u8 code; /* IP checksum of icmp header plus data which follows. */ u16 checksum; }) icmp46_header_t; /* ip6 neighbor discovery */ #define foreach_icmp6_neighbor_discovery_option \ _ (1, source_link_layer_address) \ _ (2, target_link_layer_address) \ _ (3, prefix_information) \ _ (4, redirected_header) \ _ (5, mtu) \ _ (6, nbma_shortcut_limit) \ _ (7, advertisement_interval) \ _ (8, home_agent_information) \ _ (9, source_address_list) \ _ (10, target_address_list) \ _ (11, cryptographically_generated_address) \ _ (12, rsa_signature) \ _ (13, timestamp) \ _ (14, nonce) \ _ (15, trust_anchor) \ _ (16, certificate) \ _ (17, ip_address_and_prefix) \ _ (18, new_router_prefix_information) \ _ (19, mobile_link_layer_address) \ _ (20, neighbor_advertisement_acknowledgment) \ _ (23, map) \ _ (24, route_information) \ _ (25, recursive_dns_server) \ _ (26, ra_flags_extension) \ _ (27, handover_key_request) \ _ (28, handover_key_reply) \ _ (29, handover_assist_information) \ _ (30, mobile_node_identifier) \ _ (31, dns_search_list) \ _ (138, card_request) \ _ (139, card_reply) typedef enum icmp6_neighbor_discovery_option_type { #define _(n,f) ICMP6_NEIGHBOR_DISCOVERY_OPTION_##f = n, foreach_icmp6_neighbor_discovery_option #undef _ } icmp6_neighbor_discovery_option_type_t; typedef CLIB_PACKED (struct { /* Option type. */ u8 type; /* Length of this header plus option data in 8 byte units. */ u8 n_data_u64s; /* Option data follows. */ u8 data[0]; }) icmp6_neighbor_discovery_option_header_t; typedef CLIB_PACKED (struct { icmp6_neighbor_discovery_option_header_t header; u8 dst_address_length; u8 flags; #define ICMP6_NEIGHBOR_DISCOVERY_PREFIX_INFORMATION_FLAG_ON_LINK (1 << 7) #define ICMP6_NEIGHBOR_DISCOVERY_PREFIX_INFORMATION_AUTO (1 << 6) u32 valid_time; u32 preferred_time; u32 unused; ip6_address_t dst_address; }) icmp6_neighbor_discovery_prefix_information_option_t; typedef CLIB_PACKED (struct { u8 type; u8 aux_data_len_u32s; u16 num_sources; ip6_address_t mcast_addr; ip6_address_t source_addr[0]; }) icmp6_multicast_address_record_t; typedef CLIB_PACKED (struct { ip6_hop_by_hop_ext_t ext_hdr; ip6_router_alert_option_t alert; ip6_padN_option_t pad; icmp46_header_t icmp; u16 rsvd; u16 num_addr_records; icmp6_multicast_address_record_t records[0]; }) icmp6_multicast_listener_report_header_t; typedef CLIB_PACKED (struct { icmp6_neighbor_discovery_option_header_t header; u8 reserved[6]; /* IP6 header plus payload follows. */ u8 data[0]; }) icmp6_neighbor_discovery_redirected_header_option_t; typedef CLIB_PACKED (struct { icmp6_neighbor_discovery_option_header_t header; u16 unused; u32 mtu; }) icmp6_neighbor_discovery_mtu_option_t; typedef CLIB_PACKED (struct { icmp6_neighbor_discovery_option_header_t header; u8 ethernet_address[6]; }) icmp6_neighbor_discovery_ethernet_link_layer_address_option_t; typedef CLIB_PACKED (struct { icmp6_neighbor_discovery_option_header_t header; u8 max_l2_address[6 + 8]; }) icmp6_neighbor_discovery_max_link_layer_address_option_t; /* Generic neighbor discover header. Used for router solicitations, etc. */ typedef CLIB_PACKED (struct { icmp46_header_t icmp; u32 reserved_must_be_zero; }) icmp6_neighbor_discovery_header_t; /* Router advertisement packet formats. */ typedef CLIB_PACKED (struct { icmp46_header_t icmp; /* Current hop limit to use for outgoing packets. */ u8 current_hop_limit; u8 flags; #define ICMP6_ROUTER_DISCOVERY_FLAG_ADDRESS_CONFIG_VIA_DHCP (1 << 7) #define ICMP6_ROUTER_DISCOVERY_FLAG_OTHER_CONFIG_VIA_DHCP (1 << 6) /* Zero means unspecified. */ u16 router_lifetime_in_sec; /* Zero means unspecified. */ u32 neighbor_reachable_time_in_msec; /* Zero means unspecified. */ u32 time_in_msec_between_retransmitted_neighbor_solicitations; /* Options that may follow: source_link_layer_address, mtu, prefix_information. */ }) icmp6_router_advertisement_header_t; /* Neighbor solicitation/advertisement header. */ typedef CLIB_PACKED (struct { icmp46_header_t icmp; /* Zero for solicitation; flags for advertisement. */ u32 advertisement_flags; /* Set when sent by a router. */ #define ICMP6_NEIGHBOR_ADVERTISEMENT_FLAG_ROUTER (1 << 31) /* Set when response to solicitation. */ #define ICMP6_NEIGHBOR_ADVERTISEMENT_FLAG_SOLICITED (1 << 30) #define ICMP6_NEIGHBOR_ADVERTISEMENT_FLAG_OVERRIDE (1 << 29) ip6_address_t target_address; /* Options that may follow: source_link_layer_address (for solicitation) target_link_layer_address (for advertisement). */ }) icmp6_neighbor_solicitation_or_advertisement_header_t; typedef CLIB_PACKED (struct { icmp46_header_t icmp; u32 reserved_must_be_zero; /* Better next hop to use for given destination. */ ip6_address_t better_next_hop_address; ip6_address_t dst_address; /* Options that may follow: target_link_layer_address, redirected_header. */ }) icmp6_redirect_header_t; /* Solicitation/advertisement packet format for ethernet. */ typedef CLIB_PACKED (struct { ip6_header_t ip; icmp6_neighbor_solicitation_or_advertisement_header_t neighbor; icmp6_neighbor_discovery_ethernet_link_layer_address_option_t link_layer_option; }) icmp6_neighbor_solicitation_header_t; /* Router solicitation packet format for ethernet. */ typedef CLIB_PACKED (struct { ip6_header_t ip; icmp6_neighbor_discovery_header_t neighbor; icmp6_neighbor_discovery_ethernet_link_layer_address_option_t link_layer_option; }) icmp6_router_solicitation_header_t; /* router advertisement packet format for ethernet. */ typedef CLIB_PACKED (struct { ip6_header_t ip; icmp6_router_advertisement_header_t router; icmp6_neighbor_discovery_ethernet_link_layer_address_option_t link_layer_option; icmp6_neighbor_discovery_mtu_option_t mtu_option; icmp6_neighbor_discovery_prefix_information_option_t prefix[0]; }) icmp6_router_advertisement_packet_t; /* multicast listener report packet format for ethernet. */ typedef CLIB_PACKED (struct { ip6_header_t ip; icmp6_multicast_listener_report_header_t report_hdr; }) icmp6_multicast_listener_report_packet_t; #endif /* included_vnet_icmp46_packet_h */