Home | History | Annotate | Download | only in extensions

Lines Matching defs:id

26 	{.name = "led-trigger-id", .id = O_LED_TRIGGER_ID,
28 .max = sizeof(((struct xt_led_info *)NULL)->id) -
30 {.name = "led-delay", .id = O_LED_DELAY, .type = XTTYPE_STRING},
31 {.name = "led-always-blink", .id = O_LED_ALWAYS_BLINK,
41 "--led-trigger-id name suffix for led trigger name\n"
54 switch (cb->entry->id) {
56 strcpy(led->id, "netfilter-");
57 strcat(led->id, cb->arg);
77 const char *id = led->id + strlen("netfilter-"); /* trim off prefix */
79 printf(" led-trigger-id:\"");
80 /* Escape double quotes and backslashes in the ID */
81 while (*id != '\0') {
82 if (*id == '"' || *id == '\\')
84 printf("%c", *id++);
100 const char *id = led->id + strlen("netfilter-"); /* trim off prefix */
102 printf(" --led-trigger-id \"");
103 /* Escape double quotes and backslashes in the ID */
104 while (*id != '\0') {
105 if (*id == '"' || *id == '\\')
107 printf("%c", *id++);