aboutsummaryrefslogtreecommitdiffstats
path: root/test/patches
AgeCommit message (Expand)AuthorFilesLines
2019-11-05misc: Fix python scripts shebang lineRenato Botelho do Couto2-2/+2
2019-10-23cdp: re-enable skipped tests for python3Ole Troan1-3/+10
2019-07-24ipsec: GCM, Anti-replay and ESN fixessNeale Ranns1-23/+29
2019-04-16IPSEC: support GCM in ESPNeale Ranns1-15/+37
2019-04-11IPSEC: ESP with ESN tests and fixesNeale Ranns1-14/+21
2019-03-25IPSEC tests fnd fix or Extended Sequence NumbersNeale Ranns1-0/+156
2018-11-02cdp scapy protocol & cdp unit testsFilip Varga1-0/+24
2018-09-27IPIP and IPv6 fragmentationOle Troan1-0/+12
2018-09-10vxlan-gbp: Add support for vxlan gbpMohsin Kazmi2-0/+13
2018-07-11srv6: Fixing SRH parsing bug in Scapy 2.4Francois Clad1-0/+28
2018-03-19Scapy upgrade to 2.4.0.rc5Neale Ranns5-0/+197
2018-03-01Fix ERSPAN encap to set EN bits in the header and add test caseJohn Lo1-1/+29
2018-02-26update BIER scapy patch to match the scapy repo PRNeale Ranns1-4/+2
2018-02-06BIER: fix support for longer bit-string lengthsNeale Ranns1-30/+35
2018-02-01IPv4/6 reassemblyKlement Sekera1-12/+13
2017-12-13GRE: fix single loop decap and add testNeale Ranns1-0/+9
2017-12-09BIER in non-MPLS netowrksNeale Ranns1-3/+17
2017-11-15vxlan extended tests - fix scapy-related issuesGabriel Ganne1-0/+11
2017-11-09BIERNeale Ranns2-8/+72
2017-10-06Initial GENEVE TUNNEL implementation and tests.Marco Varlese2-0/+69
2017-08-22SRv6 testsKris Michielsen1-0/+185
2017-05-25MPLS hash function improvementsNeale Ranns1-0/+5
2017-01-26DHCPv[46] proxy testsNeale Ranns1-0/+58
2016-12-02MPLS infrastructure improvmentsNeale Ranns1-0/+13
2016-11-22GRE tests and fixesNeale Ranns1-0/+25
.tx_function = vnet_local_interface_tx, }; /* *INDENT-ON* */ /* *INDENT-OFF* */ VNET_HW_INTERFACE_CLASS (vnet_local_interface_hw_class,static) = { .name = "local", }; /* *INDENT-ON* */ clib_error_t * vnet_main_init (vlib_main_t * vm) { vnet_main_t *vnm = vnet_get_main (); clib_error_t *error; u32 hw_if_index; vnet_hw_interface_t *hw; if ((error = vlib_call_init_function (vm, vnet_interface_init))) return error; if ((error = vlib_call_init_function (vm, fib_module_init))) return error; if ((error = vlib_call_init_function (vm, mfib_module_init))) return error; if ((error = vlib_call_init_function (vm, ip_main_init))) return error; if ((error = vlib_call_init_function (vm, ip4_lookup_init))) return error; if ((error = vlib_call_init_function (vm, ip6_lookup_init))) return error; if ((error = vlib_call_init_function (vm, mpls_init))) return error; vnm->vlib_main = vm; hw_if_index = vnet_register_interface (vnm, vnet_local_interface_device_class.index, /* instance */ 0, vnet_local_interface_hw_class.index, /* instance */ 0); hw = vnet_get_hw_interface (vnm, hw_if_index); vnm->local_interface_hw_if_index = hw_if_index; vnm->local_interface_sw_if_index = hw->sw_if_index; /* the local interface is used as an input interface when decapping from * an IPSEC tunnel. so it needs to be IP enabled */ ip4_sw_interface_enable_disable (hw->sw_if_index, 1); ip6_sw_interface_enable_disable (hw->sw_if_index, 1); return 0; } VLIB_INIT_FUNCTION (vnet_main_init); /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */