All of lore.kernel.org
 help / color / mirror / Atom feed
* socket filter
@ 2010-08-20  4:27 krunal patel
  2010-08-20  5:04 ` Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: krunal patel @ 2010-08-20  4:27 UTC (permalink / raw)
  To: netfilter-devel

Hi,

There are ioctl's for attaching bpf like filters to socket. I found it
in kernel documentation.
    setsockopt(sockfd, SOL_SOCKET, SO_ATTACH_FILTER, &Filter, sizeof(Filter));
I doubt is can we attach filters in case of netlink socket.
I am logging all packets using ULOG target and using ulogd.
Is it possible to use same ioctl for netlink socket we create in ulogd?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-21 10:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-20  4:27 socket filter krunal patel
2010-08-20  5:04 ` Stephen Hemminger
     [not found]   ` <AANLkTimqZR0S0H_SO=xkBEWbC2zc92gSFp4hi=EpFTP5@mail.gmail.com>
2010-08-21 10:11     ` Fwd: " krunal patel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.