Searched defs:gate (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/cmd/refer/
H A Drefer4.c23 static int gate = 0; variable
33 if (gate)
36 gate = 1;
89 if (gate)
91 gate = 0;
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmach_kdi.c50 kdi_idt_write(gate_desc_t *gate, uint_t vec) argument
63 idt[vec] = *gate;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dinput.c138 struct in6_addr *gate; local
384 gate = &nexthop;
386 gate = &from->sin6_addr;
434 gate, n->rip6_prefix_length,
465 if (IN6_ARE_ADDR_EQUAL(gate, &rt->rt_router)) {
468 rtchange(rt, gate, n->rip6_metric, ifp);
476 rtchange(rt, gate, n->rip6_metric, ifp);
H A Dtables.c234 rtadd(struct in6_addr *dst, struct in6_addr *gate, int prefix_length, argument
274 rt->rt_router = *gate;
325 rtchange(struct rt_entry *rt, struct in6_addr *gate, short metric, argument
340 if (!IN6_ARE_ADDR_EQUAL(&rt->rt_router, gate) || rt->rt_ifp != ifp)
368 rt->rt_router = *gate;
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dmach_kdi.c75 kdi_idt_write(gate_desc_t *gate, uint_t vec) argument
83 idt[vec] = *gate;
85 xen_idt_write(gate, vec);
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_ngz.c70 in_addr_t gate,
107 w.w_gate.sin_addr.s_addr = gate;
149 in6_addr_t gate,
181 w.w_gate.sin6_addr = gate;
67 i_ipadm_rtioctl4(int rtsock, int action, in_addr_t dst, in_addr_t gate, uint_t masklen, char *ifname, uint8_t metric, int flags) argument
146 i_ipadm_rtioctl6(int rtsock, int action, in6_addr_t dst, in6_addr_t gate, uint_t prefix_length, char *ifname, int flags) argument
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dinput.c167 in_addr_t gate, mask, v1_mask, dst, ddst_h = 0; local
189 gate = ntohl(FROM_NADDR);
190 if (IN_CLASSD(gate) || (gate >> IN_CLASSA_NSHIFT) == 0) {
594 if ((gate >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET ||
595 IN_LINKLOCAL(gate)) {
797 gate = FROM_NADDR;
806 gate = n->n_nhop;
938 new.rts_gate = gate;
H A Dparms.c223 uint32_t dst, netmask, gate; local
319 if (!gethost(gname, &gate)) {
388 addroutefordefault(dst, gate, netmask, metric,
393 ifp = check_dup(NULL, gate, dst, netmask, 0, _B_FALSE);
408 ifp->int_addr = gate;
412 ifp->int_std_mask = std_mask(gate);
1015 addroutefordefault(in_addr_t dst, in_addr_t gate, in_addr_t mask, argument
1023 ifp = iflookup(gate);
1026 naddr_ntoa(gate));
1034 new.rts_router = gate;
[all...]
H A Drdisc.c513 uint32_t gate; local
518 del_redirects(gate = drp->dr_gate, 0);
556 naddr_ntoa(gate), ifp->int_name, i);
560 naddr_ntoa(gate), ifp->int_name);
567 naddr_ntoa(gate), ifp->int_name);
876 in_addr_t gate,
886 if (gate == RIP_DEFAULT || !check_dst(gate)) {
888 naddr_ntoa(from), naddr_ntoa(gate));
895 if (ifwithaddr(gate, _B_TRU
875 parse_ad(uint32_t from, in_addr_t gate, uint32_t pref, ushort_t life, struct interface *ifp) argument
[all...]
H A Dtrace.c748 in_addr_t gate)
756 naddr_ntoa(gate));
746 rtname(in_addr_t dst, in_addr_t mask, in_addr_t gate) argument
H A Dtable.c316 in_addr_t gate,
345 nc_ag.ag_gate = gate;
441 ag->ag_gate = gate;
468 * differing gate nexthop/or ifp. Flush
537 ag->ag_gate = gate;
538 gate = xaddr;
650 nag->ag_gate = gate;
796 in_addr_t gate,
814 #define ARGS rtm_type_name(action), rtname(dst, mask, gate), metric, flags
835 w.w_gate.sin_addr.s_addr = gate;
314 ag_check(in_addr_t dst, in_addr_t mask, in_addr_t gate, struct interface *ifp, in_addr_t nhop, uint8_t metric, uint8_t pref, uint32_t seqno, uint16_t tag, uint16_t state, void (*out)(struct ag_info *)) argument
794 rtioctl(int action, in_addr_t dst, in_addr_t gate, in_addr_t mask, struct interface *ifp, uint8_t metric, int flags) argument
904 kern_find(in_addr_t dst, in_addr_t mask, in_addr_t gate, struct interface *ifp, struct khash ***ppk) argument
927 kern_alternate(in_addr_t dst, in_addr_t mask, in_addr_t gate, struct interface *ifp, struct khash ***ppk) argument
945 kern_add(in_addr_t dst, uint32_t mask, in_addr_t gate, struct interface *ifp) argument
1121 in_addr_t mask, gate = 0; local
1573 in_addr_t mask, gate; local
2177 del_static(in_addr_t dst, in_addr_t mask, in_addr_t gate, struct interface *ifp, int gone) argument
2471 in_addr_t gate = rt->rt_gate; /* for debugging */ local
[all...]
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/
H A Dunix.c618 gate_desc_dump(gate_desc_t *gate, const char *label, int header) argument
624 switch (gate->sgd_type) {
635 (void) mdb_snprintf(type, sizeof (type), "%3x", gate->sgd_type);
640 lastval = gate->sgd_ist;
643 lastval = gate->sgd_stkcpy;
654 if (gate->sgd_type == SDT_SYSTASKGT)
657 mdb_printf("%-30a ", GATESEG_GETOFFSET(gate));
659 mdb_printf("%4x %d %c %3s %2x\n", gate->sgd_selector,
660 gate->sgd_dpl, (gate
667 gate_desc_t gate; local
708 gate_desc_t gate; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dndp.c370 struct sockaddr **gate, struct sockaddr **mask, struct sockaddr **src,
402 *gate = sa;
502 struct sockaddr *dst = NULL, *gate = NULL, *mask = NULL, *src = NULL; local
510 if (ndp_extract_sockaddrs(&msg.m_rtm, &dst, &gate,
369 ndp_extract_sockaddrs(struct rt_msghdr *rtm, struct sockaddr **dst, struct sockaddr **gate, struct sockaddr **mask, struct sockaddr **src, struct sockaddr_dl **ifp) argument
H A Droute.c2643 struct sockaddr *dst = NULL, *gate = NULL, *mask = NULL, *src = NULL; local
2677 gate = sa;
2707 if (gate != NULL && rtm->rtm_flags & RTF_GATEWAY)
2708 (void) printf(" gateway: %s\n", routename(gate));
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dnet.c917 ipaddr_t gate; local
946 gate = ire->ire_gateway_addr;
955 ire->ire_mask, ADDR_V4_WIDTH, gate, intf,
961 ADDR_V4_WIDTH, ire->ire_addr, ADDR_V4_WIDTH, gate, flags,
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_ich8lan.c146 static void e1000_gate_hw_phy_config_ich8lan(struct e1000_hw *hw, bool gate);
3019 * @gate: boolean set to TRUE to gate, FALSE to ungate
3024 static void e1000_gate_hw_phy_config_ich8lan(struct e1000_hw *hw, bool gate) argument
3035 if (gate)

Completed in 161 milliseconds