Home | Trees | Index | Help |
---|
|
dnet
: dumb networking library
This module provides a simplified interface to several low-level
networking routines, including network address manipulation, kernel
arp(4) cache and route(4) table lookup and manipulation, network
firewalling, network interface lookup and manipulation, IP tunnelling,
and raw IP packet and Ethernet frame transmission.
__builtin__.object
:
The most base type...
dnet.addr
:
addr(addrtxt=None, type=ADDR_TYPE_NONE) -> network address object
Create a network address object, optionally initialized from a
human-readable Ethernet, IP, or IPv6 address string.
dnet.arp
:
arp() -> ARP table object
Open a handle to the system ARP table.
dnet.eth
:
eth(device) -> Ethernet device object
Open the specified Ethernet device for sending.
dnet.fw
:
fw() -> Firewall ruleset object
Open a handle to the local network firewall configuration.
dnet.intf
:
intf() -> Interface table object
Open a handle to the system network interface table.
dnet.ip
:
ip() -> Raw IP object
Open a raw IP socket for sending.
dnet.rand
:
rand() -> Pseudo-random number generator
Obtain a handle for fast, cryptographically strong pseudo-random
number generation.
dnet.route
:
route() -> Routing table object
Open a handle to the system routing table.
dnet.tun
:
tun(src, dst[, mtu]) -> Network tunnel interface handle
Obtain a handle to a network tunnel interface, to which packets
destined for dst are delivered (with source addresses rewritten to
src), where they may be read by a userland process and processed
as desired.
__builtin__.type
:
type(object) -> the object's type...
dnet.__addr_ip4_iter
dnet.__rand_xrange
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Thu Jan 19 13:24:12 2006 | http://epydoc.sf.net |