libnd_protocol

Name

libnd_protocol -- 

Functions

LND_Protocol *libnd_proto_new ()
voidlibnd_proto_free ()
gbooleanlibnd_proto_is_raw ()
const char *libnd_proto_layer_to_string ()

Types and Values

#defineLND_PROTO_MAGICS
enumLND_ProtocolLayer

Description

Functions

libnd_proto_new ()

LND_Protocol *
libnd_proto_new (const char *name,
                 LND_ProtocolLayer layer,
                 guint32 magic);

Returns


libnd_proto_free ()

void
libnd_proto_free (LND_Protocol *proto);


libnd_proto_is_raw ()

gboolean
libnd_proto_is_raw (LND_Protocol *proto);

Returns


libnd_proto_layer_to_string ()

const char *
libnd_proto_layer_to_string (LND_ProtocolLayer layer);

Returns

Types and Values

LND_PROTO_MAGICS

#define LND_PROTO_MAGICS 3


enum LND_ProtocolLayer

Members

LND_PROTO_LAYER_LINK

  

LND_PROTO_LAYER_NET

  

LND_PROTO_LAYER_TRANS

  

LND_PROTO_LAYER_APP