Home | History | Annotate | Download | only in extensions

Lines Matching full:dccp

1 /* Shared library add-on to iptables for DCCP matching
16 #include <linux/dccp.h>
40 "DCCP match v%s options\n"
54 { .name = "dccp-types", .has_arg = 1, .flag = 0, .val = '3' },
55 { .name = "dccp-option", .has_arg = 1, .flag = 0, .val = '4' },
69 ports[0] = ports[1] = parse_port(buffer, "dccp");
75 ports[0] = buffer[0] ? parse_port(buffer, "dccp") : 0;
76 ports[1] = cp[0] ? parse_port(cp, "dccp") : 0xFFFF;
117 "Unknown DCCP type `%s'", ptr);
129 exit_error(PARAMETER_PROBLEM, "Bad DCCP option `%s'",
172 "Only one `--dccp-types' allowed");
184 "Only one `--dccp-option' allowed");
208 if ((service = getservbyport(htons(port), "dccp")))
289 printf("dccp ");
344 printf("--dccp-type ");
349 printf("--dccp-option %s%u ",
356 struct iptables_match dccp
357 = { .name = "dccp",
372 register_match(&dccp);