Searched refs:gate (Results 1 - 6 of 6) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet/
H A Din_arp.c584 struct sockaddr *gate = rt->rt_gateway; local
616 gate = rt->rt_gateway;
617 SDL(gate)->sdl_type = rt->rt_ifp->if_type;
618 SDL(gate)->sdl_index = rt->rt_ifp->if_index;
633 SDL(gate), rt_key(rt), NULL, rt_key(rt), 0);
638 if (gate->sa_family != AF_LINK ||
639 gate->sa_len < sizeof(null_sdl)) {
644 SDL(gate)->sdl_type = rt->rt_ifp->if_type;
645 SDL(gate)->sdl_index = rt->rt_ifp->if_index;
678 dlil_resolve_multi(rt->rt_ifp, rt_key(rt), gate,
[all...]
/darwin-on-arm/xnu/pexpert/arm/
H A Dpe_s5l8930x.c88 static void s5l8930x_clock_gate_switch(int gate, int state) argument
94 if (gate > 0x3f)
97 __register = CLK_REG_OFF + (gate << 2);
211 * Enable clock gate.
/darwin-on-arm/xnu/osfmk/i386/
H A Dmp_desc.c307 * Fake gate format:
313 * Real gate format:
326 if ((desc[7] & 0x14) == 0x04) { /* gate */
369 struct real_gate64 gate; member in union:__anon971
389 real.gate.offset_low16 = (uint16_t)(fakep->offset64 & 0xFFFF);
390 real.gate.selector16 = fakep->lim_or_seg & 0xFFFF;
391 real.gate.IST = fakep->size_or_IST & 0x7;
392 real.gate.access8 = fakep->access;
393 real.gate.offset_high16 = (uint16_t)((fakep->offset64>>16) & 0xFFFF);
394 real.gate
[all...]
/darwin-on-arm/xnu/bsd/netinet6/
H A Dnd6_rtr.c760 struct sockaddr_in6 def, mask, gate; local
784 Bzero(&gate, sizeof(gate));
786 def.sin6_len = mask.sin6_len = gate.sin6_len
788 def.sin6_family = mask.sin6_family = gate.sin6_family = AF_INET6;
789 gate.sin6_addr = new->rtaddr;
794 (struct sockaddr *)&gate, (struct sockaddr *)&mask,
809 ip6_sprintf(&gate.sin6_addr), if_name(new->ifp),
846 struct sockaddr_in6 def, mask, gate; local
866 Bzero(&gate, sizeo
4148 struct in6_addr *gate = (struct in6_addr *)arg; local
[all...]
H A Dnd6.c1779 struct sockaddr *gate = rt->rt_gateway; local
1865 gate = rt->rt_gateway;
1866 SDL(gate)->sdl_type = ifp->if_type;
1867 SDL(gate)->sdl_index = ifp->if_index;
1905 if (gate->sa_family != AF_LINK ||
1906 gate->sa_len < sizeof(null_sdl)) {
1915 SDL(gate)->sdl_type = ifp->if_type;
1916 SDL(gate)->sdl_index = ifp->if_index;
1941 * gate should have some valid AF_LINK entry,
2006 Bcopy(macp, LLADDR(SDL(gate)), if
[all...]
/darwin-on-arm/xnu/bsd/net/
H A Droute.c2228 rt_setgate(struct rtentry *rt, struct sockaddr *dst, struct sockaddr *gate) argument
2230 int dlen = SA_SIZE(dst->sa_len), glen = SA_SIZE(gate->sa_len);
2248 if ((dst->sa_len == gate->sa_len) &&
2253 (void) sa_copy(gate, &gate_ss, NULL);
2257 loop = (dst->sa_len == gate->sa_len &&
2258 equal(dst, gate));
2319 * check for cloning loop avoidance (dst == gate).
2321 gwrt = rtalloc1_scoped_locked(gate, 1, RTF_PRCLONING, ifscope);
2441 Bcopy(gate, rt->rt_gateway, gate
[all...]

Completed in 46 milliseconds