This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: inet_addr?
- From: William Cohen <wcohen at redhat dot com>
- To: "Paddie O'Brien" <paddieobrien at gmail dot com>
- Cc: systemtap at sourceware dot org
- Date: Fri, 24 Jun 2011 13:34:12 -0400
- Subject: Re: inet_addr?
- References: <BANLkTi=MxymLve8q2p08sfYArMTKGiXA+g@mail.gmail.com>
On 06/24/2011 12:26 PM, Paddie O'Brien wrote:
> Hi,
>
> Is there a systemtap equivalent of inet_addr?
>
> Thanks,
> P
Hi Paddie,
There are functions for dealing with ip addresses. There is documentation describing them in:
http://sourceware.org/systemtap/tapsets/
You might take a look at the examples to see how the functions are used in the network examples:
http://sources.redhat.com/git/gitweb.cgi?p=systemtap.git;a=tree;f=testsuite/systemtap.examples/network;h=9283098eb64811d38fdca98104d5afcb63a7f6e0;hb=HEAD
-Will