+#define atpReqCode 0x40
+#define atpRspCode 0x80
+#define atpRelCode 0xC0
+#define atpXO 0x20
+#define atpEOM 0x10
+#define atpSTS 0x08
+
+/* Name Binding Protocol */
+
+struct atNBP {
+ nd_uint8_t control;
+ nd_uint8_t id;
+};
+#define nbpHeaderSize 2
+
+struct atNBPtuple {
+ nd_uint16_t net;
+ nd_uint8_t node;
+ nd_uint8_t skt;
+ nd_uint8_t enumerator;
+};
+#define nbpTupleSize 5
+
+#define nbpBrRq 0x10
+#define nbpLkUp 0x20
+#define nbpLkUpReply 0x30
+static const struct tok nbp_str[] = {
+ { nbpBrRq, "brRq" },
+ { nbpLkUp, "lkup" },
+ { nbpLkUpReply, "reply" },
+ { 0, NULL }
+};
+
+#define ddpRTMP 1 /* RTMP type */
+#define ddpNBP 2 /* NBP type */
+#define ddpATP 3 /* ATP type */
+#define ddpECHO 4 /* ECHO type */
+#define ddpRTMPrequest 5 /* RTMP request type */
+#define ddpIP 22 /* IP type */
+#define ddpARP 23 /* ARP type */
+#define ddpKLAP 0x4b /* Kinetics KLAP type */
+#define ddpEIGRP 88 /* EIGRP over Appletalk */