LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-04-2004, 03:55 AM   #1
trotters78
LQ Newbie
 
Registered: Aug 2004
Location: Japan
Distribution: Fedora Core 2/ FreeBSD 4.9
Posts: 12

Rep: Reputation: 0
netlink routing socket to observe interface changes


Dear all,

In FreeBSD, the routing socket is capable of informing the process whenever there are changes made to interface/routing information.

My question is: Is the netlink socket in Linux equipped with such a functionality to receive interface information whenever changes are made to the interfaces? These changes can be a new interface is brought up or an interface is removed or there is a change in the interface status?

Thank you for your help in advance.

Regards,
Daryl
 
Old 11-29-2004, 06:21 AM   #2
guam
LQ Newbie
 
Registered: Feb 2004
Location: Korea
Posts: 25

Rep: Reputation: 15
Hello trotters78,

I want to use Netlink with NETLINK_USERSOCK for communication between the kernel module and my user space module. I am new to kernel programming and netlink.

Can you direct me to some pointer where I can find the information about using the Netlink with NETLINK_USERSOCK option?

Thanks in advance.

Devel.
 
Old 11-29-2004, 07:13 PM   #3
trotters78
LQ Newbie
 
Registered: Aug 2004
Location: Japan
Distribution: Fedora Core 2/ FreeBSD 4.9
Posts: 12

Original Poster
Rep: Reputation: 0
Hi Devel,

There are very few sources out there for Netlink.
I am also unfamiliar with NETLINK_USERSOCK.
I am afraid I can't help you.

However, if you want to know more about obtaining route/interface information via Netlink.
You can try this webpage.
http://qos.ittc.ukans.edu/netlink/html/node1.html

Pertaining to this area, I have some experience and I will try my best to help you.


Daryl
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to operate socket with file interface wangjinyi Programming 4 11-28-2005 12:31 AM
'RT netlink socket initialing problem' menaka Linux - Hardware 3 02-22-2005 04:35 AM
is it possible to get interface up/down event notifications thru netlink in linux pccyang Programming 1 11-19-2004 08:21 PM
boot hangs at "Initializing RT netlink socket" CraigG Red Hat 0 12-24-2003 11:51 AM
comments and opinions on linux netlink routing sockets tutorial infamous41md Programming 3 11-20-2003 06:54 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration