This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
links:linux [2017/09/09 23:59] jdg [Packet Capture] |
links:linux [2017/09/10 00:28] jdg [Packet Capture] |
||
---|---|---|---|
Line 534: | Line 534: | ||
* http://elixir.free-electrons.com/linux/latest/source/include/net/tcp.h | * http://elixir.free-electrons.com/linux/latest/source/include/net/tcp.h | ||
* http://www.cs.uccs.edu/~cchow/pub/master/fewatson/doc/03tcp.pdf | * http://www.cs.uccs.edu/~cchow/pub/master/fewatson/doc/03tcp.pdf | ||
+ | * http://beej.us/guide/bgnet/output/html/multipage/htonsman.html <code> | ||
+ | convert from host (your machine) byte order to network byte order: | ||
+ | htons() host to network short | ||
+ | htonl() host to network long | ||
+ | ntohs() network to host short | ||
+ | ntohl() network to host long | ||
+ | </code> | ||
+ | * http://elixir.free-electrons.com/linux/latest/source/include/linux/skbuff.h | ||
+ | * http://elixir.free-electrons.com/linux/latest/source/include/uapi/linux/ip.h | ||
+ | * http://elixir.free-electrons.com/linux/latest/source/include/uapi/linux/tcp.h | ||
+ | * http://elixir.free-electrons.com/linux/latest/source/include/uapi/linux/udp.h | ||
===== syslog ===== | ===== syslog ===== |