Home | History | Annotate | Download | only in extensions

Lines Matching refs:proto

35 "[!] --proto proto		match protocol (ah/esp/ipcomp)\n"
55 {.name = "proto", .id = O_PROTO, .type = XTTYPE_PROTOCOL,
143 if (e->match.proto)
145 "policy match: double --proto option");
146 e->proto = cb->val.protocol;
147 if (e->proto != IPPROTO_AH && e->proto != IPPROTO_ESP &&
148 e->proto != IPPROTO_COMP)
151 e->match.proto = 1;
152 e->invert.proto = cb->invert;
209 e->match.daddr || e->match.proto || e->match.mode))
213 "reqid, spi, tunnel-src, tunnel-dst, proto or "
242 static void print_proto(const char *prefix, uint8_t proto, int numeric)
248 p = getprotobynumber(proto);
252 printf("%u", proto);
272 if (e->match.proto) {
273 PRINT_INVERT(e->invert.proto);
274 print_proto(prefix, e->proto, numeric);