Package pcs.packets.arp


Classes

class  arp

Functions

def ether_atob
def ether_btoa


Function Documentation

def pcs.packets.arp.ether_atob (   pretty  ) 

Take a pretty version of an ethernet address and convert it to a
string of bytes.

The input string MUST be of the form xx:yy:zz:aa:bb:cc and leading
zero's must be supplied.  Nor error checking is performed.

Definition at line 96 of file arp.py.

def pcs.packets.arp.ether_btoa (   bytes  ) 

Take a set of bytes and convert them to a pretty version of
and Ethernet address.

The input buffer MUST be at least 6 bytes long and bytes after the
sixth are ignored.  No error checking is performed.

Definition at line 109 of file arp.py.


Generated on Fri Aug 3 16:46:21 2007 for PCS by  doxygen 1.5.1