All of lore.kernel.org
 help / color / mirror / Atom feed
From: Umair Ali <ali.umair@tut.fi>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] rtdm_socket() error -97 for sending UDP or RAW packets
Date: Mon, 2 May 2016 10:19:39 +0000	[thread overview]
Message-ID: <2396B4D2166B62479FBBE370D4A7C1F30A7320AF@mb2010-3.intra.tut.fi> (raw)
In-Reply-To: <20160502100534.GA22013@hermes.click-hack.org>

To be clear: From real time thread you mean the thread in userspace. And from the sources you mean the configuration options of the Rtnet when installing the Xenmai or do u mean that if the UDP module of the Rtnet is loaded or not. Please guide me.


Thanks
-----Original Message-----
From: Gilles Chanteperdrix [mailto:gilles.chanteperdrix@xenomai.org] 
Sent: May-02-16 1:06 PM
To: Umair Ali
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] rtdm_socket() error -97 for sending UDP or RAW packets

On Mon, May 02, 2016 at 10:01:16AM +0000, Umair Ali wrote:
> 
> 
> Hello Gilles,
> 
> Thanks for the reply.
> 
> 
> ** may work from the init module, but not from a real-time thread or vice versa I am calling rtdm_socket() in init module of the kernel app.

Then maybe you should call it from a real-time thread.

> 
> Can you tell me what kind of portocls are supported by rtdm_socket()

This depends on the options you selected in RTnet configuration. If you selected the protocol you want, but rtdm_socket fails in kernel-space, again, looking at the sources will be your best help.

Regards.

-- 
					    Gilles.
https://click-hack.org


  reply	other threads:[~2016-05-02 10:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-02 10:01 [Xenomai] rtdm_socket() error -97 for sending UDP or RAW packets Umair Ali
2016-05-02 10:05 ` Gilles Chanteperdrix
2016-05-02 10:19   ` Umair Ali [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-04-29 13:45 Umair Ali
2016-04-29 20:06 ` Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2396B4D2166B62479FBBE370D4A7C1F30A7320AF@mb2010-3.intra.tut.fi \
    --to=ali.umair@tut.fi \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.