Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetSys/bess
/ functions
Functions
2,023 in github.com/NetSys/bess
⨍
Functions
2,023
◇
Types & classes
552
↳
Endpoints
4
↓ 5 callers
Method
list_drivers
(self)
pybess/bess.py:354
↓ 5 callers
Method
list_mclasses
(self)
pybess/bess.py:413
↓ 5 callers
Method
list_tcs
(self, wid=-1)
pybess/bess.py:619
↓ 5 callers
Function
llring_dequeue
* Dequeue one object from a ring. * * This function calls the multi-consumers or the single-consumer * version depending on the default behaviour t
core/kmod/llring.h:981
↓ 5 callers
Function
llring_sc_dequeue_burst
* Dequeue several objects from a ring (NOT multi-consumers safe).When the * request objects are more than the available objects, only dequeue the *
core/kmod/llring.h:1156
↓ 5 callers
Method
paddr
core/packet.h:70
↓ 5 callers
Method
prepend
core/packet.h:145
↓ 5 callers
Function
run_docker_cmd
(cmd)
container_build.py:118
↓ 5 callers
Method
run_pipeline
Runs a pipeline that injects data (input_pkts) at module src_module on input gate igate and collects it at module dst_module
bessctl/test_utils.py:239
↓ 5 callers
Method
set_attr_offset
core/module.h:311
↓ 5 callers
Method
set_class_name
core/gate.h:92
↓ 5 callers
Function
uint64_to_bin
core/utils/endian.cc:36
↓ 5 callers
Method
wakeup_time
core/traffic_class.h:207
↓ 4 callers
Method
Append
core/dpdk.cc:82
↓ 4 callers
Function
ChecksumIncrement32
core/utils/checksum.h:520
↓ 4 callers
Method
ClearHooks
core/gate.cc:207
↓ 4 callers
Method
CreateGateHook
Creates new gate hook from the given builder, initializes it, and adds it to the given gate. If any of these steps go wrong the gatehook instance is
core/gate.cc:95
↓ 4 callers
Function
DumpStack
core/debug.cc:304
↓ 4 callers
Method
FindHookByClass
core/gate.cc:164
↓ 4 callers
Method
Fini
Note: returns the exit status of the child, or 0 if no child.
core/utils/fifo_test.cc:202
↓ 4 callers
Function
FormatVarg
core/utils/format.cc:38
↓ 4 callers
Method
GetFlags
core/drivers/pmd.h:124
↓ 4 callers
Method
GetNodePlacementConstraint
! * Get any placement constraints that need to be met when receiving from this * port. */
core/drivers/pmd.h:136
↓ 4 callers
Method
GetReal
returns [0.0, 1.0) */
core/utils/random.h:80
↓ 4 callers
Function
IsValidOffset
core/metadata.h:76
↓ 4 callers
Method
NumIGates
core/module.h:139
↓ 4 callers
Method
NumOGates
core/module.h:140
↓ 4 callers
Method
OpenNow
! * Opens the fifo now, with a non-blocking open() call. * Returns 0 on success, or the reason the open failed, * e.g., -ENXIO if there is no reade
core/utils/fifo_opener.cc:80
↓ 4 callers
Method
Randomize
core/utils/ether.cc:62
↓ 4 callers
Function
ReadPidfile
core/bessd.cc:177
↓ 4 callers
Method
RunCommand
core/gate.h:188
↓ 4 callers
Method
SendPacket
core/utils/pcap_handle.cc:68
↓ 4 callers
Method
SetSeed
core/utils/random.h:43
↓ 4 callers
Function
SetupBuffers
core/utils/bits_test.cc:49
↓ 4 callers
Function
ShiftBytesLeftSmall
TODO(melvinw): add support for shifting at bit granularity Shifts `buf` to the left by `len` bytes and fills in with zeroes using std::memmove() and s
core/utils/bits.h:46
↓ 4 callers
Method
Shutdown
* Stops any opener thread. Once done, everything is back to the * way it was before an opener thread was started (or before * opening the FIFO dire
core/utils/fifo_opener.cc:189
↓ 4 callers
Method
Summarize
Returns the summary of the histogram. "percentiles" is a vector of doubles, whose values are in the range of [0.0, 100.0] and monotonically increasing
core/utils/histogram.h:125
↓ 4 callers
Function
VerifyGenericChecksum
Returns true if the 'cksum' is correct for the 'len' bytes from 'buf'
core/utils/checksum.h:198
↓ 4 callers
Function
VerifyIpv4NoOptChecksum
Returns true if the IP checksum is correct
core/utils/checksum.h:211
↓ 4 callers
Function
VerifyIpv4TcpChecksum
Returns true if the TCP checksum is correct with the TCP header and pseudo header info - source ip, destiniation ip, and tcp byte stream length tcp_le
core/utils/checksum.h:413
↓ 4 callers
Function
WaitForValid
Routine to wait a short while for opener.GetCurrentFd to return a valid fd. Needed since asynchronous threads are, well, asynchronous. Returns true
core/utils/fifo_test.cc:117
↓ 4 callers
Method
__json_read
(self, only_event=False)
bessctl/conf/port/vhost/qmp.py:75
↓ 4 callers
Function
_draw_pipeline
(cli, field, units, last_stats=None, graph_args=[])
bessctl/commands.py:1291
↓ 4 callers
Method
_drop_with_rate
(self, rate)
bessctl/module_tests/random_split.py:48
↓ 4 callers
Method
_test_l4
(self, module, l4_orig, ruleaddr)
bessctl/module_tests/nat.py:36
↓ 4 callers
Method
bucket_width
core/utils/histogram.h:179
↓ 4 callers
Method
bytes
core/gate_hooks/track.h:62
↓ 4 callers
Function
check_header
(header_file, compiler)
build.py:119
↓ 4 callers
Function
collect_tc
core/bessctl.cc:395
↓ 4 callers
Method
core
core/worker.h:100
↓ 4 callers
Function
get_attr_id
core/metadata.cc:86
↓ 4 callers
Function
has_driver
return true if a device is assigned to a driver. False otherwise
bin/dpdk-devbind.py:227
↓ 4 callers
Function
hash_range
Returns a value in [0, range) as a function of an opaque number. * Also see utils/random.h */
core/modules/hash_lb.cc:46
↓ 4 callers
Method
init_count
core/utils/fifo_test.cc:69
↓ 4 callers
Function
init_from_dict
(pb_map, d)
pybess/test_protobuf_to_dict.py:127
↓ 4 callers
Method
is_task
core/module.h:307
↓ 4 callers
Function
is_worker_running
core/worker.h:184
↓ 4 callers
Function
kill
(cid)
bessctl/conf/port/vhost/launch_container.py:103
↓ 4 callers
Function
l2_addr_to_u64
core/modules/l2_forward.cc:356
↓ 4 callers
Function
l2_alt_index
core/modules/l2_forward.cc:114
↓ 4 callers
Function
l2_hash
core/modules/l2_forward.cc:106
↓ 4 callers
Function
l2_hash_to_index
core/modules/l2_forward.cc:110
↓ 4 callers
Method
limit
Return the configured limit, in work units
core/traffic_class.h:508
↓ 4 callers
Function
llring_bytes
core/kmod/llring.h:290
↓ 4 callers
Function
llring_empty
* Test if a ring is empty. * * @param r * A pointer to the ring structure. * @return * - 1: The ring is empty. * - 0: The ring is not empt
core/kmod/llring.h:1015
↓ 4 callers
Function
llring_mp_enqueue_bulk
* Enqueue several objects on the ring (multi-producers safe). * * This function uses a "compare and set" instruction to move the * producer index a
core/kmod/llring.h:772
↓ 4 callers
Function
llring_sc_dequeue
* Dequeue one object from a ring (NOT multi-consumers safe). * * @param r * A pointer to the ring structure. * @param obj_p * A pointer to a
core/kmod/llring.h:958
↓ 4 callers
Method
max_burst
Return the configured max burst, in work units
core/traffic_class.h:511
↓ 4 callers
Function
parse_mac_addr
core/modules/l2_forward.cc:529
↓ 4 callers
Function
pause_worker
core/worker.cc:108
↓ 4 callers
Function
pb_errno
core/message.h:58
↓ 4 callers
Method
prefix_length
Returns the prefix length
core/utils/ip.h:103
↓ 4 callers
Function
run_cmd
(cmd, shell=False)
env/rebuild_images.py:51
↓ 4 callers
Function
show_device_status
(devices_type, device_name)
bin/dpdk-devbind.py:585
↓ 4 callers
Function
tsc_to_ns
core/utils/time.h:48
↓ 4 callers
Function
unbind_one
Unbind the device identified by "dev_id" from its current driver
bin/dpdk-devbind.py:382
↓ 4 callers
Function
warn
(cli, msg, func, *args)
bessctl/commands.py:626
↓ 3 callers
Method
AllocBulk
core/packet_pool.cc:91
↓ 3 callers
Function
ChecksumIncrement16
Note that the return type is uint32_t. You can add up increments from both ChecksumIncrement16() and ChecksumIncrement32()
core/utils/checksum.h:529
↓ 3 callers
Function
Copy32
core/utils/copy.h:49
↓ 3 callers
Function
CopySmall
Copy exactly "bytes" (<= 64). Works best if size is a compile-time constant.
core/utils/copy.h:63
↓ 3 callers
Method
Dump
core/utils/trie.h:115
↓ 3 callers
Method
Free
core/packet.h:332
↓ 3 callers
Function
GetMask
core/utils/syscallthread.cc:52
↓ 3 callers
Method
InitPortClass
core/port.cc:107
↓ 3 callers
Method
InitWithGenericArg
core/port.cc:162
↓ 3 callers
Method
MakeKey
Extract an ExactMatchKey from `buf` based on the fields that have been added to this table.
core/utils/exact_match_table.h:226
↓ 3 callers
Function
Phy2Virt
Only valid for memory blocks allocated by AllocHugepage() or DmaMemoryPool::Alloc()
core/memory.h:47
↓ 3 callers
Method
RecvPacket
core/utils/pcap_handle.cc:76
↓ 3 callers
Method
RemoveHookByClass
core/gate.cc:173
↓ 3 callers
Method
Reset
core/utils/pcap_handle.cc:61
↓ 3 callers
Method
Root
Returns the root of the tree this class belongs to. Expensive in that it is recursive, so do not call from performance-sensitive code.
core/traffic_class.h:182
↓ 3 callers
Method
Run
The entry point of worker threads */
core/worker.cc:277
↓ 3 callers
Function
ShiftBytesLeft
TODO(melvinw): add support for shifting at bit granularity Shifts `buf` to the left by `len` bytes and fills in with zeroes. Will shift in 8-byte chun
core/utils/bits.h:57
↓ 3 callers
Function
ShiftBytesRight
TODO(melvinw): add support for shifting at bit granularity Shifts `buf` to the right by `len` bytes and fills in with zeroes. Will shift in 8-byte chu
core/utils/bits.h:95
↓ 3 callers
Method
SignalOverload
Signals to parent task(s) that module is overloaded. TODO: SignalOverload and SignalUnderload are only safe if the module is not thread safe (e.g. mul
core/module.h:381
↓ 3 callers
Method
SignalUnderload
Signals to parent task(s) that module is underloaded.
core/module.h:393
↓ 3 callers
Method
Terminate
* Requests that the thread, if started, terminate. Optionally * (but by default) waits for the thread to terminate. * * You may call this on
core/utils/syscallthread.h:200
↓ 3 callers
Method
_configure_gate_hook
(self, hook_class, hook_name, module, arg, enable=None, direction=None, gate=None
pybess/bess.py:552
↓ 3 callers
Function
_get_field_value_adaptor
(pb, field, type_callable_map=TYPE_CALLABLE_MAP, use_enum_labels=False)
pybess/protobuf_to_dict.py:114
← previous
next →
201–300 of 2,023, ranked by callers