Netlink sockets problem in Fedora Core 8 2.6.23.1-42 Kernel



Hello ,


I am compiling a module for User - kernel interaction using netlink
sockets , I have my code ready , which ran on 2.4 series of kernels
about 2 years back.

i have to do the same for 2.6.XX series , i have the latest fedore 8
2.6.23 kernel .
The user space code compiled well , the kernel module is giving
trouble. with the following errors.

error : 'struct netlink_skb_parms' has no member named 'groups'
error : 'struct netlink_skb_parms' has no member named 'dst_pid'
error : 'struct netlink_skb_parms' has no member named 'dst_groups'

though this structure is well defined in netlink.h. The macro
NETLINK_CB (skb) is also well defined.

anybody here used netlink sockets on a 2.6.x.x machine?

Regards

Kartik saxena
.



Relevant Pages

  • Re: [RFC][PATCH 0/9] Network receive deadlock prevention for NBD
    ... OpenSSH works with network and unix sockets in parallel, ... kernel services, and the continued well being of the kernel, not ... And even if you will cover all kernel-only network allocations, ... Feel free to implement any receiving policy inside _separated_ allocator ...
    (Linux-Kernel)
  • SOLVED Re: Solaris 2.8 & 2.9 kernel eating all my memory?
    ... The problem ended up being an app issue that was framing the kernel. ... and repeat (keeping the older sockets open). ... I think we will end up rewriting the load generation program to use ... > simultaneous connections without any problems. ...
    (comp.unix.solaris)
  • Re: [RFC] Revised CKRM release
    ... >>implemented as kernel modules, ... they don't take resources away from the group serving a "gold" customer. ... rates for groups of listening sockets formed using source ip/port. ... independent - the resource controllers (which are/will be patches over ...
    (Linux-Kernel)
  • Re: Netlink sockets problem in Fedora Core 8 2.6.23.1-42 Kernel
    ... I am compiling a module for User - kernel interaction using netlink ... sockets, I have my code ready, which ran on 2.4 series of kernels ...
    (comp.os.linux.development.system)
  • Re: sending messages, user process <--> kernel module
    ... >> about implementing something similar to unix routing socket, ... > buffers kernel log output for syslogd to pick up asynchronously. ... > userspace cache managers. ... including UNIX domain sockets and TCP/IP sockets. ...
    (freebsd-hackers)