Skip to content
netmap, dpdk, pf_ring, Tcp Stack for Userspace
C C++ Makefile
Branch: master
Clone or download
wangbojing Merge pull request #4 from Bobo-peng/master
1.nty_api.c:685,2.nty_api.c:1232,3.nty_arp.c:105

> 编译的时候出错了
把错误信息,贴出来吧,谢谢。
Latest commit e85f545 Mar 27, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Update nty_example_epoll_rb_server.c Apr 26, 2018
bin 1. add posix api Mar 27, 2018
doc 1. add icon.jpg Mar 31, 2018
include 1. support C10M sockfd Mar 28, 2018
obj 1. add obj dir. Mar 22, 2018
src 1.nty_api.c:685,2.nty_api.c:1232,3.nty_arp.c:105 Mar 27, 2019
.gitignore add git ignore file Mar 22, 2018
LICENSE Update LICENSE Apr 14, 2018
Makefile 1.add root Makefile Flag '-lrt' 2.in function 'epoll_ctl' changesocke… Jun 14, 2018
README.md Update README.md Nov 28, 2018
_config.yml Set theme jekyll-theme-cayman Apr 10, 2018

README.md

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 1989wangbojing@163.com.

also, want to be an NtyTcper, so you can sent email to 1989wangbojing@163.com .

You can’t perform that action at this time.