Searched defs:mpls (Results 1 - 2 of 2) sorted by relevance

/net/wireless/
H A Dutil.c15 #include <linux/mpls.h>
725 struct mpls_label mpls_tmp, *mpls; local
727 mpls = skb_header_pointer(skb, sizeof(struct ethhdr),
728 sizeof(*mpls), &mpls_tmp);
729 if (!mpls)
732 return (ntohl(mpls->entry) & MPLS_LS_TC_MASK)
/net/core/
H A Dpktgen.c595 seq_puts(seq, " mpls: ");
1555 if (!strcmp(name, "mpls")) {
1562 cnt = sprintf(pg_result, "OK: mpls=");
2633 static void mpls_push(__be32 *mpls, struct pktgen_dev *pkt_dev) argument
2637 *mpls++ = pkt_dev->labels[i] & ~MPLS_STACK_BOTTOM;
2639 mpls--;
2640 *mpls |= MPLS_STACK_BOTTOM;
2752 __be32 *mpls; local
2784 mpls = (__be32 *)skb_put(skb, pkt_dev->nr_labels*sizeof(__u32));
2786 mpls_push(mpls, pkt_de
2881 __be32 *mpls; local
[all...]

Completed in 35 milliseconds