All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] There is XDDP Sockets support in kernel?
@ 2015-03-30 14:55 Helder Daniel
  2015-03-30 15:13 ` Philippe Gerum
  0 siblings, 1 reply; 12+ messages in thread
From: Helder Daniel @ 2015-03-30 14:55 UTC (permalink / raw)
  To: Xenomai@xenomai.org

Hi,

When trying to compile a kernel module that sets up a XDDP socket (code
snippet below) with Xenomai 3.x-rc3 on Cobalt setup,
rtdm_bind() returns ENOSYS.
This means that XDDP sockets can not be used in kernel?

================================================
s = rtdm_socket(AF_RTIPC, SOCK_DGRAM, IPCPROTO_XDDP);
memset(&saddr, 0, sizeof(saddr));
saddr.sipc_family = AF_RTIPC;
saddr.sipc_port = XDDP_PORT;
ret = rtdm_bind(s, (struct sockaddr *)&saddr, sizeof(saddr));
if (ret) rtdm_printk("senderK: bind error: %d\n", ret);

================================================

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-04-16 14:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-30 14:55 [Xenomai] There is XDDP Sockets support in kernel? Helder Daniel
2015-03-30 15:13 ` Philippe Gerum
2015-03-30 15:17   ` Philippe Gerum
2015-03-30 15:20   ` Gilles Chanteperdrix
2015-03-30 15:27     ` Philippe Gerum
2015-03-30 15:29       ` Gilles Chanteperdrix
2015-03-30 15:37         ` Helder Daniel
2015-03-30 15:37         ` Philippe Gerum
2015-03-30 15:40           ` Helder Daniel
2015-03-30 15:55             ` Helder Daniel
2015-03-30 19:00               ` Philippe Gerum
2015-04-16 14:17                 ` Helder Daniel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.