Home
last modified time | relevance | path

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

/dflybsd-src/contrib/tcpdump/
H A Dprint-mpls.c78 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(" (%s)", mpls_labelname[MPLS_LABEL(label_entry)]); in mpls_print()
95 switch (MPLS_LABEL(label_entry)) { in mpls_print()
H A Dmpls.h38 #define MPLS_LABEL(x) (((x) & LABEL_MASK) >> LABEL_SHIFT) macro
H A Dprint-icmp.c753 … ND_PRINT("\n\t label %u, exp %u", MPLS_LABEL(raw_label), MPLS_EXP(raw_label)); in icmp_print()
/dflybsd-src/sys/netproto/mpls/
H A Dmpls_input.c111 label = MPLS_LABEL(ntohl(mpls->mpls_shim)); in mpls_input()
188 label = MPLS_LABEL(ntohl(mpls->mpls_shim)); in mpls_forward()
H A Dmpls_demux.c95 label = MPLS_LABEL(ntohl(mpls->mpls_shim)); in mpls_hashfn()
H A Dmpls.h53 #define MPLS_LABEL(shim) (((shim) & MPLS_LABEL_MASK) >> 12) macro
/dflybsd-src/usr.sbin/traceroute/
H A Dtraceroute.c269 #define MPLS_LABEL(x) (((x) & 0xfffff000) >> 12) macro
848 MPLS_LABEL(mpls_hdr), in decode_extensions()