inet_addr?

William Cohen wcohen@redhat.com
Fri Jun 24 17:34:00 GMT 2011


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



More information about the Systemtap mailing list