[ntp:hackers] clockvar on Palisade

Rodolfo Giometti giometti at linux.it
Fri Mar 18 04:09:56 PST 2005


Hello,

I should modify the Palisade refclock driver in order to support some
diagnostic messages to/from the Palisade Antenna.

I notice the clockvar (clock variables) and I suppose that these
variable may resolve my problem. I can use them to send/receive info
on the Antenna status to the user by using the ntpq program.

My question is: I notice the functions add_var() and set_var() to
create and set these variables but I can't understand why there is no
such get_var() function. So, when the user does the ntpq command:

   clockvar 1234 myvar = "some data"

how I can read such info in the palisade_control() function?

Thanks in advance,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti at linux.it
Linux Device Driver                             giometti at enneenne.com
Embedded Systems                     home page: giometti.enneenne.com
UNIX programming                     phone:     +39 349 2432127
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://support.ntp.org/pipermail/hackers/attachments/20050318/33755348/attachment.bin


More information about the hackers mailing list