From 94b2b2e65ad2255dd09c4939921128d13d25615d Mon Sep 17 00:00:00 2001 From: zhaolei Date: Wed, 3 Oct 2007 01:56:25 +0000 Subject: 2007-10-03 Zhaolei * aux_syscalls.stp(_sockopt_level_str): Add support for protocol number 134~137. * socket.stp (global define,begin): Ditto. --- tapset/ChangeLog | 6 ++++++ tapset/aux_syscalls.stp | 4 ++++ tapset/socket.stp | 6 +++++- 3 files changed, 15 insertions(+), 1 deletion(-) (limited to 'tapset') 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 + + * aux_syscalls.stp(_sockopt_level_str): Add support for protocol + number 134~137. + * socket.stp (global define,begin): Ditto. + 2007-10-02 Zhaolei * 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 -- cgit