Source Code Guide: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
No edit summary  | 
				No edit summary  | 
				||
| Line 2: | Line 2: | ||
{|class="wikitable" style="margin:auto"  | {|class="wikitable" style="margin:auto"  | ||
|+ Ouroboros index of   | |+ Ouroboros index of commonly used variable names  | ||
! name !! Long name !! Description  | ! name !! Long name !! Description  | ||
|-  | |-  | ||
Revision as of 11:46, 16 June 2022
Work in progress, collects names used throughout the source code and gives some added meaning
| name | Long name | Description | 
|---|---|---|
| du | data unit | packet, but stems from RINA that took the OSI SDU (service data unit) and PDU (protocol data unit) - will be renamed | 
| sdb | the ouroboros 'flavored' skb, see e.g. | |
| fd | flow descriptor | |
| shm | shared memory | see e.g. /dev/shm in Linux | 
| rbuff | ring buffer | rbuff are small ring buffers, they are used to move packets through the local pipeline. Instead of passing packets, it passes the index in the rdrbuff to the next process | 
| rdrbuff | random deletion ring buffer | it's our quick and dirty packet buffer. It contains actual packet data | 
| idx | index | index in the packet buffer (rdrbuff) is used to calculate the location of the packet in reference to this base pointer | 
| shm_du_buff | packet (metadata?) with head and tail (todo: have a look at the code) |