Package vstruct :: Package defs :: Module inet
[hide private]
[frames] | no frames]

Module inet

source code

Datalink / Network / Transport layer headers

Classes [hide private]
  IPv4Address
  ETHERII
  ETHERIIVLAN
  IPv4
  TCP
  UDP
Functions [hide private]
 
reprIPv4Addr(addr) source code
 
decIPv4Addr(addrstr) source code
Variables [hide private]
  ETH_P_IP = 0x0800
  ETH_P_VLAN = 0x8100
  IPPROTO_ICMP = 1
  IPPROTO_TCP = 6
  IPPROTO_UDP = 17
  IPPROTO_IPV6 = 41
  TCP_F_FIN = 0x01
  TCP_F_SYN = 0x02
  TCP_F_RST = 0x04
  TCP_F_PUSH = 0x08
  TCP_F_ACK = 0x10
  TCP_F_URG = 0x20
  TCP_F_ECE = 0x40
  TCP_F_CWR = 0x80
  TCP_F_SYNACK = TCP_F_SYN | TCP_F_ACK