/titanic_41/usr/src/cmd/cmd-inet/sbin/netstrategy/ |
H A D | netstrategy.c | 171 boolean_t isv4, found_one = B_FALSE; in get_first_interface() local 202 isv4 = ifr->lifr_addr.ss_family == AF_INET; in get_first_interface() 206 if (ioctl(isv4 ? s4 : s6, SIOCGLIFFLAGS, &flifr) < 0) { in get_first_interface() 243 if (isv4 && (sin->sin_addr.s_addr == INADDR_ANY)) { in get_first_interface()
|
/titanic_41/usr/src/uts/common/inet/sctp/ |
H A D | sctp_error.c | 185 int isv4; in sctp_send_abort() local 190 isv4 = (IPH_HDR_VERSION(inmp->b_rptr) == IPV4_VERSION); in sctp_send_abort() 191 if (isv4) { in sctp_send_abort() 214 if (isv4) { in sctp_send_abort() 274 if (isv4) { in sctp_send_abort() 334 int isv4; in sctp_ootb_send_abort() local 342 isv4 = (IPH_HDR_VERSION(inmp->b_rptr) == IPV4_VERSION); in sctp_ootb_send_abort() 365 if (isv4) { in sctp_ootb_send_abort() 426 if (isv4) { in sctp_ootb_send_abort()
|
H A D | sctp_common.c | 288 int isv4; in sctp_make_mp() local 293 isv4 = fp->sf_isv4; in sctp_make_mp() 295 if (SCTP_IS_ADDR_UNSPEC(isv4, fp->sf_saddr) || in sctp_make_mp() 312 ASSERT(!SCTP_IS_ADDR_UNSPEC(isv4, fp->sf_saddr)); in sctp_make_mp() 314 if (isv4) { in sctp_make_mp() 330 if (isv4) { in sctp_make_mp() 396 boolean_t isv4; in sctp_set_iplen() local 398 isv4 = (IPH_HDR_VERSION(mp->b_rptr) == IPV4_VERSION); in sctp_set_iplen() 403 if (isv4) { in sctp_set_iplen() 1264 int isv4; in sctp_get_addrparams() local [all …]
|
H A D | sctp_shutdown.c | 228 boolean_t isv4; in sctp_ootb_shutdown_ack() local 242 isv4 = (IPH_HDR_VERSION(mp->b_rptr) == IPV4_VERSION); in sctp_ootb_shutdown_ack() 245 (isv4 ? sizeof (ipha_t) : sizeof (ip6_t))); in sctp_ootb_shutdown_ack() 275 if (isv4) { in sctp_ootb_shutdown_ack()
|
H A D | sctp_heartbeat.c | 48 int isv4; in sctp_return_heartbeat() local 57 isv4 = (IPH_HDR_VERSION(mp->b_rptr) == IPV4_VERSION); in sctp_return_heartbeat() 58 if (isv4) { in sctp_return_heartbeat()
|
H A D | sctp_cookie.c | 491 boolean_t isv4; in sctp_send_initack() local 505 isv4 = (IPH_HDR_VERSION(initmp->b_rptr) == IPV4_VERSION); in sctp_send_initack() 508 if (isv4) { in sctp_send_initack() 615 if (isv4) in sctp_send_initack() 669 if (isv4) { in sctp_send_initack() 779 if (isv4) { in sctp_send_initack() 846 if (isv4) { in sctp_send_initack() 1440 int isv4; in sctp_addrlist2sctp() local 1453 isv4 = (IPH_HDR_VERSION(mp->b_rptr) == IPV4_VERSION); in sctp_addrlist2sctp() 1454 if (isv4) { in sctp_addrlist2sctp()
|
H A D | sctp_hash.c | 361 boolean_t isv4; in sctp_lookup_by_faddrs() local 405 isv4 = (iraflags & IRAF_IS_IPV4) ? B_TRUE : B_FALSE; in sctp_lookup_by_faddrs() 406 if (!isv4) in sctp_lookup_by_faddrs() 465 if (isv4) { in sctp_lookup_by_faddrs()
|
H A D | sctp_asconf.c | 275 boolean_t isv4; in sctp_asconf_send() local 280 isv4 = (fp != NULL) ? fp->sf_isv4 : sctp->sctp_current->sf_isv4; in sctp_asconf_send() 284 (isv4 ? PARM_ADDR4_LEN : PARM_ADDR6_LEN); in sctp_asconf_send() 922 boolean_t isv4; in sctp_wput_asconf() local 948 isv4 = (fp != NULL) ? fp->sf_isv4 : sctp->sctp_current->sf_isv4; in sctp_wput_asconf() 951 if (isv4) { in sctp_wput_asconf()
|
H A D | sctp_impl.h | 75 #define SCTP_IS_ADDR_UNSPEC(isv4, addr) \ argument 76 ((isv4) ? IN6_IS_ADDR_V4MAPPED_ANY(&(addr)) : \
|
H A D | sctp_output.c | 573 int isv4 = fp->sf_isv4; in sctp_add_proto_hdr() local 579 if (isv4) { in sctp_add_proto_hdr() 636 if (isv4) { in sctp_add_proto_hdr()
|
/titanic_41/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacct_impl.h | 139 boolean_t isv4; member 159 boolean_t isv4; member
|
H A D | flowacct.c | 244 header->isv4 = IPH_HDR_VERSION(ipha) == IPV4_VERSION; in flowacct_extract_header() 245 if (header->isv4) { in flowacct_extract_header() 469 flow->isv4 = header->isv4; in flowacct_update_flows_tbl() 700 tmp_frec->fl_use->fu_isv4 = flow->isv4; in flowacct_create_record()
|
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_dyndns.c | 670 int isv4 = 1; in dyndns_build_update() local 674 isv4 = 1; in dyndns_build_update() 676 isv4 = 0; in dyndns_build_update() 680 data_len = isv4 ? 4 : 16; in dyndns_build_update() 687 data_len = isv4 ? 4 : 16; in dyndns_build_update() 699 if (isv4) in dyndns_build_update() 712 if (isv4) { in dyndns_build_update()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipsecconf.c | 1791 print_raw_address(void *input, boolean_t isv4) in print_raw_address() argument 1805 if (isv4) { in print_raw_address() 3200 init_addr_wildcard(struct in6_addr *addr_v6, boolean_t isv4) in init_addr_wildcard() argument 3202 if (isv4) { in init_addr_wildcard() 3223 boolean_t isv4; in do_address_adds() local 3267 isv4 = cptr->ips_isv4 = in do_address_adds() 3271 init_addr_wildcard(&cptr->ips_src_mask_v6, isv4); in do_address_adds() 3283 isv4 = cptr->ips_isv4 = in do_address_adds() 3286 } else if ((dhp != &hent) && (isv4 != in do_address_adds() 3294 isv4); in do_address_adds() [all …]
|
/titanic_41/usr/src/uts/common/inet/ip/ |
H A D | ipsecah.c | 2634 boolean_t isv4 = (ira->ira_flags & IRAF_IS_IPV4); in ah_log_bad_auth() local 2646 if (isv4) { in ah_log_bad_auth() 3637 boolean_t isv4; in ah_auth_in_done() local 3646 isv4 = (ira->ira_flags & IRAF_IS_IPV4); in ah_auth_in_done() 3670 if (isv4) { in ah_auth_in_done() 3699 if (isv4) { in ah_auth_in_done() 3730 if (isv4) { in ah_auth_in_done() 3874 boolean_t isv4; in ah_auth_out_done() local 3881 isv4 = (ixa->ixa_flags & IXAF_IS_IPV4); in ah_auth_out_done() 3898 if (isv4) { in ah_auth_out_done()
|
H A D | spd.c | 4275 ipsec_conn_cache_policy(conn_t *connp, boolean_t isv4) in ipsec_conn_cache_policy() argument 4316 global_policy_present = isv4 ? in ipsec_conn_cache_policy() 4337 sel.ips_isv4 = isv4; in ipsec_conn_cache_policy() 4338 if (isv4) { in ipsec_conn_cache_policy() 4409 boolean_t isv4 = (ixa->ixa_flags & IXAF_IS_IPV4) != 0; in ipsec_cache_outbound_policy() local 4435 global_policy_present = isv4 ? in ipsec_cache_outbound_policy() 4451 sel.ips_isv4 = isv4; in ipsec_cache_outbound_policy() 4452 if (isv4) { in ipsec_cache_outbound_policy()
|
H A D | ipsecesp.c | 790 esp_strip_header(mblk_t *data_mp, boolean_t isv4, uint32_t ivlen, in esp_strip_header() argument 808 if (isv4) { in esp_strip_header() 836 if (isv4) { in esp_strip_header()
|
H A D | sadb.c | 6645 boolean_t isv4 = sel->ips_isv4; local 6649 if (isv4) { 6658 if (isv4) {
|
/titanic_41/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 3248 boolean_t isv4; in do_inet_ntop() local 3252 if ((isv4 = IN6_IS_ADDR_V4MAPPED(inaddr6)) == B_TRUE) { in do_inet_ntop() 3256 return (inet_ntop(isv4 ? AF_INET : AF_INET6, in do_inet_ntop() 3257 isv4 ? (void *)&inaddr : inaddr6, cp, size)); in do_inet_ntop()
|
/titanic_41/usr/src/lib/libdladm/common/ |
H A D | linkprop.c | 2539 boolean_t isv4 = B_TRUE; in check_single_ip() local 2565 isv4 = B_FALSE; in check_single_ip() 2570 if (isv4) { in check_single_ip()
|