Package flumotion :: Package common :: Module netutils
[show private | hide private]
[frames | no frames]

Module flumotion.common.netutils

Miscellaneous network functions for use in flumotion.
Classes
RoutingTable  

Function Summary
  countTrailingZeroes32(n)
  find_all_interface_names()
Find the names of all available network interfaces
  get_address_for_interface(ifname)
Get the IP address for an interface
  guess_public_hostname()
Attempt to guess a public hostname for this system.
  guess_public_ip()
Attempt to guess a public IP for this system.
  ipv4IntToString(n)
  ipv4StringToInt(s)

Function Details

find_all_interface_names()

Find the names of all available network interfaces

get_address_for_interface(ifname)

Get the IP address for an interface

guess_public_hostname()

Attempt to guess a public hostname for this system.

guess_public_ip()

Attempt to guess a public IP for this system. Returns "127.0.0.1" if it can't come up with anything better.

Generated by Epydoc 2.1 on Sat Apr 14 13:16:52 2007 http://epydoc.sf.net