diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2018-06-25 09:41:46 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2018-06-25 09:41:46 +0000 |
commit | 0d5362ac30a13615f147f94552a8e04453d8f28f (patch) | |
tree | e8e83d1fff50d9368f20fa3c71995f5f7e087c44 /sys/net/route.h | |
parent | ebb03e2b73a103bab199b1460427804351274b01 (diff) |
Factorize MPLS setup/teardown into two functions.
ok claudio@
Diffstat (limited to 'sys/net/route.h')
-rw-r--r-- | sys/net/route.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/route.h b/sys/net/route.h index 813fd8e5c8e..b9e46030dfa 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -1,4 +1,4 @@ -/* $OpenBSD: route.h,v 1.169 2018/04/24 06:19:47 florian Exp $ */ +/* $OpenBSD: route.h,v 1.170 2018/06/25 09:41:45 mpi Exp $ */ /* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */ /* @@ -442,6 +442,9 @@ void rt_timer_queue_destroy(struct rttimer_queue *); unsigned long rt_timer_queue_count(struct rttimer_queue *); void rt_timer_timer(void *); +int rt_mpls_set(struct rtentry *, struct sockaddr *, uint8_t); +void rt_mpls_clear(struct rtentry *); + int rtisvalid(struct rtentry *); int rt_hash(struct rtentry *, struct sockaddr *, uint32_t *); struct rtentry *rtalloc_mpath(struct sockaddr *, uint32_t *, u_int); |