MCPcopy Create free account

hub / github.com/NetSys/bess / functions

Functions2,023 in github.com/NetSys/bess

↓ 216 callersFunctionCommandFailure
core/message.cc:64
↓ 190 callersMethodsize
core/metadata.h:108
↓ 131 callersMethodend
core/utils/cuckoo_map.h:175
↓ 129 callersFunctionCommandSuccess
core/message.cc:54
↓ 89 callersMethodpkts
core/gate_hooks/track.h:54
↓ 83 callersFunctionreturn_with_error
core/bessctl.cc:76
↓ 76 callersMethodappend
add bytes to the end
core/packet.h:169
↓ 72 callersMethodcnt
core/gate_hooks/track.h:46
↓ 72 callersMethodvalue
core/utils/endian.h:92
↓ 71 callersFunctionMODULE_CMD_FUNC
core/module.h:80
↓ 69 callersMethodbegin
core/utils/cuckoo_map.h:174
↓ 66 callersMethoddata
core/packet.h:97
↓ 56 callersFunctionrdtsc
core/utils/time.h:42
↓ 54 callersMethodInsert
core/utils/trie.h:130
↓ 52 callersMethodAddMetadataAttr
core/module.cc:238
↓ 51 callersMethodadd
WARNING: this function has no bounds checks and so it's possible to overrun the buffer by calling this. We are not adding bounds check because we want
core/pktbatch.h:54
↓ 51 callersMethodattr_offset
core/module.h:317
↓ 47 callersMethodLookup
core/utils/trie.h:190
↓ 45 callersMethodraw_value
core/utils/endian.h:96
↓ 44 callersMethod_request
(self, name, req_pb=None)
pybess/bess.py:237
↓ 44 callersMethodempty
core/pktbatch.h:61
↓ 40 callersMethodassertSamePackets
(pkt1, pkt2)
bessctl/test_utils.py:177
↓ 40 callersMethodrun_module
(self, module, igate, input_pkts, ogates=range(16), time_out=3, proto=scapy.Ether)
bessctl/test_utils.py:360
↓ 37 callersFunctionFormat
core/utils/format.cc:49
↓ 37 callersMethodMatch
core/utils/trie.h:150
↓ 37 callersMethodNext
Selects the next TrafficClass to run.
core/scheduler.h:181
↓ 36 callersMethodclear
core/pktbatch.h:49
↓ 36 callersMethodget
core/utils/common.h:163
↓ 35 callersMethodblocked
core/traffic_class.h:209
↓ 33 callersMethodGet
core/utils/random.h:54
↓ 30 callersMethodPop
Retrieves the next entry from the queue and in the process, potentially drops objects as well as changes between dropping state and not dropping state
core/utils/codel.h:112
↓ 27 callersMethodFind
Find the pointer to the stored value by the key. Return nullptr if not exist.
core/utils/cuckoo_map.h:234
↓ 27 callersMethodSize
core/traffic_class.cc:44
↓ 27 callersFunctioncmd
Run a command. If quiet is True, or if V is not set in the environment, eat its stdout and stderr by default (we'll print both to stderr
build.py:46
↓ 27 callersMethodpause_all
(self)
pybess/bess.py:295
↓ 26 callersFunctionPrintBytes
core/utils/bits_test.cc:41
↓ 26 callersFunctionget_tcp_packet
(sip=None, dip=None, sport=None, dport=None, pkt_len=60)
bessctl/test_utils.py:155
↓ 26 callersMethodoffset
core/metadata.h:111
↓ 26 callersMethodpolicy
core/traffic_class.h:211
↓ 26 callersMethodtotal_len
core/packet.h:130
↓ 23 callersMethodScheduleOnce
Runs the scheduler once.
core/scheduler.h:255
↓ 22 callersMethodset_name
Private methods, for use by PortBuilder.
core/port.h:301
↓ 21 callersMethodfilename
The user is responsible for creating and eventually deleting the file.
core/bessd_test.cc:65
↓ 21 callersMethodpriority
core/gate.h:260
↓ 20 callersMethodAddChild
core/traffic_class.cc:81
↓ 20 callersFunctionCopy
Copies "bytes" data from "src" to "dst". Same as memcpy() and rte_memcpy(), but significantly faster for both aligned/unaligned buffers. Performs best
core/utils/copy.h:248
↓ 20 callersMethodigate
core/gate.h:285
↓ 19 callersMethodSize
core/utils/codel.h:186
↓ 19 callersFunctioncreate_acme
core/module_test.cc:96
↓ 19 callersMethodgate
core/gate.h:88
↓ 19 callersMethodmodule
core/task.h:156
↓ 19 callersMethodresume_all
(self, check=True)
pybess/bess.py:340
↓ 19 callersMethodroot
core/scheduler.h:122
↓ 17 callersMethodrun_for
(self, module, igates, duration, pkt_update_fields=[])
bessctl/test_utils.py:216
↓ 16 callersMethodMatchPrefix
core/utils/trie.h:170
↓ 16 callersMethodparent
core/traffic_class.h:201
↓ 15 callersFunctionCopyInlined
Inline version of Copy(). Use only when performance is critial. Since the function is inlined whenever used, the compiled code will be substantially l
core/utils/copy.h:142
↓ 15 callersMethodPush
core/utils/codel.h:91
↓ 15 callersMethodassertBessAlive
(self)
bessctl/test_utils.py:188
↓ 15 callersFunctionvstring
(*values)
bessctl/module_tests/wildcard_match.py:36
↓ 14 callersMethodAddField
Set the `idx`th field of this table to one at offset `offset` bytes into a buffer with length `size` and mask `mask`. Returns 0 on success, non-zero e
core/utils/exact_match_table.h:299
↓ 14 callersMethodGetRange
returns [0, range) with no integer modulo operation */
core/utils/random.h:60
↓ 14 callersMethodcopy
core/packet.cc:97
↓ 14 callersMethodhead_len
core/packet.h:128
↓ 13 callersFunctionCalculateGenericChecksum
Returns internet checksum (the negative of 16-bit one's complement sum) of 'len' bytes from 'buf'
core/utils/checksum.h:193
↓ 13 callersMethodGetCurrentFd
* Breaks up the stored fd into (fd, generation) pair. * Note: the returned fd may be kNotOpen. */
core/utils/fifo_opener.h:148
↓ 13 callersMethodcnt
core/pktbatch.h:42
↓ 13 callersMethoderr
(self, msg)
bessctl/cli.py:104
↓ 13 callersMethodis_initialized
Returns false if there's no pcap binding established
core/utils/pcap_handle.h:76
↓ 13 callersFunctionl2_init
* l2_init: * Initilizes the l2_table. * It creates the slots of MAX_TABLE_SIZE multiplied by MAX_BUCKET_SIZE. * * @l2tbl: pointer to * @size: n
core/modules/l2_forward.cc:59
↓ 12 callersFunctionCalculateIpv4NoOptChecksum
Returns IP checksum of the ip header 'iph' without ip options It skips the checksum field into the calculation It does not set the checksum field in i
core/utils/checksum.h:233
↓ 12 callersFunctionCalculateIpv4TcpChecksum
Returns TCP (on IPv4) checksum of the tcp header 'tcph' with pseudo header informations - source ip ('src'), destiniation ip ('dst'), and tcp byte str
core/utils/checksum.h:461
↓ 12 callersFunctionParseIpv4Address
core/utils/ip.cc:40
↓ 12 callersMethodRemove
Remove the stored entry by the key Return false if not exist.
core/utils/cuckoo_map.h:257
↓ 12 callersMethodRequire
Requires that the next received string is what we expect.
core/utils/fifo_test.cc:334
↓ 12 callersMethodSend
Send message to parent or child, figuring out which way automatically.
core/utils/fifo_test.cc:306
↓ 12 callersMethodconnect_modules
(self, m1, m2, ogate=0, igate=0)
pybess/bess.py:461
↓ 11 callersMethodAcquireQueues
core/port.cc:195
↓ 11 callersMethodCount
Return the number of stored entries
core/utils/cuckoo_map.h:289
↓ 11 callersMethodRegisterAttribute
core/metadata.cc:488
↓ 11 callersMethodattach_task
(self, module_name, parent='', wid=-1, module_taskid=0, priority=None, share=None)
pybess/bess.py:693
↓ 11 callersFunctionllring_count
* Return the number of entries in a ring. * * @param r * A pointer to the ring structure. * @return * The number of entries in the ring. */
core/kmod/llring.h:1030
↓ 10 callersMethodAlloc
core/memory.cc:317
↓ 10 callersFunctionFoldChecksum
Fold a 32-bit non-inverted checksum into a inverted 16-bit one, which can be readily written to L3/L4 checksum field
core/utils/checksum.h:185
↓ 10 callersMethodIsValidFd
core/utils/fifo_opener.h:152
↓ 10 callersFunctionUpdateChecksumWithIncrement
Returns updated checksum value, which is ready to be written in the header
core/utils/checksum.h:535
↓ 10 callersMethodclose
(self)
bessctl/conf/port/vhost/qmp.py:242
↓ 10 callersMethodcreate_module
(self, mclass, name=None, arg=None)
pybess/bess.py:438
↓ 10 callersMethodcreate_port
(self, driver, name=None, arg=None)
pybess/bess.py:368
↓ 10 callersMethodgate_idx
core/gate.h:203
↓ 10 callersMethodglobal_gate_index
core/gate.h:205
↓ 10 callersMethodhead_data
core/packet.h:85
↓ 10 callersFunctionl2_ib_to_offset
core/modules/l2_forward.cc:102
↓ 10 callersMethodscheduler
core/worker.h:106
↓ 10 callersMethodwid
core/worker.h:99
↓ 9 callersMethodToString
core/utils/ether.cc:57
↓ 9 callersFunctioncreate_foo
core/metadata_test.cc:53
↓ 9 callersFunctionget_epoch_time
Return current time in seconds since the Epoch. * This is consistent with Python's time.time() */
core/utils/time.h:58
↓ 9 callersFunctionis_be_system
core/utils/endian.h:43
↓ 9 callersMethodlist_modules
(self)
pybess/bess.py:416
next →1–100 of 2,023, ranked by callers