Re: Netlink sockets problem in Fedora Core 8 2.6.23.1-42 Kernel



kartik saxena wrote:
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?

Not directly... but udev communicates using netlink. Maybe you
can take a look at its source (?).
.



Relevant Pages

  • 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: [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)
  • Getting no sound from ALSA under 2.6.7
    ... I finally decided it was time to upgrade to the 2.6 kernel. ... Has anybody got ALSA working with the alsa-base and alsa-utils currently ... First I tried compiling most stuff into the kernel, ... hear a lot of noise on the speakers. ...
    (Debian-User)