summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/network/tcpdumplike.stp
Commit message (Collapse)AuthorAgeFilesLines
* Minor formatting to avoid line wrap, added tcpdumplike.meta file,William Cohen2009-04-141-5/+5
| | | | and regenerated index files.
* Make tcpdumplike.stp executableJosh Stone2009-04-141-0/+2
|
* Add new TCP and IP functionsAndre Detsch2009-04-141-0/+12
This patch adds some basic functions to the IP and TCP tapsets. Mainly, it's possible to get the iphdr and tcphdr from a sk_buff structure. As a consequence, a TCP probe called tcp.receive() was created and is probed every time a TCP packet is received, and a lot of useful fields is available, as the TCP flags. Also a small example that works like tcpdump for received TCP packets was created. This patch was tested on x86 and ppc machines, on 2.6.18 kernel and also on mainline one. Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com> Signed-off-by: Andre Detsch <adetsch@br.ibm.com> Signed-off-by: Josh Stone <jistone@redhat.com>