[hipl-users] Re: [hipd] Communication with the daemon

  • From: Miika Komu <miika@xxxxxx>
  • To: HIPL Users ML <hipl-users@xxxxxxxxxxxxx>
  • Date: Sun, 11 Mar 2007 20:51:59 +0200 (EET)

On Fri, 9 Mar 2007, Jesús Rojo Martínez wrote:

Hi!,

And more questions... :P How is the communication with the daemon carried?
(sockets, named pipes,...) Is there any API?

http://infrahip.hiit.fi/hipl/doxygen/

Might be outdated from place to place though.

You are mostly interested in the hip_send_recv_daemon_info() function and the message building functions in builder.c. See also hipd/user.c for handling the messsages.

How can I know if there is an already established communication between 2
specific HITs?

ipsec xfrm state show OR setkey -D
ipsec xfrm policy show OR setkey -DP

--
Miika Komu                                       http://www.iki.fi/miika/

Other related posts: