Home
last modified time | relevance | path

Searched refs:isv4 (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/sbin/netstrategy/
H A Dnetstrategy.c171 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()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_error.c185 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 Dsctp_common.c288 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()
314 if (isv4) { in sctp_make_mp()
330 if (isv4) { in sctp_make_mp()
396 boolean_t isv4; in sctp_set_iplen() local
403 if (isv4) { in sctp_set_iplen()
1266 int isv4; in sctp_get_addrparams() local
1280 if (isv4) { in sctp_get_addrparams()
1516 int isv4; in sctp_secure_restart_check() local
[all …]
H A Dsctp_shutdown.c228 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 Dsctp_heartbeat.c48 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 Dsctp_cookie.c491 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()
1442 int isv4; in sctp_addrlist2sctp() local
1455 isv4 = (IPH_HDR_VERSION(mp->b_rptr) == IPV4_VERSION); in sctp_addrlist2sctp()
1456 if (isv4) { in sctp_addrlist2sctp()
H A Dsctp_hash.c361 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 Dsctp_asconf.c275 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()
928 boolean_t isv4; in sctp_wput_asconf() local
954 isv4 = (fp != NULL) ? fp->sf_isv4 : sctp->sctp_current->sf_isv4; in sctp_wput_asconf()
957 if (isv4) { in sctp_wput_asconf()
H A Dsctp_impl.h75 #define SCTP_IS_ADDR_UNSPEC(isv4, addr) \ argument
76 ((isv4) ? IN6_IS_ADDR_V4MAPPED_ANY(&(addr)) : \
H A Dsctp_output.c573 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()
/illumos-gate/usr/src/uts/common/ipp/flowacct/
H A Dflowacct_impl.h137 boolean_t isv4; member
157 boolean_t isv4; member
H A Dflowacct.c244 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()
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_dyndns.c670 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()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c1791 print_raw_address(void *input, boolean_t isv4) in print_raw_address() argument
1805 if (isv4) { in print_raw_address()
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()
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()
5152 if (isv4) { in addr_ptr()
5170 boolean_t isv4 = conf->ips_isv4; in dump_conf() local
[all …]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dipsecah.c2479 boolean_t isv4 = (ira->ira_flags & IRAF_IS_IPV4); in ah_log_bad_auth() local
2491 if (isv4) { in ah_log_bad_auth()
3482 boolean_t isv4; in ah_auth_in_done() local
3491 isv4 = (ira->ira_flags & IRAF_IS_IPV4); in ah_auth_in_done()
3515 if (isv4) { in ah_auth_in_done()
3544 if (isv4) { in ah_auth_in_done()
3575 if (isv4) { in ah_auth_in_done()
3719 boolean_t isv4; in ah_auth_out_done() local
3726 isv4 = (ixa->ixa_flags & IXAF_IS_IPV4); in ah_auth_out_done()
3743 if (isv4) { in ah_auth_out_done()
H A Dspd.c4282 ipsec_conn_cache_policy(conn_t *connp, boolean_t isv4) in ipsec_conn_cache_policy() argument
4323 global_policy_present = isv4 ? in ipsec_conn_cache_policy()
4344 sel.ips_isv4 = isv4; in ipsec_conn_cache_policy()
4345 if (isv4) { in ipsec_conn_cache_policy()
4416 boolean_t isv4 = (ixa->ixa_flags & IXAF_IS_IPV4) != 0; in ipsec_cache_outbound_policy() local
4442 global_policy_present = isv4 ? in ipsec_cache_outbound_policy()
4458 sel.ips_isv4 = isv4; in ipsec_cache_outbound_policy()
4459 if (isv4) { in ipsec_cache_outbound_policy()
H A Dipsecesp.c721 esp_strip_header(mblk_t *data_mp, boolean_t isv4, uint32_t ivlen, in esp_strip_header() argument
739 if (isv4) { in esp_strip_header()
767 if (isv4) { in esp_strip_header()
H A Dsadb.c6906 boolean_t isv4 = sel->ips_isv4; local
6910 if (isv4) {
6919 if (isv4) {
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c3283 boolean_t isv4; in do_inet_ntop() local
3287 if ((isv4 = IN6_IS_ADDR_V4MAPPED(inaddr6)) == B_TRUE) { in do_inet_ntop()
3291 return (inet_ntop(isv4 ? AF_INET : AF_INET6, in do_inet_ntop()
3292 isv4 ? (void *)&inaddr : inaddr6, cp, size)); in do_inet_ntop()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlinkprop.c2709 boolean_t isv4 = B_TRUE; in check_single_ip() local
2735 isv4 = B_FALSE; in check_single_ip()
2740 if (isv4) { in check_single_ip()