/* * Copyright (C) James R. Leu 2000 * jleu@mindspring.com * * This software is covered under the LGPL, for more * info check out http://www.gnu.org/copyleft/lgpl.html */ #ifndef _PDU_ALLOC_H_ #define _PDU_ALLOC_H_ #include "ldp_nortel.h" mplsLdpHeader_t *allocLdpHdr(uint32_t lsraddr,int label_space, int message_length); mplsLdpHelloMsg_t *allocLdpHello(unsigned int messageId); mplsLdpInitMsg_t *allocLdpInit(unsigned int messageId); mplsLdpKeepAlMsg_t *allocLdpKeepalive(unsigned int messageId); mplsLdpLblReqMsg_t *allocLdpLabelRequest(unsigned int messageId); mplsLdpLblMapMsg_t *allocLdpLabelMapping(unsigned int messageId); mplsLdpAdrMsg_t *allocLdpAddrWith(unsigned int messageId); mplsLdpAdrMsg_t *allocLdpAddr(unsigned int messageId); mplsLdpLbl_W_R_Msg_t *allocLdpLabelRelease(unsigned int messageId); mplsLdpLbl_W_R_Msg_t *allocLdpLabelWithdraw(unsigned int messageId); mplsLdpNotifMsg_t *allocLdpNotify(unsigned int messageId); mplsLdpLblAbortMsg_t *allocLdpLabelAbort(unsigned int messageId); #endif