libnetdude
LND_Protocol * libnd_proto_new (const char *name, LND_ProtocolLayer layer, guint32 magic);
void libnd_proto_free (LND_Protocol *proto);
gboolean libnd_proto_is_raw (LND_Protocol *proto);
const char * libnd_proto_layer_to_string (LND_ProtocolLayer layer);
#define LND_PROTO_MAGICS 3
LND_PROTO_LAYER_LINK
LND_PROTO_LAYER_NET
LND_PROTO_LAYER_TRANS
LND_PROTO_LAYER_APP