![Adam Nielsen](/assets/img/avatar_default.png)
Kernel module providing implementation of LED netfilter target. Each instance of the target appears as a led-trigger device, which can be associated with one or more LEDs in /sys/class/leds/ Signed-off-by: Adam Nielsen <a.nielsen@shikadi.net> Acked-by: Richard Purdie <rpurdie@linux.intel.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
14 lines
381 B
C
14 lines
381 B
C
#ifndef _XT_LED_H
|
|
#define _XT_LED_H
|
|
|
|
struct xt_led_info {
|
|
char id[27]; /* Unique ID for this trigger in the LED class */
|
|
__u8 always_blink; /* Blink even if the LED is already on */
|
|
__u32 delay; /* Delay until LED is switched off after trigger */
|
|
|
|
/* Kernel data used in the module */
|
|
void *internal_data __attribute__((aligned(8)));
|
|
};
|
|
|
|
#endif /* _XT_LED_H */
|