summaryrefslogtreecommitdiffstats
path: root/tapset/ipmib.stp
Commit message (Collapse)AuthorAgeFilesLines
* PR 9871 (partial) fix. Removed embedded-C in ioblock.stp and ipmib.stp.David Smith2010-04-071-88/+33
| | | | | | | | | | | | | | | | | | | | * tapset/ioblock.stp(__bio_start_sect): Converted from embedded-C to script language. * tapset/ipmib.stp: Replaced all _tcphdr_get_dport()/_tcphdr_get_sport() calls with _tcp_skb_dport()/_tcp_skb_sport() calls. Removed embedded-C functions _tcphdr_get_dport()/_tcphdr_get_sport(). (ipmib.OutRequests): Fixed for RHEL4. (_trn_unspec): New function. (_input_route_type): Originally called __input_route_type_old()/__input_route_type_new(), which were embedded-C functions. Now just does everything in script language. (__input_route_type_old): Deleted. (__input_route_type_new): Ditto. (_output_route_type): Originally called __output_route_type_old()/__output_route_type_new(), which were embedded-C functions. Now just does everything in script language. (__output_route_type_old): Deleted. (__output_route_type_new): Ditto.
* Added backports required for 2.6.18 kernel for RHEL 5.David J. Wilder2010-02-051-0/+9
| | | | | | | Files changed: tapset/ipmib.stp, tapset.tcpmib.stp, testsuite/systemtap.examples/network/tcpipstat.stp, testsuite/systemtap.examples/network/tcp_trace.stp Signed-of-by: David Wilder <dwilder@us.ibm.com>
* Removing support for InMcastPkts, OutMcastPkts, InBcastPkts andDavid J. Wilder2009-09-251-82/+4
| | | | | OutBcastPkts. As they are not needed for tcpipstat and tend to break easily with kernel changes.
* Fixes for 2.6.31. There are some changes in sk_buff structure those causeDavid J. Wilder2009-07-201-5/+52
| | | | | failures of compiling ipmib.stp and tcpmib.stp, rtable and dst fields are deleted.
* This SNMP group of tapsets provides probes used to count SNMP managementDavid J. Wilder2009-07-161-0/+514
events. The probes mirror many of the SNMP statistics defined in /usr/include/linux/snmp.h. Each probe represents a single SNMP statistic or MIB. Each of the probe's handler is called when system performs an operation that would alter the associated statistic. Along with each probe is defined an indexed set of counters used to record probe hits. The probe handlers call a user supplied callback functions to determine which counter to alter. The user's callback should returns a key value that will be used to index the counter. For example a callback could return a unique value for each socket. This would results in a separate counter being used for each socket. tcpipstat.stp shows how snmp tapsets could be used. Tcpipstat collects and displays network statistics related to individual TCP sockets or groups of sockets. The statistics that are collected are simmer to that of the command netstat -s, only sorted and grouped by individual sockets. Signed-off-by: David Wilder <dwilder@us.ibm.com>