X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fipv6cp.h;fp=pppd%2Fipv6cp.h;h=d6e626e716a829da73ca2335578f4eb9d961fb23;hp=172b6eb85794d6ba99475bb2012e787148c721aa;hb=ba7f7e053daae846a54a1d08d3d133a5f1266ace;hpb=76016e1b948b7d9675b4e0750d1f943d96d9523b diff --git a/pppd/ipv6cp.h b/pppd/ipv6cp.h index 172b6eb..d6e626e 100644 --- a/pppd/ipv6cp.h +++ b/pppd/ipv6cp.h @@ -174,4 +174,16 @@ extern ipv6cp_options ipv6cp_hisoptions[]; extern struct protent ipv6cp_protent; +/* + * Hook for a plugin to know when IPv6 protocol has come up + */ +typedef void (ipv6_up_hook_fn)(void); +extern ipv6_up_hook_fn *ipv6_up_hook; + +/* + * Hook for a plugin to know when IPv6 protocol has come down + */ +typedef void (ipv6_down_hook_fn)(void); +extern ipv6_down_hook_fn *ipv6_down_hook; + #endif