git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for dec_mpls_ttl action
[sliver-openvswitch.git]
/
lib
/
packets.c
diff --git
a/lib/packets.c
b/lib/packets.c
index
a39cddf
..
c33ae08
100644
(file)
--- a/
lib/packets.c
+++ b/
lib/packets.c
@@
-259,7
+259,7
@@
static bool is_mpls(struct ofpbuf *packet)
}
/* Set time to live (TTL) of an MPLS label stack entry (LSE). */
-
static
void
+void
set_mpls_lse_ttl(ovs_be32 *lse, uint8_t ttl)
{
*lse &= ~htonl(MPLS_TTL_MASK);