Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-14-2015, 04:37 AM   #1
LQ Newbie
Registered: Sep 2014
Posts: 12

Rep: Reputation: Disabled
want to use RTMGRP_IPV6_IFADDR for kernel module

In my networking kernel module I want to register for RTM_NEWADDR and RTM_DELADDR using netlink to stack. I can understand that binding the socket to RTMGRP_IPV6_IFADDR will make listening for RTM_NEWADDR and RTM_DELADDR only and not all the notifications. And that's what I want. But I can see that RTMGRP_IPV6_IFADDR is defined in rtnetlink.h under (#ifndef __KERNEL__ ). So this macro is only available for user space application and not for kernel modules.
Any alternate or any other corresponding MACRO which I can use in kernel module.



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
[SOLVED] Difference between Static Kernel Module & Dynamic Kernel Module ram619 Linux - Newbie 2 12-11-2012 05:27 AM
[SOLVED] Install older kernel module into newer kernel - no symbol version for module bayoulinux Linux - Kernel 4 10-26-2011 04:32 AM
Can a kernel module call the function of another kernel module sceadu Programming 3 05-02-2011 02:22 AM
[Error] Kernel Module : No kernel module build environment saman007uk Debian 7 09-09-2006 06:34 PM
kernel module ignorant newbie looking for any one with kernel module knowledge cpoet Slackware 4 11-24-2003 09:37 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:46 PM.

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