Home
last modified time | relevance | path

Searched refs:PDU_VER_LENGTH (Results 1 – 3 of 3) sorted by relevance

/netbsd/src/usr.sbin/ldpd/
Dpdu.c90 if (ntohs(rpdu->length) > c - PDU_VER_LENGTH) { in check_recv_pdu()
93 ntohs(rpdu->length), (int) (c - PDU_VER_LENGTH)); in check_recv_pdu()
Dpdu.h43 #define PDU_VER_LENGTH (sizeof(uint16_t) + sizeof(uint16_t)) macro
Dsocketops.c446 spdu->length = htons(IPV4_HELLO_MSG_SIZE - PDU_VER_LENGTH); in send_hello()
547 spdu->length = htons(IPV6_HELLO_MSG_SIZE - PDU_VER_LENGTH); in send_hello()
1139 ntohs(rpdu->length) + PDU_VER_LENGTH, MSG_WAITALL); in recv_session_pdu()
1363 if (ntohs(t->length) + PDU_VER_LENGTH > MAX_PDU_SIZE) { in send_message()
1383 ntohs(pdu->length) + PDU_VER_LENGTH, 0); in send_message()