Skip to content

Constants used in XIA

Michel Machado edited this page May 4, 2018 · 6 revisions

Table of Contents

XIP header

Next Header Field

  • 0x00 - No next header

DAG

  • 0x7f - Empty edge
  • 0x7e - Entry node index

External Constants

Ethernet Types

The constants below were identified as not being used by someone else, but we should register/request official Ethernet types at some point.

  • 0xC0DE - XIP
  • 0xC0DF - NWP

IP

The constant below was identified as unassigned by IANA, but we should register it down the line.

  • 143 - XIP header after IP header (IPv4's protocol field)
Protocol numbers assigned by IANA

Principal Types

  • nat - 0x00 - Not A Type
  • 0x01--0x0f are reserved for future use
  • ad - 0x10 - Autonomous Domain
  • hid - 0x11 - Host
  • cid - 0x12 - Content
  • sid - 0x13 - Service
  • united4id - 0x14 - United 4ID
  • i4id - 0x15 - XIP over IPv4
  • u4id - 0x16 - XIP over UDP over IPv4
  • xdp - 0x17 - eXpressive Datagram Protocol
  • srvcid - 0x18 - Serval's serviceID
  • flowid - 0x19 - Serval's flowID
  • ether - 0x1a - Ethernet
  • u6id - 0x1b - XIP over UDP over IPv6
  • 0x1c--0x1f - FREE, PLEASE DON'T USE 0x22 UNTIL THESE IDs ARE GONE.
  • zf - 0x20 - zFilter (multicast)
  • lpm - 0x21 - Longest Prefix Matching