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/10 00:04] jdg [Packet Capture] |
links:linux [2017/09/10 00:28] jdg [Packet Capture] |
||
---|---|---|---|
Line 535: | Line 535: | ||
* 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> | * http://beej.us/guide/bgnet/output/html/multipage/htonsman.html <code> | ||
- | converting from host (your machine's) byte order or from network byte order: | + | convert from host (your machine) byte order to network byte order: |
htons() host to network short | htons() host to network short | ||
htonl() host to network long | htonl() host to network long | ||
Line 541: | Line 541: | ||
ntohl() network to host long | ntohl() network to host long | ||
</code> | </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 ===== |