Lines Matching defs:ip_type

386 	uint32_t	ip_type;
396 if ((returnstat = pr_adr_int32(context, (int32_t *)&ip_type, 1)) != 0)
400 if ((ip_type != AU_IPv4) && (ip_type != AU_IPv6))
404 if ((returnstat = pr_adr_char(context, (char *)ip_addr, ip_type)) != 0)
411 if (ip_type == AU_IPv4) { /* ipv4 address */
422 } else if (ip_type == AU_IPv6) { /* IPv6 addresss (128 bits) */
444 short ip_type;
455 if ((returnstat = pr_adr_short(context, &ip_type, 1)) != 0)
459 if ((ip_type != AU_IPv4) && (ip_type != AU_IPv6))
484 if ((returnstat = pr_adr_char(context, (char *)ip_addr, ip_type)) != 0)
490 if (ip_type == AU_IPv4) { /* ipv4 address */
503 } else if (ip_type == AU_IPv6) { /* IPv6 addresss (128 bits) */
546 if ((returnstat = pr_adr_char(context, (char *)ip_addr, ip_type)) != 0)
552 if (ip_type == AU_IPv4) { /* ipv4 address */
565 } else if (ip_type == AU_IPv6) { /* IPv6 addresss (128 bits) */
711 uint32_t ip_type;
727 if ((returnstat = pr_adr_u_int32(context, &ip_type, 1)) != 0)
731 if ((ip_type != AU_IPv4) && (ip_type != AU_IPv6))
735 if ((returnstat = pr_adr_char(context, (char *)ip_addr, ip_type)) != 0)
739 if (ip_type == AU_IPv4) {
785 uint32_t ip_type;
796 if ((returnstat = pr_adr_u_int32(context, &ip_type, 1)) != 0)
800 if ((ip_type != AU_IPv4) && (ip_type != AU_IPv6))
804 if ((returnstat = pr_adr_char(context, (char *)ip_addr, ip_type)) != 0)
808 if (ip_type == AU_IPv4) {
892 uint32_t ip_type;
908 if ((returnstat = pr_adr_u_int32(context, &ip_type, 1)) != 0)
912 if ((ip_type != AU_IPv4) && (ip_type != AU_IPv6))
916 if ((returnstat = pr_adr_char(context, (char *)&ip_addr, ip_type)) != 0)
920 if (ip_type == AU_IPv4) {