Lines Matching defs:res
220 int res = -1;
243 res = pack_key32(sel, key, mask, off, offmask);
246 return res;
251 int res = -1;
273 res = pack_key16(sel, key, mask, off, offmask);
276 return res;
281 int res = -1;
307 res = pack_key8(sel, key, mask, off, offmask);
310 return res;
315 int res = -1;
340 res = 0;
344 return res;
349 int res = -1;
374 if ((res = pack_key(sel, addr.data[i/32], 0xFFFFFFFF, off+4*(i/32), offmask)) < 0)
378 if ((res = pack_key(sel, addr.data[i/32], mask, off+4*(i/32), offmask)) < 0)
382 res = 0;
386 return res;
391 int res = -1;
400 res = parse_ip_addr(&argc, &argv, sel, 12);
405 res = parse_ip_addr(&argc, &argv, sel, 16);
411 res = parse_u8(&argc, &argv, sel, 1, 0);
416 res = parse_u8(&argc, &argv, sel, 0, 0);
421 res = parse_u8(&argc, &argv, sel, 9, 0);
426 res = parse_u8(&argc, &argv, sel, 1, 0);
431 res = pack_key16(sel, 0, 0x3FFF, 6, 0);
436 res = pack_key16(sel, 0, 0x1FFF, 6, 0);
441 res = pack_key16(sel, 0x4000, 0x4000, 6, 0);
446 res = pack_key16(sel, 0x2000, 0x2000, 6, 0);
451 res = parse_u16(&argc, &argv, sel, 22, 0);
456 res = parse_u16(&argc, &argv, sel, 20, 0);
461 res = parse_u8(&argc, &argv, sel, 20, 0);
466 res = parse_u8(&argc, &argv, sel, 20, 1);
474 return res;
479 int res = -1;
488 res = parse_ip6_addr(&argc, &argv, sel, 8);
493 res = parse_ip6_addr(&argc, &argv, sel, 24);
498 res = parse_u8(&argc, &argv, sel, 0, 0);
503 res = parse_u8(&argc, &argv, sel, 6, 0);
508 res = parse_u32(&argc, &argv, sel, 0, 0);
513 res = parse_u16(&argc, &argv, sel, 42, 0);
518 res = parse_u16(&argc, &argv, sel, 40, 0);
523 res = parse_u8(&argc, &argv, sel, 40, 0);
528 res = parse_u8(&argc, &argv, sel, 41, 1);
536 return res;
542 int res = -1;
551 res = parse_u16(&argc, &argv, sel, 0, -1);
556 res = parse_u16(&argc, &argv, sel, 2, -1);
564 return res;
569 int res = -1;
578 res = parse_u8(&argc, &argv, sel, 0, -1);
583 res = parse_u8(&argc, &argv, sel, 1, -1);
591 return res;
596 int res = -1;
622 res = 0;
626 return res;
633 int res = -1;
640 res = parse_u32(&argc, &argv, sel, 0, 0);
645 res = parse_u16(&argc, &argv, sel, 0, 0);
650 res = parse_u8(&argc, &argv, sel, 0, 0);
655 res = parse_ip(&argc, &argv, sel);
660 res = parse_ip6(&argc, &argv, sel);
665 res = parse_udp(&argc, &argv, sel);
670 res = parse_tcp(&argc, &argv, sel);
675 res = parse_icmp(&argc, &argv, sel);
680 res = parse_mark(&argc, &argv, n);
689 return res;