Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-forces.c388 #define F_ALN_LEN(len) ( ((len)+ForCES_ALNL-1) & ~(ForCES_ALNL-1) ) macro
390 #define TLV_SET_LEN(len) (F_ALN_LEN(TLV_HDRL) + (len))
391 #define TLV_ALN_LEN(len) F_ALN_LEN(TLV_SET_LEN(len))
394 #define GO_NXT_TLV(tlv,rlen) ((rlen) -= F_ALN_LEN(EXTRACT_16BITS(&(tlv)->length)), \
396 + F_ALN_LEN(EXTRACT_16BITS(&(tlv)->length))))
397 #define ILV_SET_LEN(len) (F_ALN_LEN(ILV_HDRL) + (len))
398 #define ILV_ALN_LEN(len) F_ALN_LEN(ILV_SET_LEN(len))
401 #define GO_NXT_ILV(ilv,rlen) ((rlen) -= F_ALN_LEN(EXTRACT_32BITS(&(ilv)->length)), \
403 + F_ALN_LEN(EXTRACT_32BITS(&(ilv)->length))))
425 if (rlen < F_ALN_LEN(EXTRACT_16BITS(&tlv->length))) in tlv_valid()
[all …]