#include "internal/internal.h"
#include "internal/stack.h"
#include <linux/filter.h>
#include <stddef.h>
Data Structures | |
struct | jump |
Macros | |
#define | SKF_AD_NLATTR 12 |
#define | SKF_AD_NLATTR_NEST 16 |
#define | NFCT_FILTER_REJECT 0U |
#define | NFCT_FILTER_ACCEPT ~0U |
#define | NEW_POS(x) (sizeof(x)/sizeof(struct sock_filter)) |
#define | BSF_BUFFER_SIZE 2048 |
Functions | |
int | __setup_netlink_socket_filter (int fd, struct nfct_filter *f) |
#define BSF_BUFFER_SIZE 2048 |
#define NEW_POS | ( | x | ) | (sizeof(x)/sizeof(struct sock_filter)) |
#define NFCT_FILTER_ACCEPT ~0U |
Referenced by __setup_netlink_socket_filter().
#define NFCT_FILTER_REJECT 0U |
#define SKF_AD_NLATTR 12 |
#define SKF_AD_NLATTR_NEST 16 |
int __setup_netlink_socket_filter | ( | int | fd, |
struct nfct_filter * | f | ||
) |
References sock_fprog::filter, sock_fprog::len, NFCT_FILTER_ACCEPT, and NFNL_SUBSYS_CTNETLINK.
Referenced by nfct_filter_attach().