ldp_pdu
run_ldp_hello(const struct ldp_pdu * pduid, const struct hello_tlv * ht,
void run_ldp_hello(const struct ldp_pdu *, const struct hello_tlv *,
get_pdu(const unsigned char *s, struct ldp_pdu * p)
const struct ldp_pdu *p1 = (const struct ldp_pdu *) s;
check_recv_pdu(const struct ldp_peer * p, const struct ldp_pdu * rpdu, int c)
uint get_pdu(const unsigned char *, struct ldp_pdu *);
int check_recv_pdu(const struct ldp_peer *, const struct ldp_pdu *, int);
struct ldp_pdu *rpdu;
rpdu = (struct ldp_pdu *) recvspace;
wo = sizeof(struct ldp_pdu);
send_message(const struct ldp_peer * p, const struct ldp_pdu * pdu,
memcpy(sendspace, pdu, sizeof(struct ldp_pdu));
memcpy(sendspace + sizeof(struct ldp_pdu), t,
struct ldp_pdu pdu;
struct ldp_pdu *spdu;
#define BASIC_HELLO_MSG_SIZE (sizeof(struct ldp_pdu) + /* PDU */ \
spdu = (struct ldp_pdu *)((char *)v);
struct ldp_pdu rpdu;
int send_message(const struct ldp_peer *, const struct ldp_pdu *,