原创 DPDK之數據包解析

請訪問此鏈接: https://github.com/gchs2012/dpdk-parser-packet

原创 Shell對IP合法性檢查

# 檢查IP地址是否合法 check_ip() { ret=1 flage=`awk 'BEGIN {if (match(ARGV[1], "^.*:.*$") != 0) print "true"; else print "fals