diff options
author | brian <brian@FreeBSD.org> | 2001-04-05 02:23:48 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-04-05 02:23:48 +0000 |
commit | 6359851d3261d104a75c098c40c173b4bf2e9372 (patch) | |
tree | 4f0e16a49075d0a2fa9c4327a78b7afad12e30f1 /usr.sbin/ppp/route.h | |
parent | fa88e7e9b21ea8d131a8ba163f8f7a88d2cea818 (diff) | |
download | FreeBSD-src-6359851d3261d104a75c098c40c173b4bf2e9372.zip FreeBSD-src-6359851d3261d104a75c098c40c173b4bf2e9372.tar.gz |
When we change the interface MTU, run through the routing table and tweak
all route MTUs too.
Diffstat (limited to 'usr.sbin/ppp/route.h')
-rw-r--r-- | usr.sbin/ppp/route.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/ppp/route.h b/usr.sbin/ppp/route.h index dc95871..caaf0fc 100644 --- a/usr.sbin/ppp/route.h +++ b/usr.sbin/ppp/route.h @@ -46,6 +46,7 @@ struct sticky_route { extern int GetIfIndex(char *); extern int route_Show(struct cmdargs const *); extern void route_IfDelete(struct bundle *, int); +extern void route_UpdateMTU(struct bundle *); extern const char *Index2Nam(int); extern void route_Change(struct bundle *, struct sticky_route *, struct in_addr, struct in_addr, struct in_addr[2]); @@ -57,3 +58,6 @@ extern void route_Clean(struct bundle *, struct sticky_route *); extern void route_ShowSticky(struct prompt *, struct sticky_route *, const char *, int); extern void route_ParseHdr(struct rt_msghdr *, struct sockaddr *[RTAX_MAX]); +extern int rt_Set(struct bundle *, int, struct in_addr, + struct in_addr, struct in_addr, int, int); +extern void rt_Update(struct bundle *, struct in_addr, struct in_addr); |