packet.link.ethernet man page on RedHat

Man page or keyword search:  
man Server   29550 pages
apropos Keyword Search (all sections)
Output format
RedHat logo
[printable version]

PACKET.LINK.ETHERNET(1)	  packet.link.ethernet 1.0.1   PACKET.LINK.ETHERNET(1)

NAME
       packet.link.ethernet - ETHERNET module

DESCRIPTION
       Decode ethernet layer (RFC 894) Ethernet II.

CLASSES
   class ETHERNET(baseobj.BaseObj, packet.unpack.Unpack)
       Ethernet object

       Usage:
	   from packet.link.ethernet import ETHERNET

	   x = ETHERNET(pktt, buffer)

       Object definition:

       ETHERNET(
	   dst	 = MacAddr(),  # destination MAC address
	   src	 = MacAddr(),  # source MAC address
	   type	 = int,	       # payload type
	   data	  = string,	# raw data of payload if type is not supported
       )

       Methods defined here:
       ---------------------

       __init__(self, pktt, data)
	      Constructor

	      Initialize object's private data.

	      pktt:  Packet trace object (packet.pktt.Pktt) so this layer  has
		     access to the parent layers.

	      data:  Raw packet data for this layer.

       __str__(self)
	      String representation of object

	      The   representation   depends  on  the  verbose	level  set  by
	      debug_repr().  If set to 0 the generic object representation  is
	      returned.	  If set to 1 the representation of the object is con‐
	      densed:
		  '00:0c:29:54:09:ef -> 60:33:4b:29:6e:9d '

	      If set to 2 the representation of the object also	 includes  the
	      type of payload:
		  '00:0c:29:54:09:ef -> 60:33:4b:29:6e:9d, type: 0x800(IPv4)'

SEE ALSO
       baseobj(1),	packet.internet.ipv4(1),      packet.internet.ipv6(1),
       packet.unpack(1)

BUGS
       No known bugs.

AUTHOR
       Jorge Mora (mora@netapp.com)

NFStest 1.0.2			 10 April 2013	       PACKET.LINK.ETHERNET(1)
[top]

List of man pages available for RedHat

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net