Home
last modified time | relevance | path

Searched refs:V4_PART_OF_V6 (Results 1 – 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dinterface.h52 #define V4_PART_OF_V6(v6) v6._S6_un._S6_u32[3] macro
108 #define lif_addr V4_PART_OF_V6(lif_v6addr)
109 #define lif_netmask V4_PART_OF_V6(lif_v6mask)
110 #define lif_peer V4_PART_OF_V6(lif_v6peer)
111 #define lif_broadcast V4_PART_OF_V6(lif_v6peer)
/illumos-gate/usr/src/uts/common/inet/
H A Dipclassifier.h328 #define conn_bound_addr_v4 V4_PART_OF_V6(conn_bound_addr_v6)
337 #define conn_laddr_v4 V4_PART_OF_V6(connua_v6addr.connua_laddr)
338 #define conn_faddr_v4 V4_PART_OF_V6(connua_v6addr.connua_faddr)
342 #define conn_saddr_v4 V4_PART_OF_V6(conn_saddr_v6)
416 #define conn_v4lastdst V4_PART_OF_V6(conn_v6lastdst)
427 #define conn_v4lastsrc V4_PART_OF_V6(conn_v6lastsrc)
546 (V4_PART_OF_V6((v6addr)) == (v4addr) && IN6_IS_ADDR_V4MAPPED(&(v6addr)))
575 IPCL_CONN_HASH(V4_PART_OF_V6((src)), (ports), (ipst))
H A Dip.h328 #define ipf_src V4_PART_OF_V6(ipf_v6src)
329 #define ipf_dst V4_PART_OF_V6(ipf_v6dst)
669 #define ilm_addr V4_PART_OF_V6(ilm_v6addr)
887 #define ifrt_addr V4_PART_OF_V6(ifrt_v6addr)
889 #define ifrt_mask V4_PART_OF_V6(ifrt_v6mask)
1057 #define ipif_lcl_addr V4_PART_OF_V6(ipif_v6lcl_addr)
1058 #define ipif_subnet V4_PART_OF_V6(ipif_v6subnet)
1059 #define ipif_net_mask V4_PART_OF_V6(ipif_v6net_mask)
1060 #define ipif_brd_addr V4_PART_OF_V6(ipif_v6brd_addr)
2127 #define ixa_nexthop_v4 V4_PART_OF_V6(ixa_nexthop_v6)
[all …]
H A Dip_ire.h117 #define ift_addr V4_PART_OF_V6(ift_addr_v6)
118 #define ift_mask V4_PART_OF_V6(ift_mask_v6)
119 #define ift_gateway V4_PART_OF_V6(ift_gateway_v6)
H A Dtcp.h560 #define cl_tcpi_laddr V4_PART_OF_V6(cl_tcpi_laddr_v6)
561 #define cl_tcpi_faddr V4_PART_OF_V6(cl_tcpi_faddr_v6)
H A Dip6.h148 #define V4_PART_OF_V6(v6) v6.s6_addr32[3] macro
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dclassifier.c266 V4_PART_OF_V6(packet->saddr), fid_table); in ipgpc_classify()
282 V4_PART_OF_V6(packet->daddr), fid_table); in ipgpc_classify()
614 V4_PART_OF_V6(packet->saddr) = (int32_t)ipha->ipha_src; in parse_packet()
615 V4_PART_OF_V6(packet->daddr) = (int32_t)ipha->ipha_dst; in parse_packet()
676 (void) inet_ntop(af, &V4_PART_OF_V6(pkt->saddr), saddrbuf, in print_packet()
678 (void) inet_ntop(af, &V4_PART_OF_V6(pkt->daddr), daddrbuf, in print_packet()
H A Dfilters.c819 if (!iscontinuousmask((V4_PART_OF_V6(filter->saddr_mask)), in ipgpc_parse_filter()
890 if (!iscontinuousmask((V4_PART_OF_V6(filter->daddr_mask)), in ipgpc_parse_filter()
1021 V4_PART_OF_V6(fid->filter.saddr), in v4_addfilter()
1022 V4_PART_OF_V6(fid->filter.saddr_mask)) == NORMAL_VALUE) { in v4_addfilter()
1028 V4_PART_OF_V6(fid->filter.daddr), in v4_addfilter()
1029 V4_PART_OF_V6(fid->filter.daddr_mask)) == NORMAL_VALUE) { in v4_addfilter()
1423 V4_PART_OF_V6(fid->filter.saddr), in v4_removefilter()
1424 V4_PART_OF_V6(fid->filter.saddr_mask)); in v4_removefilter()
1427 V4_PART_OF_V6(fid->filter.daddr), in v4_removefilter()
1428 V4_PART_OF_V6(fid->filter.daddr_mask)); in v4_removefilter()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.h74 #ifndef V4_PART_OF_V6
75 #define V4_PART_OF_V6(v6) v6._S6_un._S6_u32[3] macro
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_flow.c1869 return ((addr & V4_PART_OF_V6(fd->fd_local_netmask)) == in flow_ip_v4_match()
1870 V4_PART_OF_V6(fd->fd_local_addr)); in flow_ip_v4_match()
1872 return ((addr & V4_PART_OF_V6(fd->fd_remote_netmask)) == in flow_ip_v4_match()
1873 V4_PART_OF_V6(fd->fd_remote_addr)); in flow_ip_v4_match()
2058 ipaddr_t v4addr = V4_PART_OF_V6((*addr)); in flow_ip_accept_fe()
2059 ipaddr_t v4mask = V4_PART_OF_V6((*netmask)); in flow_ip_accept_fe()
2150 return (V4_PART_OF_V6((*a1)) == V4_PART_OF_V6((*a2)) && in flow_ip_match_fe()
2151 V4_PART_OF_V6((*m1)) == V4_PART_OF_V6((*m2))); in flow_ip_match_fe()
H A Dmac_protect.c1773 if (htonl(V4_PART_OF_V6(v4addr->ip_addr)) == in ipnospoof_check_v4()
2400 if (V4_PART_OF_V6(addr->ip_addr) == INADDR_ANY) in validate_ips()
2426 V4_PART_OF_V6(addr->ip_addr) == in validate_ips()
2427 V4_PART_OF_V6(addr1->ip_addr)) || in validate_ips()
H A Dmac_sched.c1784 src_val = V4_PART_OF_V6(ip6h->ip6_src); in mac_rx_srs_long_fanout()
1785 dst_val = V4_PART_OF_V6(ip6h->ip6_dst); in mac_rx_srs_long_fanout()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdladm_impl.h45 #define V4_PART_OF_V6(v6) ((v6)._S6_un._S6_u32[3]) macro
H A Dflowattr.c121 &(V4_PART_OF_V6((*((in6_addr_t *)(void *)netmask)))); in do_check_ip_addr()
/illumos-gate/usr/src/uts/common/ipp/flowacct/
H A Dflowacct.c247 V4_PART_OF_V6(header->saddr) = (int32_t)ipha->ipha_src; in flowacct_extract_header()
248 V4_PART_OF_V6(header->daddr) = (int32_t)ipha->ipha_dst; in flowacct_extract_header()
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c2843 mask = V4_PART_OF_V6((*addr)); in mask_to_prefixlen()
2922 V4_PART_OF_V6((ipif->ipif_v6lcl_addr))); in ipif_format()
2941 V4_PART_OF_V6((ipif->ipif_v6brd_addr))); in ipif_format()
3082 V4_PART_OF_V6((conn->conn_laddr_v6))); in conn_status_cb()
3084 V4_PART_OF_V6((conn->conn_faddr_v6))); in conn_status_cb()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6_if.c355 (IN6_IS_ADDR_V4COMPAT(addr) && CLASSD(V4_PART_OF_V6((*addr)))) || in ip_local_addr_ok_v6()
379 (IN6_IS_ADDR_V4COMPAT(addr) && CLASSD(V4_PART_OF_V6((*addr))))) in ip_remote_addr_ok_v6()
1389 in_addr_t v4addr_h = ntohl(V4_PART_OF_V6((*addr))); in ip_addr_scope_v6()
H A Dip_output.c2256 if (V4_PART_OF_V6(nce->nce_addr) == ipha->ipha_dst) { in ip_postfrag_multirt_v4()
2261 ipaddr_t v4addr = V4_PART_OF_V6(nce->nce_addr); in ip_postfrag_multirt_v4()
H A Digmp.c1996 grphdr->grphdra_group = V4_PART_OF_V6(rp->mrec_group); in igmpv3_sendrpt()
2000 src_array[j] = V4_PART_OF_V6(rp->mrec_srcs.sl_addr[j]); in igmpv3_sendrpt()
H A Dip_attr.c134 #define ixm_nceaddr_v4 V4_PART_OF_V6(ixm_nceaddr_v6)
H A Dtnet.c2063 addr = &V4_PART_OF_V6(ipif->ipif_v6lcl_addr); in tsol_check_interface_address()
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp.c236 (uint8_t *)&(V4_PART_OF_V6(*faddrp)), \
3674 if (V4_PART_OF_V6(sin6->sin6_addr) == INADDR_ANY) { in udp_wput()
3675 V4_PART_OF_V6(sin6->sin6_addr) = in udp_wput()
4896 (uint8_t *)(&V4_PART_OF_V6(connp->conn_laddr_v6)), in udp_do_close()
5622 (uint8_t *)(&V4_PART_OF_V6(connp->conn_laddr_v6)), in udp_do_unbind()
6154 if (V4_PART_OF_V6(sin6->sin6_addr) == INADDR_ANY) { in udp_send()
6155 V4_PART_OF_V6(sin6->sin6_addr) = in udp_send()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c258 #define V4_PART_OF_V6(v6) v6._S6_un._S6_u32[3] macro
305 #define ips_src_addr V4_PART_OF_V6(ips_src_addr_v6)
306 #define ips_dst_addr V4_PART_OF_V6(ips_dst_addr_v6)
1807 (void) memcpy(&V4_PART_OF_V6(in_addr), input, 4); in print_raw_address()
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h204 # ifndef V4_PART_OF_V6
205 # define V4_PART_OF_V6(v6) v6.s6_addr32[3] macro
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dnet.c152 uint32_t naddr = V4_PART_OF_V6((*nipv6addr)); in net_ipv4addrport_pr()

12