install build-essential, cmake, git, libevent-dev, libboost-all-dev, libpcap-dev, libssl-dev
$ sudo apt-get install build-essential cmake git libevent-dev libboost-all-dev libpcap-dev libssl-dev
| #include <pcap.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| #include <math.h> | |
| #include <net/ethernet.h> | |
| #include <netinet/ip.h> |
| export TERM=xterm | |
| #export PROMPT="%n@%m %#> " | |
| export RPROMPT='[%~]' | |
| export PATH=/homebrew/bin:/homebrew/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/local/texlive/2015/bin/x86_64-darwin | |
| export LD_LIBRARY_PATH=/homebrew/lib:/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib | |
| export LIBRARY_PATH=$LD_LIBRARY_PATH | |
| export C_INCLUDE_PATH=/homebrew/include:/usr/include:/usr/local/include:/usr/X11R6/include | |
| export CPLUS_INCLUDE_PATH=$C_INCLUDE_PATH | |
| export MANPATH=$MANPATH:/homebrew/share/man:/usr/share/man:/usr/local/man | |
| export HISTFILE=$HOME/.zsh_history |
| #include <iostream> | |
| int | |
| main(int argc, char *argv[]) | |
| { | |
| unsigned char c; | |
| for (c = 0; c < 255; c++) { | |
| if (('a' <= c && c <= 'z') || | |
| ('A' <= c && c <= 'Z') || |