search for: em_can_rules_size

Displaying 1 result from an estimated 1 matches for "em_can_rules_size".

2012 Jun 12
6
[RFC] net/sched/em_canid: Ematch rule to match CAN frames according to their CAN IDs
...isovy (lisovy@gmail.com) + */ + +#include <linux/slab.h> +#include <linux/module.h> +#include <linux/types.h> +#include <linux/kernel.h> +#include <linux/string.h> +#include <linux/skbuff.h> +#include <net/pkt_cls.h> +#include <linux/can.h> + +#define EM_CAN_RULES_SIZE 32 + +struct canid_match { + struct can_filter rules_raw[EM_CAN_RULES_SIZE]; /* Raw rules copied + from netlink message; Used for sending information to + userspace (when ''tc filter show'' is invoked) AND when + matching EFF frames*/ + DECLARE_BITMAP(match_sff, (1 << CA...