diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-07-11 11:58:52 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-07-11 11:58:52 +0200 |
commit | b2b61f91a752d8221addcbabb3c630766af081e4 (patch) | |
tree | a15ece60777da9a1e4b305692089884297e3aec7 /parse.cxx | |
parent | a704a23b6653df973d919516d4ebf4886a84824f (diff) | |
download | systemtap-steved-b2b61f91a752d8221addcbabb3c630766af081e4.tar.gz systemtap-steved-b2b61f91a752d8221addcbabb3c630766af081e4.tar.xz systemtap-steved-b2b61f91a752d8221addcbabb3c630766af081e4.zip |
Don't accidentially use user space ntohs function.
The definition of ntohs comes from user space include headers
netinet/in.h which could define it as function instead of macro.
So use builtin kernel be16_to_cpu instead.
* tapset/aux_syscalls.stp (_struct_sockaddr_u): Define and use _stp_ntohs
as be16_to_cpu.
Diffstat (limited to 'parse.cxx')
0 files changed, 0 insertions, 0 deletions