diff options
author | zhaolei <zhaolei> | 2007-10-03 01:56:25 +0000 |
---|---|---|
committer | zhaolei <zhaolei> | 2007-10-03 01:56:25 +0000 |
commit | 94b2b2e65ad2255dd09c4939921128d13d25615d (patch) | |
tree | d6e32ed26b7fcb4a4cb3e27ff7a3e75f0a28a6bb /tapset | |
parent | 4a6d3dfa0f3ce20f95c892818b9f1b617ddcd0cf (diff) | |
download | systemtap-steved-94b2b2e65ad2255dd09c4939921128d13d25615d.tar.gz systemtap-steved-94b2b2e65ad2255dd09c4939921128d13d25615d.tar.xz systemtap-steved-94b2b2e65ad2255dd09c4939921128d13d25615d.zip |
2007-10-03 Zhaolei <zhaolei@cn.fujitsu.com>
* aux_syscalls.stp(_sockopt_level_str): Add support for protocol
number 134~137.
* socket.stp (global define,begin): Ditto.
Diffstat (limited to 'tapset')
-rw-r--r-- | tapset/ChangeLog | 6 | ||||
-rw-r--r-- | tapset/aux_syscalls.stp | 4 | ||||
-rw-r--r-- | tapset/socket.stp | 6 |
3 files changed, 15 insertions, 1 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index ac2bbfa9..cba284a0 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,3 +1,9 @@ +2007-10-03 Zhaolei <zhaolei@cn.fujitsu.com> + + * aux_syscalls.stp(_sockopt_level_str): Add support for protocol + number 134~137. + * socket.stp (global define,begin): Ditto. + 2007-10-02 Zhaolei <zhaolei@cn.fujitsu.com> * tcp.stp: Add name argument for all probes. diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp index 23284db8..d43e981e 100644 --- a/tapset/aux_syscalls.stp +++ b/tapset/aux_syscalls.stp @@ -1398,6 +1398,10 @@ function _sockopt_level_str(l) { if(l==131) return "PIPE" if(l==132) return "SCTP" if(l==133) return "FC" + if(l==134) return "RSVP-E2E-IGNORE" + if(l==135) return "Mobility-Header" + if(l==136) return "UDPLite" + if(l==137) return "MPLS-IN-IP" return sprintf("UNKNOWN VALUE: %d", l) } diff --git a/tapset/socket.stp b/tapset/socket.stp index 77e322d2..1660dea3 100644 --- a/tapset/socket.stp +++ b/tapset/socket.stp @@ -692,7 +692,7 @@ function msg_flags_num2str:string (flags:long) # INTERNAL MAPPING ARRAYS # ########################### -global _prot_num2str[134], _prot_str2num[134] +global _prot_num2str[138], _prot_str2num[138] global _fam_num2str[32], _fam_str2num[32] global _state_num2str[5], _state_str2num[5] global _type_num2str[11], _type_str2num[11] @@ -832,6 +832,10 @@ probe begin(-1001) _prot_num2str[131] = "PIPE" _prot_num2str[132] = "SCTP" _prot_num2str[133] = "FC" + _prot_num2str[134] = "RSVP-E2E-IGNORE" + _prot_num2str[135] = "Mobility-Header" + _prot_num2str[136] = "UDPLite" + _prot_num2str[137] = "MPLS-IN-IP" foreach (num in _prot_num2str) _prot_str2num[_prot_num2str[num]] = num |