| /illumos-gate/usr/src/lib/libinetutil/common/ |
| H A D | ifaddrlistx.c | 51 boolean_t isv6; local 116 isv6 = addr.ss_family == AF_INET6; 117 if (ioctl(isv6 ? s6 : s4, SIOCGLIFFLAGS, lifrp) == -1) {
|
| /illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpinfo/ |
| H A D | dhcpinfo.c | 67 boolean_t isv6; local 110 isv6 = (version == 6); 116 (isv6 ? ITAB_CAT_V6 : 0), ITAB_CONS_INFO, 139 start = isv6 ? DHCP_INFO_VENDOR_START_V6 : 146 if (isv6) 166 request = dhcp_ipc_alloc_request(DHCP_GET_TAG | (isv6 ? DHCP_V6 : 0), 201 if (isv6) {
|
| /illumos-gate/usr/src/uts/common/inet/ip/ |
| H A D | ip_helper_stream.c | 104 cred_t *credp, boolean_t isv6) 103 ip_helper_stream_setup(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp, boolean_t isv6) argument
|
| H A D | ip2mac.c | 80 boolean_t isv6 = (ncec->ncec_ipversion == IPV6_VERSION); local 91 if (isv6) { 182 boolean_t isv6; local 193 isv6 = (ip2m->ip2mac_pa.ss_family == AF_INET6); 210 ill = ill_lookup_on_ifindex(ip2m->ip2mac_ifindex, isv6, ipst); 216 if (isv6) {
|
| H A D | ip_tunables.c | 54 boolean_t per_ill, isv6; local 77 isv6 = (pinfo->mpi_proto == MOD_PROTO_IPV6 ? B_TRUE : B_FALSE); 79 if (isv6) 108 boolean_t isv6; local 128 isv6 = (pinfo->mpi_proto == MOD_PROTO_IPV6 ? B_TRUE : B_FALSE); 130 if (isv6) 276 boolean_t isv6; local 286 isv6 = (pinfo->mpi_proto == MOD_PROTO_IPV6 ? B_TRUE : B_FALSE); 288 if (isv6) 309 min_mtu = isv6 325 ip_set_src_multihoming_common(ulong_t new_value, ulong_t old_value, boolean_t isv6, ip_stack_t *ipst) argument 361 boolean_t isv6; local 386 boolean_t isv6; local 454 boolean_t isv6 = (pinfo->mpi_proto == MOD_PROTO_IPV6); local [all...] |
| H A D | ip_dce.c | 761 dce_increment_all_generations(boolean_t isv6, ip_stack_t *ipst) argument 768 if (isv6)
|
| H A D | ip_sadb.c | 665 boolean_t isv6; local 678 isv6 = !(ira->ira_flags & IRAF_IS_IPV4); 679 if (isv6) { 707 if (isv6) 715 if (isv6) { 797 boolean_t isv6; local 805 isv6 = !(ira->ira_flags & IRAF_IS_IPV4); 806 if (isv6) { 842 if (isv6) {
|
| H A D | conn_opt.c | 1549 boolean_t isv6; local 1599 isv6 = !(IN6_IS_ADDR_V4MAPPED(&pkti->ipi6_addr)); 1600 if (!ip_xmit_ifindex_valid(pkti->ipi6_ifindex, zoneid, isv6,
|
| H A D | ip_ftable.c | 79 #define IP_SRC_MULTIHOMING(isv6, ipst) \ 80 (isv6 ? ipst->ips_ipv6_strict_src_multihoming : \ 993 boolean_t isv6 = !IN6_IS_ADDR_V4MAPPED(v6src); local 996 if (isv6) { 1076 boolean_t isv6 = !(ixa->ixa_flags & IXAF_IS_IPV4); local 1077 int src_multihoming = IP_SRC_MULTIHOMING(isv6, ipst); 1099 if (isv6 ? IN6_IS_ADDR_MULTICAST(v6dst) : CLASSD(v4dst)) { 1103 isv6, ipst); 1108 isv6, ipst); 1116 isv6, ips [all...] |
| H A D | ip_netinfo.c | 649 char *buffer, const size_t buflen, boolean_t isv6, ip_stack_t *ipst) 655 ill = ill_lookup_on_ifindex((uint_t)phy_ifdata, isv6, ipst); 695 ip_getmtu_impl(phy_if_t phy_ifdata, lif_if_t ifdata, boolean_t isv6, argument 705 isv6, ipst); 715 if ((ill = ill_lookup_on_ifindex((uint_t)phy_ifdata, isv6, 797 ip_phylookup_impl(const char *name, boolean_t isv6, ip_stack_t *ipst) argument 802 ill = ill_lookup_on_name((char *)name, B_FALSE, isv6, NULL, ipst); 846 ip_lifgetnext_impl(phy_if_t phy_ifdata, lif_if_t ifdata, boolean_t isv6, argument 854 ill = ill_lookup_on_ifindex(phy_ifdata, isv6, ipst); 935 ip_inject_impl(inject_t style, net_inject_t *packet, boolean_t isv6, argument 648 ip_getifname_impl(phy_if_t phy_ifdata, char *buffer, const size_t buflen, boolean_t isv6, ip_stack_t *ipst) argument [all...] |
| H A D | ip_ire.c | 2661 ire_increment_multicast_generation(ip_stack_t *ipst, boolean_t isv6) argument 2667 if (isv6) 2684 ire_reject(ip_stack_t *ipst, boolean_t isv6) argument 2688 if (isv6) 2702 ire_blackhole(ip_stack_t *ipst, boolean_t isv6) argument 2706 if (isv6) 3587 boolean_t isv6 = (ire->ire_ipversion == IPV6_VERSION); local 3592 if (isv6) { 3610 if (isv6) {
|
| /illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
| H A D | defaults.c | 160 df_get_string(const char *if_name, boolean_t isv6, uint_t param) argument 193 if (isv6) { 226 df_get_int(const char *if_name, boolean_t isv6, uint_t param) argument 234 value = df_get_string(if_name, isv6, param); 263 df_get_bool(const char *if_name, boolean_t isv6, uint_t param) argument 270 value = df_get_string(if_name, isv6, param);
|
| H A D | request.c | 154 boolean_t isv6 = dsmp->dsm_isv6; local 164 isv6 ? 6 : 4, dsmp->dsm_name); 219 if (!isv6) 230 if (!isv6 && offer->opts[CD_DHCP_TYPE] == NULL) { 248 if (isv6) { 555 points = current->isv6 ? 983 boolean_t isv6 = (fd == v6_sock_fd); local 989 plp = recv_pkt(fd, get_max_mtu(isv6), isv6); 994 pname = pkt_type_to_string(recv_type, isv6); [all...] |
| H A D | util.c | 79 pkt_type_to_string(uchar_t type, boolean_t isv6) argument 97 if (isv6) {
|
| H A D | agent.c | 448 boolean_t isv6; local 505 isv6 = (ia.ia_request->message_type & DHCP_V6) != 0; 508 dsmp = primary_smach(isv6); 510 dsmp = lookup_smach(ifname, isv6); 528 dsmp = info_primary_smach(isv6); 540 lif = attach_lif(ifname, isv6, &error); 752 (void) script_start(dsmp, isv6 ? EVENT_DROP6 : EVENT_DROP, 792 if (isv6) { 802 if (isv6) { 849 if (isv6) { 1073 check_rtm_addr(const struct ifa_msghdr *ifam, int msglen, boolean_t isv6, const in6_addr_t *addr) argument 1185 boolean_t isv6, dad_wait, unplumb; local 1312 boolean_t isv6; local 1371 boolean_t isv6; local [all...] |
| H A D | interface.c | 74 insert_pif(const char *pname, boolean_t isv6, int *error) argument 80 int fd = isv6 ? v6_sock_fd : v4_sock_fd; 89 pif->pif_isv6 = isv6; 198 if (!isv6 && pif->pif_hwtype == 0) { 245 insque(pif, isv6 ? &v6root : &v4root); 315 lookup_pif_by_uindex(uint16_t ifindex, dhcp_pif_t *pif, boolean_t isv6) argument 318 pif = isv6 ? v6root : v4root; 339 lookup_pif_by_name(const char *pname, boolean_t isv6) argument 343 pif = isv6 ? v6root : v4root; 668 boolean_t isv6; local 730 boolean_t isv6; local 841 boolean_t isv6; local 1105 attach_lif(const char *lname, boolean_t isv6, int *error) argument 1610 get_max_mtu(boolean_t isv6) argument [all...] |
| H A D | packet.c | 120 if (plp->isv6) 136 pkt_get_xid(const PKT *pkt, boolean_t isv6) argument 140 if (isv6) 162 boolean_t isv6; local 164 dpkt->pkt_isv6 = isv6 = pif->pif_isv6; 177 if (isv6) 182 if (isv6) { 1212 alloc_pkt_entry(size_t psize, boolean_t isv6) argument 1222 plp->isv6 = isv6; 1318 recv_pkt(int fd, int mtu, boolean_t isv6) argument [all...] |
| H A D | states.c | 175 boolean_t isv6; local 191 isv6 = lif->lif_pif->pif_isv6; 210 lif->lif_iaid, isv6 ? 6 : 4, lif->lif_name); 215 if (isv6) { 252 plist = df_get_string(dsmp->dsm_name, isv6, DF_PARAM_REQUEST_LIST); 255 plist = df_get_string(dsmp->dsm_name, isv6, DF_PARAM_IGNORE_LIST); 259 dsmp->dsm_offer_wait = df_get_int(dsmp->dsm_name, isv6, 266 if (primary_smach(isv6) == NULL && 267 (alt_primary = primary_smach(!isv6)) != NULL) { 272 dsmp->dsm_name, isv6 383 next_smach(dhcp_smach_t *dsmp, boolean_t isv6) argument 422 primary_smach(boolean_t isv6) argument 444 info_primary_smach(boolean_t isv6) argument 533 lookup_smach(const char *smname, boolean_t isv6) argument 556 lookup_smach_by_uindex(uint16_t ifindex, dhcp_smach_t *dsmp, boolean_t isv6) argument 605 lookup_smach_by_xid(uint32_t xid, dhcp_smach_t *dsmp, boolean_t isv6) argument 629 boolean_t isv6 = B_FALSE; local 1274 boolean_t isv6 = B_FALSE; local 1299 boolean_t isv6 = B_FALSE; local [all...] |
| /illumos-gate/usr/src/lib/libdhcpagent/common/ |
| H A D | dhcp_hostconf.c | 58 ifname_to_hostconf(const char *ifname, boolean_t isv6) argument 64 isv6 ? DHCP_HOSTCONF_SUFFIX6 : DHCP_HOSTCONF_SUFFIX); 79 remove_hostconf(const char *ifname, boolean_t isv6) argument 81 return (unlink(ifname_to_hostconf(ifname, isv6))); 98 boolean_t isv6) 109 fd = open(ifname_to_hostconf(ifname, isv6), O_RDONLY); 116 if (magic != (isv6 ? DHCP_HOSTCONF_MAGIC6 : DHCP_HOSTCONF_MAGIC)) 159 if (!isv6 && dhcp_options_scan(plp, B_TRUE) != 0) 170 if (isv6) { 328 boolean_t isv6) 97 read_hostconf(const char *ifname, PKT_LIST **plpp, uint_t plplen, boolean_t isv6) argument 323 write_hostconf( const char *ifname, PKT_LIST *pl[], uint_t pllen, time_t relative_to, boolean_t isv6) argument [all...] |
| /illumos-gate/usr/src/common/net/dhcp/ |
| H A D | dhcp_impl.h | 120 uint8_t isv6; /* DHCPv6 packet - boolean */ member in struct:dhcp_list
|
| /illumos-gate/usr/src/lib/libipadm/common/ |
| H A D | ipadm_ngz.c | 316 boolean_t isv6; local 328 isv6 = !IN6_IS_ADDR_V4MAPPED(&defrouter); 329 if (isv6) {
|
| /illumos-gate/usr/src/uts/common/inet/tcp/ |
| H A D | tcp_socket.c | 758 boolean_t isv6 = family == AF_INET6; local 766 connp = tcp_create_common(credp, isv6, B_TRUE, errorp);
|
| /illumos-gate/usr/src/uts/common/inet/sctp/ |
| H A D | sctp_addr.c | 73 #define SCTP_IPIF_ADDR_HASH(addr, isv6) \ 74 ((isv6) ? SCTP_ADDR6_HASH((addr)) : \ 239 boolean_t isv6; local 249 isv6 = sctp_ipif->sctp_ipif_isv6; 253 SCTP_IS_ADDR_UNSPEC(!isv6, 255 (connp->conn_family == AF_INET && isv6) || 256 (connp->conn_ipv6_v6only && !isv6)) { 1492 sctp_get_valid_addr(sctp_t *sctp, boolean_t isv6, boolean_t *addr_set) argument 1512 ipif->sctp_ipif_isv6 == isv6 && 1530 if (isv6 [all...] |
| /illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
| H A D | smb_nic.c | 484 boolean_t isv6; local 497 isv6 = (lifrr.lifr_addr.ss_family == AF_INET6); 498 if (isv6) { 512 if (!isv6) {
|
| /illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
| H A D | ipmgmt_persist.c | 619 boolean_t isv6 = (cbarg->cb_family == AF_INET6); local 640 if (isv6 && (nvlist_exists(db_nvl, IPADM_NVP_IPV6ADDR) || 644 if (!isv6 && 683 if (isv6) 687 if (!isv6)
|