From: bu.kernel@gmail.com (Bhaskar Upadhyayula)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Questions on Netlink sockets
Date: Mon, 17 Aug 2015 15:55:43 -0700 [thread overview]
Message-ID: <CADmdLE9hTL9hQ+SYnT_G4gNmpFkoQkQmfb8uaaJuZvF_eww4zA@mail.gmail.com> (raw)
Hello,
I want to check with the group if this is right mailing list to post
my question.
Here is what I am doing.
+ From a user-space program, mimicking the behavior of creating a VLAN
interface when we execute the following ip command:
$ ip link add name <vlan-intf-name> link <parent-intf-name> type
vlan id <id>
Example: $ ip link add name dummy.110 link dummy type vlan id 110
+ My program open's a netlink socket and sends information to kernel
(interface names, vlan tags etc). My code more or less follows the
code in iproute2/ip/iplink.c
+ My code is not creating VLAN interface as executed by the 'ip link
...' command.
I have a few questions around this and can post my code, if required.
But please let me know if this is right mailing list or should I post
on netdev list (which I feel is for advanced network questions).
Thx.
next reply other threads:[~2015-08-17 22:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-17 22:55 Bhaskar Upadhyayula [this message]
2015-08-18 4:18 ` Questions on Netlink sockets Rami Rosen
2015-08-19 7:07 ` Bhaskar Upadhyayula
2015-08-19 10:28 ` Rami Rosen
2015-08-25 8:47 ` Bhaskar Upadhyayula
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=CADmdLE9hTL9hQ+SYnT_G4gNmpFkoQkQmfb8uaaJuZvF_eww4zA@mail.gmail.com \
--to=bu.kernel@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).