Searched refs:v4 (Results 1 - 25 of 38) sorted by relevance

12

/illumos-gate/usr/src/lib/libtnfctl/
H A Ddbg.h62 #define DBG_TNF_PROBE_4(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3, t4, n4, v4) \
63 TNF_PROBE_4(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3, t4, n4, v4)
76 #define DBG_TNF_PROBE_4(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3, t4, n4, v4) \
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dnet-loopback59 /sbin/ipadm create-addr -t -T static -a 127.0.0.1/8 lo0/v4
68 /sbin/ipadm set-addrprop -t -p zone=all-zones lo0/v4
/illumos-gate/usr/src/uts/common/netinet/
H A Din.h724 * void IN6_V4MAPPED_TO_INADDR(const in6_addr_t *v6, struct in_addr *v4);
725 * void IN6_V4MAPPED_TO_IPADDR(const in6_addr_t *v6, ipaddr_t v4);
728 #define IN6_V4MAPPED_TO_INADDR(v6, v4) \
729 ((v4)->s_addr = (v6)->_S6_un._S6_u32[3])
730 #define IN6_V4MAPPED_TO_IPADDR(v6, v4) \
731 ((v4) = (v6)->_S6_un._S6_u32[3])
742 * void IN6_INADDR_TO_V4MAPPED(const struct in_addr *v4, in6_addr_t *v6);
743 * void IN6_IPADDR_TO_V4MAPPED(const ipaddr_t v4, in6_addr_t *v6);
747 #define IN6_INADDR_TO_V4MAPPED(v4, v6) \
748 ((v6)->_S6_un._S6_u32[3] = (v4)
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dpacket.c219 PKT *v4; local
222 (v4 = realloc(dpkt->pkt, mtu)) != NULL) {
223 dpkt->pkt = v4;
228 dhcpmsg(MSG_ERR, "init_pkt: cannot allocate v4 pkt: %u",
233 v4 = dpkt->pkt;
236 (void) memset(v4, 0, dpkt->pkt_max_len);
237 (void) memcpy(v4->cookie, bootmagic, sizeof (bootmagic));
238 if (pif->pif_hwlen <= sizeof (v4->chaddr)) {
239 v4->hlen = pif->pif_hwlen;
240 (void) memcpy(v4
[all...]
H A Dstates.h178 struct sockaddr_in v4; member in union:dhcp_smach_s::__anon106
183 * For v4, dsm_send_tcenter is used to track the central timer value in
199 * here between the DISCOVER and the REQUEST. (v4 only)
204 * V4 and V6 use slightly different timers. For v4, we must count
209 * In v4, `dsm_neg_hrtime' represents the time since DHCP started
211 * field in v4. In v6, it represents the time since the current
/illumos-gate/usr/src/cmd/krb5/kdestroy/
H A Dkdestroy.c115 int v4 = 1; local
234 v4 = 0; /* Don't do v4 if doing v5 and cache name given. */
277 if (got_k4 && v4) {
/illumos-gate/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_001_pos.ksh105 log_must cp $STF_SUITE/tests/functional/history/zfs-pool-v4.dat.Z $import_dir
106 log_must uncompress $import_dir/zfs-pool-v4.dat.Z
H A DMakefile41 zfs-pool-v4.dat.Z
/illumos-gate/usr/src/common/net/dhcp/
H A Ddhcp_impl.h98 struct sockaddr_in v4; member in union:sockaddr46_s
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7c.c100 ipaddr_t v4; /* IPv4 address */ member in union:nl7c_addr_s::__anon69
148 (v4p->sin_addr.s_addr == p->addr.v4 ||
149 p->addr.v4 == INADDR_ANY)) {
179 (v4p->sin_addr.s_addr == p->addr.v4 ||
180 p->addr.v4 == INADDR_ANY)) {
194 new->addr.v4 = v4p->sin_addr.s_addr;
246 ip = ntohl(p->addr.v4);
311 if (inet_pton(AF_INET, s, &p->addr.v4) != 1) {
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgethostent.c277 int v4 = 0, v6 = 0; local
295 if ((v4 = inet_pton(AF_INET, name, &in4)) != 1)
300 if ((af == AF_INET6 && (flags & AI_V4MAPPED) == 0 && v4 == 1) ||
302 (have_v4 == 0 && v4 == 1) ||
311 if (v4 == 1 || v6 == 1) {
317 he.h_addr_list[0] = (v4 == 1) ? (char *)&in4 : (char *)&in6;
321 he.h_length = (v4 == 1) ? INADDRSZ : IN6ADDRSZ;
322 he.h_addrtype = (v4 == 1) ? AF_INET : AF_INET6;
/illumos-gate/usr/src/lib/libilb/common/
H A Dlibilb.h127 struct in_addr v4; /* network byte order */ member in union:__anon3295::__anon3296
130 #define ia_v4 _au.v4
/illumos-gate/usr/src/lib/libm/common/C/
H A D__lgamma.c103 v4 = 1.120872109616147941376570e9, variable
258 q = v0+y*(v1+y*(v2+y*(v3+y*(v4+y*(v5+y*(v6+y*(v7-y)))))));
/illumos-gate/usr/src/uts/common/inet/
H A Dip6.h136 #define V4MASK_TO_V6(v4, v6) ((v6).s6_addr32[0] = 0xffffffffUL, \
139 (v6).s6_addr32[3] = (v4))
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DPlatformCommon.c51 addr.a4.sin_addr.s_addr = dst->ip.v4.NotAnInteger;
78 if (dst->type == mDNSAddrType_IPv4) src->ip.v4.NotAnInteger = addr.a4.sin_addr.s_addr;
H A DuDNS.c491 if (mDNSv4AddrIsRFC1918(&m->Router.ip.v4))
557 if (mDNSv4AddrIsRFC1918(&m->Router.ip.v4))
615 mDNSAddrMapIPv4toIPv6(&m->AdvertisedV4.ip.v4, &req.clientAddr);
1038 //LogMsg("GetLLQEventPort: src %#a for dst %#a (%d)", &src, dst, mDNSv4AddrIsRFC1918(&src.ip.v4) ? mDNSVal16(m->LLQNAT.ExternalPort) : 0);
1039 return(mDNSv4AddrIsRFC1918(&src.ip.v4) ? mDNSVal16(m->LLQNAT.ExternalPort) : mDNSVal16(MulticastDNSPort));
1670 &m->AdvertisedV4, mDNSv4AddrIsRFC1918(&m->AdvertisedV4.ip.v4) ? " (RFC 1918)" : "",
1858 zd->Addr.ip.v4 = answer->rdata->u.ipv4;
1860 zd->Addr.ip.v4 = zerov4Addr;
1866 zd->Addr.ip.v4.b[0] = 127;
1867 zd->Addr.ip.v4
[all...]
H A DmDNSPosix.c108 ipAddr->ip.v4.NotAnInteger = sin->sin_addr.s_addr;
170 sin->sin_addr.s_addr = dst->ip.v4.NotAnInteger;
263 if (senderAddr.type == mDNSAddrType_IPv4) destAddr.ip.v4 = AllDNSLinkGroup_v4.ip.v4;
465 mDNSexport mStatus mDNSPlatformGetPrimaryInterface(mDNS * const m, mDNSAddr * v4, mDNSAddr * v6, mDNSAddr * router) argument
468 (void) v4;
521 DNSAddr.ip.v4.NotAnInteger = ina.s_addr;
716 imr.imr_multiaddr.s_addr = AllDNSLinkGroup_v4.ip.v4.NotAnInteger;
1021 // In the interim, we skip loopback interface only if we found at least one v4 interface to use
H A DmDNSEmbeddedAPI.h322 union { mDNSv6Addr v6; mDNSv4Addr v4; } ip; member in union:__anon31::__anon32
590 IPv4Header v4; member in union:__anon40
1377 mDNSBool req_A; // If set, send v4 query (DNSConfig allows A queries)
1544 mDNSv4Addr v4Requester; // Recent v4 query for this record, or all-ones if more than one recent query
1765 // This gives us v4/v6 on each of Ethernet, AirPort and Firewire, and two free slots "for future expansion"
1774 mDNSs32 Type; // v4 or v6?
2135 mDNSu8 IPv4Available; // If InterfaceActive, set if v4 available on this InterfaceID
2926 #define mDNSAddrIsRFC1918(X) ((X)->type == mDNSAddrType_IPv4 && mDNSv4AddrIsRFC1918(&(X)->ip.v4))
2953 ((X)->type == mDNSAddrType_IPv4 && mDNSSameIPv4Address((X)->ip.v4, AllDNSLinkGroup_v4.ip.v4)) || \
[all...]
H A DmDNS.c358 if (mDNSv4AddressIsLinkLocal(&addr->ip.v4)) return(mDNStrue);
361 if (((intf->ip.ip.v4.NotAnInteger ^ addr->ip.v4.NotAnInteger) & intf->mask.ip.v4.NotAnInteger) == 0)
399 intf->ip.type == mDNSAddrType_IPv4 && mDNSv4AddressIsLinkLocal(&intf->ip.ip.v4))
401 debugf("FirstIPv4LLInterfaceForID: found LL interface with address %.4a", &intf->ip.ip.v4);
1921 if ((dest->type == mDNSAddrType_IPv4 && mDNSSameIPv4Address(rr->v4Requester, dest->ip.v4)) ||
2082 if (GetLabelDecimalValue(SkipLeadingLabels(name, skip+3)->c, &a->ip.v4.b[0]) ||
2083 GetLabelDecimalValue(SkipLeadingLabels(name, skip+2)->c, &a->ip.v4.b[1]) ||
2084 GetLabelDecimalValue(SkipLeadingLabels(name, skip+1)->c, &a->ip.v4
2388 mDNSAddr v4 = { mDNSAddrType_IPv4, {{{0}}} }; local
3173 mDNSBool v4 = !intf->IPv4Available; // If this interface doesn't do v4, we don't need to find a v4 duplicate of this query local
9664 GetValueForIPv4Addr(mDNSu8 *ptr, mDNSu8 *limit, mDNSv4Addr *v4) argument
14642 mDNSAddr v4, v6, r; local
[all...]
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_ngz.c284 boolean_t v4 = B_FALSE; local
299 v4 = B_TRUE;
308 (*ngz_persist_if)(link, v4, v6);
/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c332 _nss_has_interfaces(boolean_t *v4, boolean_t *v6) argument
339 *v4 = *v6 = B_FALSE;
351 if (*v4 != B_FALSE)
357 *v4 = B_TRUE;
477 * - lookup A records iff we have v4 plumbed
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/
H A DMakefile65 zfs-pool-v4.dat.bz2 \
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_main.c275 ipmgmt_persist_if_cb(char *ifname, boolean_t v4, boolean_t v6) argument
286 pif->pif_v4 = v4;
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/
H A DTestBean.java397 ValueRecord v4 = new ScalarRecord("mouse", 256);
400 Tuple tuple = new Tuple(v1, v2, v3, v4, v5, v6);
/illumos-gate/usr/src/boot/sys/boot/efi/include/
H A Defipxebc.h47 EFI_IPv4_ADDRESS v4; member in union:__anon207

Completed in 173 milliseconds

12