summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-12-11devices: tap API cleanupJakub Grajciar11-131/+236
Use consistent API types. Type: fix Change-Id: I11cc7f6347b7a60e5fd41e54f0c7994e2d81199f Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
2019-12-10ipsec: Init salt value in SA creation CLI (so it's not random)Neale Ranns1-0/+1
Type: fix Change-Id: Idf4d0b59a1eb2c739a67a4786470884050f81561 Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-12-10quic: removing quicly_send call from quic_accept_connectionMathiasRaoul1-9/+21
Type: fix Signed-off-by: MathiasRaoul <mathias.raoul@gmail.com> Change-Id: I429b50b88c8e029b06854c7433d0bc77619e98a3
2019-12-10api: pass api and client main to rx threadFlorin Coras3-1/+34
Type: fix Change-Id: Ib8313e87a89c80045edd897924917a88b98d1937 Signed-off-by: Florin Coras <fcoras@cisco.com>
2019-12-10ioam: use explicit api typesOle Troan18-871/+154
Also remove API boilerplate. Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I62e795f5af3843af7912707ade4ba178ff326942
2019-12-10ip: use explicit types in apiOle Troan1-73/+74
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I1fd190da28a765ba430952539c291a741aaa3dce
2019-12-10flowprobe: use explicit types in apiOle Troan4-25/+44
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I4f1cccca7de0c07cee472bde80cd6b0ef60046bd
2019-12-10api: multiple connections per processDave Barach80-202/+236
Type: feature Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I2272521d6e69edcd385ef684af6dd4eea5eaa953
2019-12-09vlib: improve test coverageDave Barach7-182/+91
Add tests. Remove unused rule-based parser code. Type: test Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I3ca3a9dd9da8ee8f3a47004c98f2f5644db10057
2019-12-09api: fix sock reg passing on read eventFlorin Coras3-26/+24
Type: fix Change-Id: I383242e04a114b69fe247d912842be3560e96c10 Signed-off-by: Florin Coras <fcoras@cisco.com>
2019-12-09ipsec: make sure pad_bytes does not exceed pad data sizeBenoît Ganne1-1/+5
This helps GCC understand the memcpy will not overflow pad_data. GCC-6 (default on Debian 9) in particular got confused. Type: fix Change-Id: I176eb01531b9d5c7ebec40f015e510b2d56e77c4 Signed-off-by: Benoît Ganne <bganne@cisco.com>
2019-12-09marvell: use explicit types in apiOle Troan1-3/+4
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I1af842f38f90d3ede971da74cd28179b61f613cf
2019-12-09gtpu: use explicit types in apiOle Troan7-112/+83
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I16fcbd5e63526dbf062a3032701479324fe2a4f5
2019-12-09l3xc: use explicit types in apiOle Troan1-6/+7
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: Ia94eab60689a07de522b8106dd48ff6b669bc770
2019-12-08ip: coverity fixjohny1-8/+6
Delete Null-checking "p0" in function ip6_tcp_udp_icmp_bad_length, because it's not necessary. Type: fix Signed-off-by: johny <jan.cavojsky@pantheon.tech> Change-Id: I2bf43a60c1c1d76e42581df27f2285c9e9563093
2019-12-07lacp: use explit api typesOle Troan3-6/+10
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I3f19c69a6f6282a97fd591adcd1e4490cf21e743
2019-12-07lacp: fix control_ping from pluginsOle Troan3-0/+10
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I030f75234a346ef6a20640c1a0ed65f4934867f2
2019-12-07stn: use explicit types in apiOle Troan3-35/+17
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: Ifba4ff0e0f61641ca3f5e7bb72086cb4f32f1909
2019-12-07vmxnet3: use explicit types in apiOle Troan3-9/+12
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I2e699fc812c45f88e359f0f7231f372955e70149
2019-12-07vlib: use explicit types in apiOle Troan1-1/+1
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: Ib3a5d9fc36692553eb109976e9365dc7d82911ab
2019-12-07map: use explicit types in apiOle Troan1-2/+3
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I8f01f9e71c788fbca989d43d5b87da9c33fba0b1
2019-12-07svs: use explicit types in apiOle Troan1-6/+6
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: Ic9570fca7e434c9b861be8ed064503492225f9fd
2019-12-07pppoe: use explicit types in apiOle Troan5-34/+30
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: Ifd1e1907740e55420dc040eb2afbbbf9887aea3c
2019-12-06quic: update quicly to v0.0.7-vppMathiasRaoul3-10/+85
Type: feature Change-Id: Ieeb9abb59b4d094bbd7bfc04a9007d3cebd645d7 Signed-off-by: MathiasRaoul <mathias.raoul@gmail.com>
2019-12-06api: avoid swapping vlib_rp before barrier syncFlorin Coras5-65/+65
Type: fix Change-Id: I9868d13e827c6f5aa5535a38f629efb62ff12dbc Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com> Signed-off-by: Florin Coras <fcoras@cisco.com>
2019-12-06gso: fix the tap/virtio driver for header offsetMohsin Kazmi2-2/+49
Type: fix Change-Id: Ied34466907fa8ad44f997c600dbf481be4d22027 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2019-12-06api: fix free socket process argsFlorin Coras1-0/+1
Type: fix Change-Id: I910be067de6ed65790d25cc95a3d8b5b66680567 Signed-off-by: Florin Coras <fcoras@cisco.com>
2019-12-06mactime: update api to use explicit typesOle Troan2-11/+15
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: Id347e77d0230bf1b22df75bf1ae63a50eaf4d564
2019-12-06l2e: use explicit api typesOle Troan1-2/+3
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I1888a8247ef03cfb715a2c0e0e3ca2a108fecbc8
2019-12-06dpdk: use explicit types in apiOle Troan1-3/+4
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: Iff7e995499e422003147342ff14de483d807b3f3
2019-12-06ct6: use explicit type in apiOle Troan1-3/+5
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I2342baa91234db1336394305c031dbfa21d219a5
2019-12-06cdp: use explicit types in apiOle Troan1-1/+1
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: If50e66638554e0fcfc72d35a89a39379dfcb530d
2019-12-06abf: use explicit types in apiOle Troan1-4/+5
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I9462de3d27b88539bff87c07a59987dd62fb2add
2019-12-06igmp: use explicit types in apiOle Troan1-10/+11
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: Ifdb623c092cf0a9d9e24117edc32c6ddf014052f
2019-12-06ikev2: use explicit api typesOle Troan3-16/+21
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I2171ef678ecad12d681668257498a5a62004152f
2019-12-06nsh: use explicit api typesOle Troan1-6/+8
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I8fd870e757e9243d4f0916dfbbe65495f7e1a8c6
2019-12-06nsim: use explicit api typesOle Troan1-6/+7
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: Icdc359beb127944418305775e42fa88c569dfbd7
2019-12-06api: multiple socket connections per single processFlorin Coras2-31/+164
Type: feature Change-Id: Idea1857eb2225881d2982a7aa2ae7a79536b3f33 Signed-off-by: Florin Coras <fcoras@cisco.com>
2019-12-06session: close for reset replies independent of stateFlorin Coras1-2/+2
Type: fix Change-Id: I8b8875f1dc9203dfbb443ac43df8250cbb0b1edc Signed-off-by: Florin Coras <fcoras@cisco.com>
2019-12-06tcp: fix tail rescue with sacksFlorin Coras1-5/+7
Type: fix Change-Id: Iad73f47cef3d29c4b0b7d1f58f2f2b14ba4b1d38 Signed-off-by: Florin Coras <fcoras@cisco.com>
2019-12-05tests: move bfd over gre to extended testsPaul Vinciguerra1-0/+1
This test should be fixed or removed. EXTENDED_TESTS should not become "BROKEN_TESTS" Type: test Change-Id: Id998f0d3b7bd31100f917d076fbd7ddb46d99ed2 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
2019-12-05srv6-mobileTetsuya Murakami1-2/+2
Type: fix Plug-in for IPv6 Segment Routing Mobile Fix the static analysis issue on srv6-mobile/gtp4_d function. Signed-off-by: Tetsuya Murakami <tetsuya.mrk@gmail.com> Change-Id: I5c419b76a30c9616dc3557267fcceed0d512b67e
2019-12-05map: fix MAP-T ip6 port checkMatthew Smith2-5/+60
Type: fix Ticket: VPP-1804 Fix a regression introduced by 640edcd90. The port set ID on received IPv6 packets for MAP-T was being checked against the destination port. It should be checked against the source port. Added a new unit test to verify that a v6 packet with a good source port is translated and forwarded and a v6 packet with a bad source port is dropped. The important part of the test which will prevent similar future regressions is that the source port and destination port are not equal. The existing unit test used the same source and destination port which is why it did not fail when the regression was introduced. Change-Id: Idc144ea509722bb9e0f80b3887d220384a04e6d6 Signed-off-by: Matthew Smith <mgsmith@netgate.com>
2019-12-05tests: quic enable per testcase timeout overridesPaul Vinciguerra1-3/+8
Type: test Change-Id: I4f8aee3efa53d58f96631fe2d2da5756304fb75a Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
2019-12-05classify: vpp packet tracer supportDave Barach7-36/+271
Configure n-tuple classifier filters which apply to the vpp packet tracer. Update the documentation to reflect the new feature. Add a test vector. Type: feature Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: Iefa911716c670fc12e4825b937b62044433fec36
2019-12-05ip: fix cancel termination after receive malformed ip6 packetjohny2-5/+68
This fix is for cancel termination of vpp after receive malformed packet type of ip6.To avoid termination of vpp are checked if are missing data in packet. This occours, when payload length in ip6 header packet is more than real count of data in packet. When this error occours, packet is ignore. Type: fix Ticket: VPP-1693, VPP-1694 Change-Id: I9d9ecea7b75c8702cb31aa8051c8d4d7ce19659d Signed-off-by: johny <jan.cavojsky@pantheon.tech>
2019-12-05srv6-mobileTetsuya Murakami9-67/+997
Type: feature Plug-in for IPv6 Segment Routing Mobile Support the plug-in function in SR Policy. Support GTP4.D plug-in as SR Policy plug-in. Signed-off-by: Tetsuya Murakami <tetsuya.mrk@gmail.com> Change-Id: I306160b7203921d879940193868944158867c482
2019-12-05tests: fix wrong checksum error messageKlement Sekera1-1/+3
This change fixes the error message, which would previously report mismatch on IPv6 layer instead of TCP layer. Type: fix Change-Id: Ie78779685362a420d155f928b3cdb341bc3fb8bc Signed-off-by: Klement Sekera <ksekera@cisco.com>
2019-12-05classify: Fix 2 coverity errorsJon Loeliger1-0/+8
Validate two tainted scalars, filter_sw_if_index, that came from an API message. Type: fix Change-Id: I3ac8a09f91f380185e36babeaa6330691f7cb24b Signed-off-by: Jon Loeliger <jdl@netgate.com>
2019-12-05papi: add call statsOle Troan2-1/+24
Type: feature Change-Id: Ic6d44122d3e62e09402e3f1946f7e57e9b5e7c5f Signed-off-by: Ole Troan <ot@cisco.com>