Skip to content
forked from wangbojing/NtyTcp

netmap, dpdk, pf_ring, Tcp Stack for Userspace

License

Notifications You must be signed in to change notification settings

kernel-ru/NtyTcp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

netmap install

$ git clone https://github.com/wangbojing/netmap.git

$ ./configure

$ make 

$ sudo make install

netmap install complete.

Troubleshooting

1. problem : configure --> /bin/sh^M.

you should run . 
$ dos2unix configure

$ dos2unix ./LINUX/configure

2. problem : cannot stat 'bridge': No such or directory

$ make clean

$ cd build-apps/bridge

$ gcc -O2 -pipe -Werror -Wall -Wunused-function -I ../../sys -I ../../apps/include -Wextra    ../../apps/bridge/bridge.c  -lpthread -lrt    -o bridge

$ sudo make && make install

NtyTcp

netmap, dpdk, pf_ring, Tcp Stack for Userspace

compile:

$ sudo apt-get install libhugetlbfs-dev

$ make

update NtyTcp/include/nty_config.h


#define NTY_SELF_IP		"192.168.0.106" 	//your ip

#define NTY_SELF_IP_HEX	0x6A00A8C0 			//your ip hex.

#define NTY_SELF_MAC	"00:0c:29:58:6f:f4" //your mac

block server run:

$ ./bin/nty_example_block_server

epoll server run:

$ ./bin/nty_example_epoll_rb_server

Reference

if you discover bug to sending email to [email protected].

also, want to be an NtyTcper, so you can sent email to [email protected] .

About

netmap, dpdk, pf_ring, Tcp Stack for Userspace

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 98.2%
  • C++ 1.3%
  • Makefile 0.5%