diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2007-10-04 22:26:58 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2007-10-04 22:26:58 -0400 |
commit | 08463d8a6961228d37fef8f7be998a6d51e03072 (patch) | |
tree | b6e0cc03a0483c1ed4de4957dfb998eeb1de8a85 /stapfuncs.5.in | |
parent | 548fb400e1942d1df53ded19fa98d1b2000479d1 (diff) | |
parent | bfb724429e55072f53e82f3d4037f2b7e80f1203 (diff) | |
download | systemtap-steved-08463d8a6961228d37fef8f7be998a6d51e03072.tar.gz systemtap-steved-08463d8a6961228d37fef8f7be998a6d51e03072.tar.xz systemtap-steved-08463d8a6961228d37fef8f7be998a6d51e03072.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'stapfuncs.5.in')
-rw-r--r-- | stapfuncs.5.in | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/stapfuncs.5.in b/stapfuncs.5.in index 71af8c9b..fe8c45b8 100644 --- a/stapfuncs.5.in +++ b/stapfuncs.5.in @@ -352,6 +352,29 @@ Returns the string representation of the given socket flags value. msg_flags_num2str:string (flags:long) Returns the string representation of the given message flags bit map. +.SS INET +These functions convert between network (big-endian) and host byte order, like their +namesake C functions. +.TP +ntohll:long (x:long) +Convert from network to host byte order, 64-bit. +.TP +ntohl:long (x:long) +Convert from network to host byte order, 32-bit. +.TP +ntohs:long (x:long) +Convert from network to host byte order, 16-bit. +.TP +htonll:long (x:long) +Convert from host to network byte order, 64-bit. +.TP +htonl:long (x:long) +Convert from host to network byte order, 32-bit. +.TP +htons:long (x:long) +Convert from host to network byte order, 16-bit. + + .SH FILES .nh .IR @prefix@/share/systemtap/tapset |