All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros
sir_socket.h File Reference
#include <cvmx.h>
#include <cvmx-version.h>
#include <cvmx-rwlock.h>
#include "common/sir_common_includes.h"
#include "socket/sir_socket_misc.h"
#include "tcp/sir_tcp_includes.h"
#include "udp/sir_udp_includes.h"
Include dependency graph for sir_socket.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CSirius
 Sirius main class. More...
 
struct  CSirius::TTcpStatistics
 TCP Statistics. More...
 

Macros

#define SIR_SO_HANDLE_ID   0xdeadbeef12345678ULL
 
#define set_last_error(err)   sir_errno = err
 
#define SIRIUS_SLOW_TIMER_INTERVAL   500
 
#define SIRIUS_FAST_TIMER_INTERVAL   100
 
#define MAX_TXOVERFLOW_SIZE   (64*1024)
 
#define MAX_UDP_DEMO_TIME   8ull
 
#define CVMX_FPA_SOCKET_POOL   CVMX_FPA_PACKET_POOL
 
#define POW2_ENTRIES_SOCKET   16
 
#define POW2_ENTRIES_BOUNDSOCKET   8
 
#define FD_TO_INDEX(fd)   (((fd) >> 8) & ((1<<POW2_ENTRIES_BOUNDSOCKET)-1))
 

Macro Definition Documentation

#define CVMX_FPA_SOCKET_POOL   CVMX_FPA_PACKET_POOL

Definition at line 31 of file sir_socket.h.

#define FD_TO_INDEX (   fd)    (((fd) >> 8) & ((1<<POW2_ENTRIES_BOUNDSOCKET)-1))

Definition at line 35 of file sir_socket.h.

#define MAX_TXOVERFLOW_SIZE   (64*1024)

Definition at line 27 of file sir_socket.h.

#define MAX_UDP_DEMO_TIME   8ull

Definition at line 28 of file sir_socket.h.

#define POW2_ENTRIES_BOUNDSOCKET   8

Definition at line 34 of file sir_socket.h.

#define POW2_ENTRIES_SOCKET   16

Definition at line 33 of file sir_socket.h.

#define set_last_error (   err)    sir_errno = err

Definition at line 23 of file sir_socket.h.

#define SIR_SO_HANDLE_ID   0xdeadbeef12345678ULL

Definition at line 20 of file sir_socket.h.

#define SIRIUS_FAST_TIMER_INTERVAL   100

Definition at line 26 of file sir_socket.h.

#define SIRIUS_SLOW_TIMER_INTERVAL   500

Definition at line 25 of file sir_socket.h.