aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Expand)AuthorFilesLines
2017-09-15Modify return value of snat_out2in_lb(VPP-985)dongjuan2-10/+12
2017-09-14clib_socket: add sendmsg / recvmsg with ancillary data supportDamjan Marion5-27/+164
2017-09-13NAT: fixed bug in snat_alloc_outside_address_and_port (VPP-981)Matus Fabian1-1/+1
2017-09-14Stats refactorKeith Burns (alagalah)5-464/+1233
2017-09-13gpe: initialize fib index for native forward entriesFlorin Coras1-4/+6
2017-09-13Add a name to the creation of an IP and MPLS tableNeale Ranns17-70/+208
2017-09-13API message table inspection utilitiesDave Barach3-60/+449
2017-09-13devices: Fix coverity discovered 9/13/2017Steven1-0/+1
2017-09-13lb_vip_command_fn param redundancy when unformat ip address(VPP-977)flyingeagle231-1/+1
2017-09-13STATS: Refactor missed adding messages to CRC dictionary.Ole Troan1-0/+18
2017-09-13nat lb: del lb static mapping existed vec mem leak(VPP-983)flyingeagle231-0/+1
2017-09-13VPP-972: fix coverity warnings in the stats scraperDave Barach1-3/+3
2017-09-13VPP-960: Python API add more information in exception for invalid arguments t...Ole Troan1-1/+4
2017-09-12physmem: remove debug leftoversDamjan Marion2-2/+0
2017-09-12NAT: fixed bug in snat_alloc_outside_address_and_port (VPP-981)Matus Fabian3-9/+29
2017-09-12tcp: horizontal scaling improvmentsFlorin Coras10-209/+335
2017-09-12devices: Display VhostEthernet instead of UnknownEthernet for dpdk net_vhost ...Steven3-2/+14
2017-09-12net/mlx5: fix warning messageShachar Beiser1-0/+3
2017-09-12Fix issue in nat Bisearch algorithm (VPP-980)flyingeagle231-1/+1
2017-09-12acl-plugin: add startup-config section "acl-plugin" and heap/hash parametersAndrew Yourtchenko3-4/+60
2017-09-12nat lb mapping command existed array out of bounds(VPP-979)flyingeagle231-1/+2
2017-09-12ACL-plugin add "replace" semantics for adding a new MacIP aclPavel Kotucek5-18/+313
2017-09-11replace uint32_t with u32Neale Ranns6-12/+12
2017-09-11arp/glean: fix hash computationFlorin Coras1-1/+2
2017-09-11Recombine diags and minimum barrier open time changes (VPP-968)Colin Tregenza Dancer7-13/+367
2017-09-11memif: mode ip is not settable from binary APISteven3-4/+10
2017-09-11FIB table add/delete APINeale Ranns53-503/+1276
2017-09-10NAT: fixed hairpinning for in2out translation as an output feature (VPP-976)Matus Fabian1-7/+19
2017-09-09move unix_file_* code to vppinfraDamjan Marion26-352/+423
2017-09-08physmem: make fake allocation non-fatal if we cannot pick numa nodeDamjan Marion1-4/+11
2017-09-08Initialize ip4_reass_lock of map_main to zero (VPP-975)dongjuan1-0/+2
2017-09-08vlib: move linux-specific code to vlib/linuxDamjan Marion13-298/+364
2017-09-08PUNT: Missing include for readv()Marco Varlese1-0/+1
2017-09-08memif: fix coverity warnings as of 9/7Steven4-12/+29
2017-09-08ACL-plugin MACIP ACLs testsPavel Kotucek1-2/+16
2017-09-08acl-plugin: add hitcount to applied hash-acl entriesAndrew Yourtchenko3-4/+10
2017-09-08Fixes for issues reported by Coverity (VPP-972)Chris Luke7-20/+48
2017-09-07Allow individual stats API and introduce stats.apiKeith Burns (alagalah)9-592/+1131
2017-09-07vlib physmem reworkDamjan Marion19-517/+700
2017-09-07LISP: add neighbor discovery and CP protocol separation APIsFilip Tehlar2-0/+86
2017-09-07LISP: Add APIs for enable/disable xTR/P-ITR/P-ETR modesFilip Tehlar1-0/+60
2017-09-07Devices: Set interface rx-mode may cause SIGSEGV with nonexistent queueSteven3-3/+17
2017-09-07NAT: fixed bug in snat_get_worker_out2in_cb (VPP-832)Matus Fabian1-0/+2
2017-09-07acl-plugin: match index set to first portrange element if non-first portrange...Andrew Yourtchenko1-5/+1
2017-09-07Punt socket: Fix coverity error for pathname length mismatch between API and ...Ole Troan1-1/+1
2017-09-07Add fd/socket name to clib_socket_* error msgs.Dave Wallace1-12/+22
2017-09-07Fix session connect_* api message handling.Dave Wallace7-173/+159
2017-09-07Support for bridge domain free text tagJerome Tollet4-2/+66
2017-09-06Set uid/gid on ssvm segment file.Dave Wallace3-1/+12
2017-09-06Improve "show segment-manager segments"Dave Barach6-29/+176
idx_cnt++; else if (unformat (input, "del")) is_add = 0; else break; } if (sw_if_index == ~0) return clib_error_return (0, "Interface must be specified."); if (!idx_cnt) return clib_error_return (0, "Table index should be specified."); if (idx_cnt > 1) return clib_error_return (0, "Only one table index per API is allowed."); rv = vnet_set_policer_classify_intfc (vm, sw_if_index, ip4_table_index, ip6_table_index, l2_table_index, is_add); switch (rv) { case 0: break; case VNET_API_ERROR_NO_MATCHING_INTERFACE: return clib_error_return (0, "No such interface"); case VNET_API_ERROR_NO_SUCH_ENTRY: return clib_error_return (0, "No such classifier table"); } return 0; } /* *INDENT-OFF* */ VLIB_CLI_COMMAND (set_policer_classify_command, static) = { .path = "set policer classify", .short_help = "set policer classify interface <int> [ip4-table <index>]\n" " [ip6-table <index>] [l2-table <index>] [del]", .function = set_policer_classify_command_fn, }; /* *INDENT-ON* */ static uword unformat_table_type (unformat_input_t * input, va_list * va) { u32 *r = va_arg (*va, u32 *); u32 tid; if (unformat (input, "ip4")) tid = POLICER_CLASSIFY_TABLE_IP4; else if (unformat (input, "ip6")) tid = POLICER_CLASSIFY_TABLE_IP6; else if (unformat (input, "l2")) tid = POLICER_CLASSIFY_TABLE_L2; else return 0; *r = tid; return 1; } static clib_error_t * show_policer_classify_command_fn (vlib_main_t * vm, unformat_input_t * input, vlib_cli_command_t * cmd) { policer_classify_main_t *pcm = &policer_classify_main; u32 type = POLICER_CLASSIFY_N_TABLES; u32 *vec_tbl; int i; if (unformat (input, "type %U", unformat_table_type, &type)) ; else return clib_error_return (0, "Type must be specified.");; if (type == POLICER_CLASSIFY_N_TABLES) return clib_error_return (0, "Invalid table type."); vec_tbl = pcm->classify_table_index_by_sw_if_index[type]; if (vec_len (vec_tbl)) vlib_cli_output (vm, "%10s%20s\t\t%s", "Intfc idx", "Classify table", "Interface name"); else vlib_cli_output (vm, "No tables configured."); for (i = 0; i < vec_len (vec_tbl); i++) { if (vec_elt (vec_tbl, i) == ~0) continue; vlib_cli_output (vm, "%10d%20d\t\t%U", i, vec_elt (vec_tbl, i), format_vnet_sw_if_index_name, pcm->vnet_main, i); } return 0; } /* *INDENT-OFF* */ VLIB_CLI_COMMAND (show_policer_classify_command, static) = { .path = "show classify policer", .short_help = "show classify policer type [ip4|ip6|l2]", .function = show_policer_classify_command_fn, }; /* *INDENT-ON* */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */