Re: DynamicStore Information?
Re: DynamicStore Information?
- Subject: Re: DynamicStore Information?
- From: Kris Amico <email@hidden>
- Date: Fri, 17 Jan 2003 18:36:21 -0800
I just took a quick gander at the ppp sources and I think you might want to
look at the source for the daemon itself for more information. Of particular
interest was the file sys-MacOSX.c, containing notifiers which respond to
events by publishing (and unpublishing) stuff in the SC dynamic store. I am
not aware of any documentation explaining ppp's usage of the dynamic store,
but the sources helped tremendously when I researched your problem.
On 1/16/03 2:01 PM, "Duane Murphy" <email@hidden> wrote:
>
Is there any documentation on the information returned from the
>
SCDynamicStore key
>
>
State:/Network/Service/*/PPP
>
>
I have accessed this under various conditions and have found:
>
>
When disconnected:
>
>
<dictionary> {
>
pid : 1691
>
DeviceLastCause : 1
>
Status : 3
>
LastCause : 8
>
InterfaceName : ppp0
>
}
>
>
When connected:
>
>
<dictionary> {
>
pid : 1691
>
ConnectTime : 17971
>
LCPCompressionPField : 1
>
Status : 8
>
LCPCompressionACField : 1
>
LCPReceiveACCM : 0
>
LastCause : 8
>
LCPTransmitACCM : -1
>
DeviceLastCause : 1
>
LCPMRU : 1492
>
LCPMTU : 1492
>
IPCPCompressionVJ : 0
>
InterfaceName : ppp0
>
>
Not sure about this one. Changed to a different location that doesnt
>
include ppp but this is still in the dynamic store:
>
>
<dictionary> {
>
DeviceLastCause : 0
>
Status : 0
>
LastCause : 5
>
}
>
>
By the way, scutil is great for investigating the dynamic store information!
>
>
...Duane
>
_______________________________________________
>
macnetworkprog mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
>
Do not post admin requests to the list. They will be ignored.
--
Kris Amico <email@hidden>, AIM: Kris Amico
Senior Software Engineer
Macintosh Client Software Development
EarthLink, Inc.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.