Lines Matching refs:ipv4str
263 char ipv4str[MAX_IPv4_STR_LEN];
272 inet_ntop(AF_INET, &vers1_rule->fw_src, ipv4str, sizeof(ipv4str)));
274 inet_ntop(AF_INET, &vers1_rule->fw_dst, ipv4str, sizeof(ipv4str)));
276 inet_ntop(AF_INET, &vers1_rule->fw_smsk, ipv4str, sizeof(ipv4str)));
278 inet_ntop(AF_INET, &vers1_rule->fw_dmsk, ipv4str, sizeof(ipv4str)));
336 inet_ntop(AF_INET, &vers1_rule->fw_in_if.fu_via_ip, ipv4str,
337 sizeof(ipv4str));
338 printf("fu_via_ip: %s\n", ipv4str);
345 inet_ntop(AF_INET, &vers1_rule->fw_in_if.fu_via_ip, ipv4str,
346 sizeof(ipv4str)));
354 ipv4str, sizeof(ipv4str)));
438 char ipv4str[MAX_IPv4_STR_LEN];
459 printf("%s", inet_ntop(AF_INET, &a[0], ipv4str, sizeof(ipv4str)));
461 printf(":%s", inet_ntop(AF_INET, &a[1], ipv4str, sizeof(ipv4str)));
498 char ipv4str[MAX_IPv4_STR_LEN];
566 inet_ntop(AF_INET, &s->sa.sin_addr, ipv4str,
567 sizeof(ipv4str)));
702 inet_ntop(AF_INET, &cmdif->p.ip, ipv4str,
703 sizeof(ipv4str)));