Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

yerden/go-snf

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

131 Commits
131 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-snf

Documentation Go Report Card Build Status

Go wrappers for SNFv3 library supplied by CSPI for Myricom PCI-E network boards.

Installation

Non-Go requirements:

  • SNFv3, please refer to CSPI website for download and installation instructions.
  • libpcap library and include headers. Consult your system documentation on how to install them.
  • Tested on Linux environment only (Centos 7, Ubuntu Trusty).

SNF library location

If you have SNF library installed in default location /opt/snf then you can simply build as it is. If you want to test something in case you don't have installed SNF dependency you can specify snf_mockup build tag. In this case, all SNF calls will be implemented as stub functions.

Alternatively, you can specify SNF library custom location by supplying it in environment:

export CGO_CFLAGS="-I/path/to/snf/include"
export CGO_LDFLAGS="-L/path/to/snf/lib -lsnf"

Caveats

The package is under development so API may experience some changes. Any contributions from Myricom NICs users are welcome.

About

Myricom/CSPI SNFv3 Go bindings

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.