MCPcopy Create free account

hub / github.com/SNAS/openbmp / functions

Functions218 in github.com/SNAS/openbmp

MethodUpdateDBWdrawnPrefixes
* Update the Database withdrawn prefixes * * \details This method will update the database for the supplied advertised prefixes * * \param wdrawn
Server/src/bgp/parseBGP.cpp:724
MethodUpdateDBeVPN
* Updates for either advertised or withdrawn Evpn NLRI's * * \param [in] remove True if the records should be deleted, false if they are to
Server/src/bgp/parseBGP.cpp:570
MethodUpdateDbBgpLs
* Update the Database for bgp-ls * * \details This method will update the database for the BGP-LS information * * \note MUST BE called after ad
Server/src/bgp/parseBGP.cpp:774
MethodUpdateMsg
* Constructor for class * * \details Handles bgp update messages * * \param [in] logPtr Pointer to existing Logger for app logging
Server/src/bgp/UpdateMsg.cpp:35
Methodaccept_connection
* Accept new/pending connections * * Will accept new connections and wait if one is not currently ready. * Supports IPv4 and IPv6 sockets * * \pa
Server/src/bmp/BMPListener.cpp:226
Methodback
* back * Thread safe method that returns a copy of the back object * in the arg passed as value. * * ARGS: * value
Server/src/safeQueue.hpp:141
MethodcheckRIBdumpRate
Server/src/bmp/BMPReader.cpp:345
Methodconnect
* Connects to Kafka broker */
Server/src/kafka/MsgBusImpl_kafka.cpp:162
Methoddecode
Decodes input (unsigned char) into output (UINT4). Assumes len is a multiple of 4.
Server/src/md5.cpp:445
MethoddecodeLabel
* Decode label from NLRI data * * \details * Decodes the labels from the NLRI data into labels string * * \param [in] data
Server/src/bgp/MPReachAttr.cpp:411
MethoddecodeNlriProtocolId
/ * Decode Protocol ID * * \details will decode and return string representation of protocol (matches DB enum) * * \param [in] p
Server/src/bgp/linkstate/MPLinkState.cpp:200
MethoddecodeType_EVPN
* Decode EVPN subtypes * * \details * Converts to human readable form. * * \param [in] ec_hdr Reference to th
Server/src/bgp/ExtCommunity.cpp:303
MethoddecodeType_Generic
* Decode Generic subtypes * * \details * Converts to human readable form. * * \param [in] ec_hdr Reference to
Server/src/bgp/ExtCommunity.cpp:465
MethoddecodeType_IPv6Specific
* Decode IPv6 Specific Type/Subtypes * * \details * Decodes the IPv6 specific and 2-octet, 4-octet. This is pretty much the as co
Server/src/bgp/ExtCommunity.cpp:629
MethoddecodeType_Opaque
* Decode Opaque subtypes * * \details * Converts to human readable form. * * \param [in] ec_hdr Reference to
Server/src/bgp/ExtCommunity.cpp:362
MethoddecodeType_common
* Decode common Type/Subtypes * * \details * Decodes the common 2-octet, 4-octet, and IPv4 specific common subtypes. * C
Server/src/bgp/ExtCommunity.cpp:136
MethoddisableDebug
/ * Disables debug logging ***********************************************************************/
Server/src/Logger.cpp:96
MethoddisableDebug
Server/src/bgp/parseBGP.cpp:945
MethoddisableDebug
Server/src/kafka/MsgBusImpl_kafka.cpp:1647
MethoddisableDebug
Server/src/bmp/BMPListener.cpp:315
MethoddisableDebug
Server/src/bmp/parseBMP.cpp:1041
MethoddisableDebug
Server/src/bmp/BMPReader.cpp:445
Methoddisconnect
* Disconnect from Kafka */
Server/src/kafka/MsgBusImpl_kafka.cpp:129
Methoddisconnect
* disconnect/close bmp stream * * Closes the BMP stream and disconnects router as needed * * \param [in] client Client information pointer
Server/src/bmp/BMPReader.cpp:384
Methoddr_cb
Server/src/kafka/KafkaDeliveryReportCallback.cpp:12
MethodenableDebug
Server/src/bgp/parseBGP.cpp:941
MethodenableDebug
* Enable/disable debugs */
Server/src/kafka/MsgBusImpl_kafka.cpp:1632
MethodenableDebug
* Enable/Disable debug */
Server/src/bmp/BMPListener.cpp:311
MethodenableDebug
* Enable/Disable debug */
Server/src/bmp/parseBMP.cpp:1038
Methodencode
Encodes input (UINT4) into output (unsigned char). Assumes len is a multiple of 4.
Server/src/md5.cpp:428
Methodevent_cb
Server/src/kafka/KafkaEventCallback.cpp:17
MethodfreeTopicMap
* Free allocated topic map pointers */
Server/src/kafka/KafkaTopicSelector.cpp:444
MethodgenNodeHashId
/ * Hash node descriptor info * * \details will produce a hash for the node descriptor. Info hash_bin will be updated. * * \param
Server/src/bgp/linkstate/MPLinkState.cpp:1028
MethodgetBMPType
* get current BMP message type */
Server/src/bmp/parseBMP.cpp:1022
MethodgetTimestamp
* \brief Time in seconds to printed string format * * \param[in] time_secs Time since epoch in seconds * \param[in] time_
Server/src/MsgBusInterface.hpp:639
MethodgetTopicKey
* Get the topic map key name * * \param [in] topic_var MSGBUS_TOPIC_VAR_<name> * \param [in] router_group Router group - empty/NULL mean
Server/src/kafka/KafkaTopicSelector.cpp:406
MethodhashRouter
* Generate BMP router HASH * * \param [in,out] client Reference to client info used to generate the hash. * * \return client.hash_id will be upd
Server/src/bmp/BMPListener.cpp:293
MethodhashRouter
Server/src/bmp/BMPReader.cpp:410
Methodhash_toStr
* \brief binary hash to printed string format * * \details Converts a hash unsigned char bytes to HEX string for *
Server/src/MsgBusInterface.hpp:618
Methodieee_float_to_kbps
Server/src/bgp/linkstate/MPLinkStateAttr.cpp:136
Methodinit
Server/src/md5.cpp:293
MethodinitTopic
* Initialize topic * Producer must be initialized and connected prior to calling this method. * Topic map will be updated. * * \param [i
Server/src/kafka/KafkaTopicSelector.cpp:323
Functionmain
* main function */
Server/src/openbmp.cpp:556
Methodmemcpy
Note: Replace "for loop" with standard memcpy if possible.
Server/src/md5.cpp:459
Methodmemset
Note: Replace "for loop" with standard memset if possible.
Server/src/md5.cpp:470
MethodmsgBus_kafka
/ * \brief This function will initialize and connect to Kafka. * * \details It is expected that this class will start off with a new connection. *
Server/src/kafka/MsgBusImpl_kafka.cpp:45
Methodopen_socket
* Opens server (v4 or 6) listening socket(s) * * \param [in] ipv4 True to open v4 socket * \param [in] ipv6 True to open v6 socket */
Server/src/bmp/BMPListener.cpp:91
MethodparseAfi
* MP UnReach NLRI parse based on AFI * * \details Will parse the nlri data based on AFI. A call to the specific SAFI method will * be per
Server/src/bgp/MPUnReachAttr.cpp:97
MethodparseAfi
* MP Reach NLRI parse based on AFI * * \details Will parse the next-hop and nlri data based on AFI. A call to * the specific SAFI method
Server/src/bgp/MPReachAttr.cpp:94
MethodparseAfi_IPv4IPv6
* MP Reach NLRI parse for BGP_AFI_IPV4 & BGP_AFI_IPV6 * * \details Will handle the SAFI and parsing of AFI IPv4 & IPv6 * * \param [in] isIPv4
Server/src/bgp/MPUnReachAttr.cpp:149
MethodparseAfi_IPv4IPv6
* MP Reach NLRI parse for BGP_AFI_IPv4 & BGP_AFI_IPV6 * * \details Will handle parsing the SAFI's for address family ipv6 and IPv4 * * \param [in]
Server/src/bgp/MPReachAttr.cpp:162
MethodparseAttrData
* Parse attribute data based on attribute type * * \details * Parses the attribute data based on the passed attribute type. * Parsed_dat
Server/src/bgp/UpdateMsg.cpp:322
MethodparseAttrLinkStateTLV
/ * Parse Link State attribute TLV * * \details Will handle parsing the link state attribute * * \param [in] attr_len Leng
Server/src/bgp/linkstate/MPLinkStateAttr.cpp:264
MethodparseAttr_Aggegator
* Parse attribute AGGEGATOR data * * \param [in] attr_len Length of the attribute data * \param [in] data Pointer to the attrib
Server/src/bgp/UpdateMsg.cpp:534
MethodparseAttr_AsPath
* Parse attribute AS_PATH data * * \param [in] attr_len Length of the attribute data * \param [in] data Pointer to the attribut
Server/src/bgp/UpdateMsg.cpp:576
MethodparseAttributes
* Parses the BGP attributes in the update * * \details * Parses all attributes. Decoded values are updated in 'parsed_data' * * \param [in]
Server/src/bgp/UpdateMsg.cpp:248
MethodparseBGP
* Constructor for class - * * \details * This class parses the BGP message and updates DB. The * 'mysql_ptr' must be a pointer reference to
Server/src/bgp/parseBGP.cpp:50
MethodparseBMP
* Constructor for class * * \note * This class will allocate via 'new' the bgp_peers variables * as needed. The calling method/class/func
Server/src/bmp/parseBMP.cpp:35
MethodparseBMPv2
* Parse v1 and v2 BMP header * * \details * v2 uses the same common header, but adds the Peer Up message type. * * \param [in] sock Socke
Server/src/bmp/parseBMP.cpp:123
MethodparseBMPv3
* Parse v3 BMP header * * \details * v3 has a different header structure and changes the peer * header format. * * \param [in] sock
Server/src/bmp/parseBMP.cpp:288
MethodparseBase
* Parse the base configuration * * \param [in] node Reference to the yaml NODE */
Server/src/Config.cpp:139
MethodparseBgpHeader
* Parses the BGP common header * * \details * This method will parse the bgp common header and will upload the global * c_hdr structure,
Server/src/bgp/parseBGP.cpp:288
MethodparseCapabilities
* Parses capabilities from buffer * * \details * Reads the capabilities from buffer. The parsed data will be * returned via the out par
Server/src/bgp/OpenMsg.cpp:140
MethodparseDebug
* Parse the debug configuration * * \param [in] node Reference to the yaml NODE */
Server/src/Config.cpp:315
MethodparseDescrLink
/ * Parse Link Descriptor sub-tlvs * * \details will parse a link descriptor (series of sub-tlv's) * * \param [in] data
Server/src/bgp/linkstate/MPLinkState.cpp:677
MethodparseDescrLocalRemoteNode
/ * Parse a Local or Remote Descriptor sub-tlv's * * \details will parse a local/remote descriptor * * \param [in] data
Server/src/bgp/linkstate/MPLinkState.cpp:534
MethodparseDescrPrefix
/ * Parse Prefix Descriptor sub-tlvs * * \details will parse a prefix descriptor (series of sub-tlv's) * * \param [in] data
Server/src/bgp/linkstate/MPLinkState.cpp:847
MethodparseEthernetSegmentIdentifier
* Parse Ethernet Segment Identifier * * \details * Will parse the Segment Identifier. Based on https://tools.ietf.org/html/rfc7432
Server/src/bgp/EVPN.cpp:40
MethodparseKafka
* Parse the kafka configuration * * \param [in] node Reference to the yaml NODE */
Server/src/Config.cpp:370
MethodparseLinkStateNlriData
/ * Parses Link State NLRI data * * \details Will parse the link state NLRI's from MP_REACH or MP_UNREACH. * * \param [in] data
Server/src/bgp/linkstate/MPLinkState.cpp:112
MethodparseMapping
* Parse the mapping configuration * * \param [in] node Reference to the yaml NODE */
Server/src/Config.cpp:653
MethodparseNlriData_IPv4IPv6
* Parses mp_reach_nlri and mp_unreach_nlri (IPv4/IPv6) * * \details * Will parse the NLRI encoding as defined in RFC4760 Section 5 (NLRI Encod
Server/src/bgp/MPReachAttr.cpp:245
MethodparseNlriData_LabelIPv4IPv6
Server/src/bgp/MPReachAttr.cpp:315
MethodparseNlriData_v4
* Parses NLRI info (IPv4) from the BGP message * * \details * Will get the NLRI and Withdrawn prefix entries from the data buffer. As per RFC
Server/src/bgp/UpdateMsg.cpp:173
MethodparseNlriLink
/ * Parse LINK NLRI * * \details will parse the LINK NLRI type. Data starts at local node descriptor. * * \param [in] data
Server/src/bgp/linkstate/MPLinkState.cpp:327
MethodparseNlriNode
/ * Parse NODE NLRI * * \details will parse the node NLRI type. Data starts at local node descriptor. * * \param [in] data
Server/src/bgp/linkstate/MPLinkState.cpp:249
MethodparseNlriPrefix
/ * Parse PREFIX NLRI * * \details will parse the PREFIX NLRI type. Data starts at local node descriptor. * * \param [in] data
Server/src/bgp/linkstate/MPLinkState.cpp:438
MethodparsePeerFlags
* Parse BMP peer header flags by peer type * * This method will update the instance variable "p_entry" * * \param [in] peer_type peer typ
Server/src/bmp/parseBMP.cpp:355
MethodparsePeerHdr
* Parse the v3 peer header * * \param [in] sock Socket to read the message from */
Server/src/bmp/parseBMP.cpp:414
MethodparsePrefixList
* Parse matching prefix_range list and update the provided map with compiled expressions * * \param [in] node prefix_range list node - should b
Server/src/Config.cpp:786
MethodparseRegexpList
* Parse matching regexp list and update the provided map with compiled expressions * * \param [in] node regex list node - should be of type seq
Server/src/Config.cpp:755
MethodparseRouteDistinguisher
* Parse Route Distinguisher * * \details * Will parse the Route Distinguisher. Based on https://tools.ietf.org/html/rfc4364#sectio
Server/src/bgp/EVPN.cpp:159
MethodparseTopics
* Parse the kafka topics configuration * * \param [in] node Reference to the yaml NODE */
Server/src/Config.cpp:588
Methodparse_sid_value
/ * Parse SID/Label value to string * * \details Parses the SID to index, label, or IPv6 string value * * \param [in] data
Server/src/bgp/linkstate/MPLinkStateAttr.cpp:219
Methodpartitioner_cb
Server/src/kafka/KafkaPeerPartitionerCallback.cpp:17
Methodpop
Server/src/safeQueue.hpp:79
MethodpopFront
* PopFront is a bit different in that the mutex lock handles getting * the object and then pop'ing it afterwards. * * ARGS: *
Server/src/safeQueue.hpp:165
MethodprintV
/ * Prints the message * * * \param[in] sev the logging severity * \param[in] func_name function name of the calling function * \pa
Server/src/Logger.cpp:171
MethodprintWarning
* print warning message for parsing node * * \param [in] msg Warning message * \param [in] node Offending node that caused the warning */
Server/src/Config.cpp:862
Methodpush
Server/src/safeQueue.hpp:55
MethodreaderThreadLoop
* Read messages from BMP stream in a loop * * \param [in] run Reference to bool to indicate if loop should continue or not * \param [in]
Server/src/bmp/BMPReader.cpp:72
MethodresolveIp
* \brief Method to resolve the IP address to a hostname * * \param [in] name String name (ip address) * \param [out] hostname String refere
Server/src/kafka/MsgBusImpl_kafka.cpp:1611
Methodrotate_left
Server/src/md5.cpp:482
MethodsafeQueue
Server/src/safeQueue.hpp:42
MethodsetLimit
Server/src/safeQueue.hpp:200
Functionsignal_handler
* Signal handler * */
Server/src/openbmp.cpp:142
MethodtopicSubstitutions
* Perform topic name substitutions based on topic variables */
Server/src/Config.cpp:843
Methodtransform
MD5 basic transformation. Transforms state based on block.
Server/src/md5.cpp:334
Methodwait
* new method to wait for the mutex lock. When the queue is empty the lock is on. * calling this method will cause the caller to block until t
Server/src/safeQueue.hpp:192
Method~AddPathDataContainer
Server/src/bgp/AddPathDataContainer.cpp:18
← previousnext →101–200 of 218, ranked by callers