summaryrefslogtreecommitdiffstats
path: root/.gitignore
AgeCommit message (Expand)AuthorFilesLines
2017-01-13vppctl: new bash completion for vppctl commandsPadraig Connolly1-0/+3
2017-01-01Move java,lua api and remaining plugins to src/Damjan Marion1-5/+5
2016-12-09Add make test code coverage reporting using gcovJuraj Sloboda1-0/+1
2016-11-22GRE tests and fixesNeale Ranns1-0/+3
2016-11-01fix typo in .gitignoreKlement Sekera1-1/+1
2016-10-31add vpp debugging support to test frameworkKlement Sekera1-0/+2
2016-10-25Add generated python bindings to .gitignoreMarek Gradzki1-0/+5
2016-09-21A Protocol Independent Hierarchical FIB (VPP-352)Neale Ranns1-2/+2
2016-08-31VPP-221 CLI auto-documentation infrastructureChris Luke1-0/+3
2016-08-30VPP-364 Add vpp-api/python/build to gitignoreFlorin Coras1-0/+2
2016-08-25VPP Python language binding - plugin supportOle Troan1-2/+2
2016-08-16Create python package for jvpp generation.Ed Warnicke1-0/+3
2016-08-12VPP-237: Checkstyle script to check for new checkstyle breakageEd Warnicke1-0/+3
2016-07-21Updating gitignore for generated plugins folderKeith Burns (alagalah)1-0/+1
2016-06-19gitignore gtagsKeith Burns (alagalah)1-0/+4
2016-06-14gitignore change due to DPDK download suffix changeKeith Burns (alagalah)1-0/+1
2016-05-13VPP-57 Add Doxygen to VPPChris Luke1-0/+3
2016-05-12Generate jvpp sources in build-rootMaros Marsalek1-5/+0
2016-05-02HONEYCOMB-10: jVpp - the new java API. C code and jar file generationMarek Gradzki1-0/+6
2016-04-24Updated .gitignore for Python API generated fileKeith Burns (alagalah)1-0/+1
2016-04-12Add unit test infrastructure for LISP protocolFilip Tehlar1-0/+1
2016-03-25Add build-root/*.rpm to .gitignoreEd Warnicke1-0/+1
2016-03-18add ctags and cscope files to .gitignoreDamjan Marion1-0/+4
2016-03-04gitignoreMaros Marsalek1-0/+5
2016-02-01Add a vpp-dpdk-dev package, enable plugins to use dpdk APIs directlyDave Barach1-0/+1
2016-01-31Git ignore additionsKeith Burns (alagalah)1-0/+5
2015-12-23ylwrap is also autotools autogenerated fileDamjan Marion1-0/+1
2015-12-16Update .gitignore to ignore autotools filesEd Warnicke1-1/+25
2015-12-08Initial commit of vpp code.v1.0.0Ed Warnicke1-0/+15
_IP4, FLOW_VARIANT_IP6, FLOW_VARIANT_L2, FLOW_VARIANT_L2_IP4, FLOW_VARIANT_L2_IP6, FLOW_N_VARIANTS, } flowprobe_variant_t; /* *INDENT-ON* */ STATIC_ASSERT (sizeof (flowprobe_variant_t) == 1, "flowprobe_variant_t is expected to be 1 byte, " "revisit padding in flowprobe_key_t"); #define FLOW_MAXIMUM_EXPORT_ENTRIES (1024) typedef struct { /* what to collect per variant */ flowprobe_record_t flags; /** ipfix buffers under construction, per-worker thread */ vlib_buffer_t **buffers_per_worker; /** frames containing ipfix buffers, per-worker thread */ vlib_frame_t **frames_per_worker; /** next record offset, per worker thread */ u16 *next_record_offset_per_worker; } flowprobe_protocol_context_t; /* *INDENT-OFF* */ typedef struct __attribute__ ((aligned (8))) { u32 rx_sw_if_index; u32 tx_sw_if_index; u8 src_mac[6]; u8 dst_mac[6]; u16 ethertype; ip46_address_t src_address; ip46_address_t dst_address; u8 protocol; u16 src_port; u16 dst_port; flowprobe_variant_t which; } flowprobe_key_t; /* *INDENT-ON* */ typedef struct { u32 sec; u32 nsec; } timestamp_nsec_t; typedef struct { flowprobe_key_t key; u64 packetcount; u64 octetcount; timestamp_nsec_t flow_start; timestamp_nsec_t flow_end; f64 last_updated; f64 last_exported; u32 passive_timer_handle; union { struct { u16 flags; } tcp; } prot; } flowprobe_entry_t; /** * @file * @brief flow-per-packet plugin header file */ typedef struct { /** API message ID base */ u16 msg_id_base; flowprobe_protocol_context_t context[FLOW_N_VARIANTS]; u16 template_reports[FLOW_N_RECORDS]; u16 template_size[FLOW_N_RECORDS]; /** Time reference pair */ u64 nanosecond_time_0; f64 vlib_time_0; /** Per CPU flow-state */ u8 ht_log2len; /* Hash table size is 2^log2len */ u32 **hash_per_worker; flowprobe_entry_t **pool_per_worker; /* *INDENT-OFF* */ TWT (tw_timer_wheel) ** timers_per_worker; /* *INDENT-ON* */ u32 **expired_passive_per_worker; flowprobe_record_t record; u32 active_timer; u32 passive_timer; flowprobe_entry_t *stateless_entry; bool initialized; bool disabled; u16 template_per_flow[FLOW_N_VARIANTS]; u8 *flow_per_interface; /** convenience vlib_main_t pointer */ vlib_main_t *vlib_main; /** convenience vnet_main_t pointer */ vnet_main_t *vnet_main; } flowprobe_main_t; extern flowprobe_main_t flowprobe_main; extern vlib_node_registration_t flowprobe_walker_node; void flowprobe_flush_callback_ip4 (void); void flowprobe_flush_callback_ip6 (void); void flowprobe_flush_callback_l2 (void); u8 *format_flowprobe_entry (u8 * s, va_list * args); #endif /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */