• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/router/iptables-1.x/

Lines Matching refs:ipv6

223 	{ "ipv6-icmp", IPPROTO_ICMPV6 },
226 { "ipv6-mh", IPPROTO_MH },
747 (strcmp(match_name,"ipv6-icmp") == 0) ||
1346 flags = fw->ipv6.flags;
1359 fputc(fw->ipv6.invflags & IP6T_INV_PROTO ? '!' : ' ', stdout);
1361 char *pname = proto_to_name(fw->ipv6.proto, format&FMT_NUMERIC);
1365 printf(FMT("%-5hu", "%hu "), fw->ipv6.proto);
1379 if (fw->ipv6.invflags & IP6T_INV_VIA_IN) {
1385 if (fw->ipv6.iniface[0] != '\0') {
1386 strcat(iface, fw->ipv6.iniface);
1392 if (fw->ipv6.invflags & IP6T_INV_VIA_OUT) {
1398 if (fw->ipv6.outiface[0] != '\0') {
1399 strcat(iface, fw->ipv6.outiface);
1406 fputc(fw->ipv6.invflags & IP6T_INV_SRCIP ? '!' : ' ', stdout);
1407 if (!memcmp(&fw->ipv6.smsk, &in6addr_any, sizeof in6addr_any)
1412 sprintf(buf, "%s", addr_to_numeric(&(fw->ipv6.src)));
1414 sprintf(buf, "%s", addr_to_anyname(&(fw->ipv6.src)));
1415 strcat(buf, mask_to_numeric(&(fw->ipv6.smsk)));
1419 fputc(fw->ipv6.invflags & IP6T_INV_DSTIP ? '!' : ' ', stdout);
1420 if (!memcmp(&fw->ipv6.dmsk, &in6addr_any, sizeof in6addr_any)
1425 sprintf(buf, "%s", addr_to_numeric(&(fw->ipv6.dst)));
1427 sprintf(buf, "%s", addr_to_anyname(&(fw->ipv6.dst)));
1428 strcat(buf, mask_to_numeric(&(fw->ipv6.dmsk)));
1435 IP6T_MATCH_ITERATE(fw, print_match, &fw->ipv6, format & FMT_NUMERIC);
1440 target->print(&fw->ipv6, t, format & FMT_NUMERIC);
1473 fw->ipv6.src = saddrs[i];
1475 fw->ipv6.dst = daddrs[j];
1494 fw->ipv6.src = *saddr;
1495 fw->ipv6.dst = *daddr;
1517 fw->ipv6.src = saddrs[i];
1519 fw->ipv6.dst = daddrs[j];
1579 fw->ipv6.src = saddrs[i];
1581 fw->ipv6.dst = daddrs[j];
2039 set_option(&options, OPT_PROTOCOL, &fw.ipv6.invflags,
2047 fw.ipv6.proto = parse_protocol(protocol);
2048 fw.ipv6.flags |= IP6T_F_PROTO;
2050 if (fw.ipv6.proto == 0
2051 && (fw.ipv6.invflags & IP6T_INV_PROTO))
2055 if (is_exthdr(fw.ipv6.proto)
2056 && (fw.ipv6.invflags & IP6T_INV_PROTO) == 0)
2064 set_option(&options, OPT_SOURCE, &fw.ipv6.invflags,
2071 set_option(&options, OPT_DESTINATION, &fw.ipv6.invflags,
2077 set_option(&options, OPT_JUMP, &fw.ipv6.invflags,
2101 set_option(&options, OPT_VIANAMEIN, &fw.ipv6.invflags,
2104 fw.ipv6.iniface,
2105 fw.ipv6.iniface_mask);
2110 set_option(&options, OPT_VIANAMEOUT, &fw.ipv6.invflags,
2113 fw.ipv6.outiface,
2114 fw.ipv6.outiface_mask);
2120 &fw.ipv6.invflags, invert);
2147 set_option(&options, OPT_NUMERIC, &fw.ipv6.invflags,
2159 set_option(&options, OPT_EXPANDED, &fw.ipv6.invflags,
2172 set_option(&options, OPT_LINENUMBERS, &fw.ipv6.invflags,
2182 set_option(&options, OPT_COUNTERS, &fw.ipv6.invflags,
2329 &(fw.ipv6.smsk), &nsaddrs);
2333 &(fw.ipv6.dmsk), &ndaddrs);
2336 (fw.ipv6.invflags & (IP6T_INV_SRCIP | IP6T_INV_DSTIP)))