]> sourceware.org Git - systemtap.git/commit
PR 9871/11338 fix in tcpmib.stp by removing embedded-C and using @defined.
authorDavid Smith <dsmith@redhat.com>
Fri, 26 Mar 2010 18:24:38 +0000 (13:24 -0500)
committerDavid Smith <dsmith@redhat.com>
Fri, 26 Mar 2010 18:24:38 +0000 (13:24 -0500)
commit961479c253ded0d1a7331e8d064ffbc0ca3358d7
tree21b11aca671c8d74c5584fec7dbd4b255b81b832
parentfc80eab8cc1cbebad78df914a885cb74cbd91f22
PR 9871/11338 fix in tcpmib.stp by removing embedded-C and using @defined.

* tapset/tcpmib.stp (tcpmib_get_state): Changed from embedded-C to script
  code.
  (tcpmib_local_addr): Instead of an embedded-C function, now calls
  function from ip.stp/tcp.stp.
  (tcpmib_remote_addr): Ditto.
  (tcpmib_local_port): Ditto.
  (tcpmib_remote_port): Ditto.
  (tcpmib.OutRsts.A): Used '@defined' instead of a kernel version check.
* tapset/ip.stp (__ip_sock_saddr): Used '@defined' instead of a kernel
  version check.  Added RHEL4 support.
  (__ip_sock_daddr): Ditto.
* tapset/tcp.stp (__tcp_sock_dport): Ditto.
  (__tcp_sock_sport): Ditto.
tapset/ip.stp
tapset/tcp.stp
tapset/tcpmib.stp
This page took 0.025503 seconds and 5 git commands to generate.