]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/mpls/internal.h
Documentation/livepatch: Fix stale link to gmame
[mirror_ubuntu-bionic-kernel.git] / net / mpls / internal.h
index 732a5c17e9862940aee1f032fb98b48abefdc80a..bdfef6c3271a5a0e39fbbd03b9464a9fe1bdb3f0 100644 (file)
@@ -1,9 +1,6 @@
 #ifndef MPLS_INTERNAL_H
 #define MPLS_INTERNAL_H
-
-struct mpls_shim_hdr {
-       __be32 label_stack_entry;
-};
+#include <net/mpls.h>
 
 struct mpls_entry_decoded {
        u32 label;
@@ -93,11 +90,6 @@ struct mpls_route { /* next hop label forwarding entry */
 
 #define endfor_nexthops(rt) }
 
-static inline struct mpls_shim_hdr *mpls_hdr(const struct sk_buff *skb)
-{
-       return (struct mpls_shim_hdr *)skb_network_header(skb);
-}
-
 static inline struct mpls_shim_hdr mpls_entry_encode(u32 label, unsigned ttl, unsigned tc, bool bos)
 {
        struct mpls_shim_hdr result;