Lines Matching refs:label_entry
63 uint32_t label_entry; in mpls_print() local
70 ND_TCHECK2(*p, sizeof(label_entry)); in mpls_print()
71 if (length < sizeof(label_entry)) { in mpls_print()
75 label_entry = EXTRACT_32BITS(p); in mpls_print()
78 MPLS_LABEL(label_entry))); in mpls_print()
81 MPLS_LABEL(label_entry) < sizeof(mpls_labelname) / sizeof(mpls_labelname[0])) in mpls_print()
82 ND_PRINT((ndo, " (%s)", mpls_labelname[MPLS_LABEL(label_entry)])); in mpls_print()
83 ND_PRINT((ndo, ", exp %u", MPLS_EXP(label_entry))); in mpls_print()
84 if (MPLS_STACK(label_entry)) in mpls_print()
86 ND_PRINT((ndo, ", ttl %u)", MPLS_TTL(label_entry))); in mpls_print()
88 p += sizeof(label_entry); in mpls_print()
89 length -= sizeof(label_entry); in mpls_print()
90 } while (!MPLS_STACK(label_entry)); in mpls_print()
95 switch (MPLS_LABEL(label_entry)) { in mpls_print()