/osnet-11/usr/src/lib/librstp/common/ |
H A D | migrate.c | 42 STP_migrate_enter_state (STATE_MACH_T* this) argument 44 register PORT_T* port = this->owner.port; 46 switch (this->State) { 72 STP_migrate_check_conditions (STATE_MACH_T* this) argument 74 register PORT_T* port = this->owner.port; 76 if ((!port->portEnabled && !port->initPm) || BEGIN == this->State) 77 return STP_hop_2_state (this, INIT); 79 switch (this->State) { 82 return STP_hop_2_state (this, (port->owner->ForceVersion >= 2) ? 87 return STP_hop_2_state (this, SENDING_RST [all...] |
H A D | pcost.c | 39 computeAutoPCost (STATE_MACH_T *this) argument 42 register PORT_T* port = this->owner.port; 74 updPortPathCost (STATE_MACH_T *this) argument 79 STP_pcost_enter_state (STATE_MACH_T *this) argument 81 register PORT_T* port = this->owner.port; 83 switch (this->State) { 94 port->operPCost = computeAutoPCost (this); 101 updPortPathCost (this); 107 STP_pcost_check_conditions (STATE_MACH_T* this) argument 109 register PORT_T* port = this [all...] |
H A D | sttrans.c | 41 disableLearning (STATE_MACH_T *this) argument 43 register PORT_T *port = this->owner.port; 49 enableLearning (STATE_MACH_T *this) argument 51 register PORT_T *port = this->owner.port; 57 disableForwarding (STATE_MACH_T *this) argument 59 register PORT_T *port = this->owner.port; 65 enableForwarding (STATE_MACH_T *this) argument 67 register PORT_T *port = this->owner.port; 74 STP_sttrans_enter_state (STATE_MACH_T *this) argument 76 register PORT_T *port = this 112 STP_sttrans_check_conditions(STATE_MACH_T *this) argument [all...] |
H A D | roletrns.c | 54 setSyncBridge (STATE_MACH_T *this) argument 58 for (port = this->owner.port->owner->ports; port; port = port->next) { 64 setReRootBridge (STATE_MACH_T *this) argument 68 for (port = this->owner.port->owner->ports; port; port = port->next) { 74 compute_all_synced (PORT_T* this) argument 78 for (port = this->owner->ports; port; port = port->next) { 79 if (port->port_index == this->port_index) continue; 89 compute_re_rooted (PORT_T* this) argument 93 for (port = this->owner->ports; port; port = port->next) { 94 if (port->port_index == this 103 STP_roletrns_enter_state(STATE_MACH_T* this) argument 262 STP_roletrns_check_conditions(STATE_MACH_T* this) argument [all...] |
H A D | statmch.c | 39 STATE_MACH_T *this; local 41 STP_MALLOC(this, STATE_MACH_T, "state machine"); 43 this->State = BEGIN; 44 this->name = (char*) strdup (name); 45 this->changeState = False; 47 this->debug = False; 48 this->ignoreHop2State = BEGIN; 50 this->concreteEnterState = concreteEnterState; 51 this->concreteCheckCondition = concreteCheckCondition; 52 this 59 STP_state_mach_delete(STATE_MACH_T *this) argument 66 STP_check_condition(STATE_MACH_T* this) argument 79 STP_change_state(STATE_MACH_T* this) argument 94 STP_hop_2_state(STATE_MACH_T* this, unsigned int new_state) argument [all...] |
H A D | stpmgmt.c | 34 register STPM_T* this; local 45 this = stp_in_stpm_create (vlan_id, name, &err_code); 46 if (this) { 47 this->BrId.prio = init_cfg.bridge_priority; 48 this->BrTimes.MaxAge = init_cfg.max_age; 49 this->BrTimes.HelloTime = init_cfg.hello_time; 50 this->BrTimes.ForwardDelay = init_cfg.forward_delay; 51 this->ForceVersion = (PROTOCOL_VERSION_T) init_cfg.force_version; 61 register STPM_T* this; local 65 this 109 STPM_T* this; local [all...] |
H A D | topoch.c | 55 flush (STATE_MACH_T *this, char* reason) /* 17.19.9 */ argument 57 register PORT_T* port = this->owner.port; 61 if (this->debug) { 64 LT_FLASH_ONLY_THE_PORT == type ? "this port" : "other ports", 74 setTcPropBridge (STATE_MACH_T* this, char* reason) /* 17.19.14 */ argument 76 register PORT_T* port = this->owner.port; 86 if (this->debug) { 99 newTcWhile (STATE_MACH_T* this) /* 17.19.7 */ argument 101 register PORT_T* port = this->owner.port; 110 STP_topoch_enter_state (STATE_MACH_T* this) argument 182 STP_topoch_check_conditions(STATE_MACH_T* this) argument [all...] |
H A D | portinfo.c | 61 rcvBpdu (STATE_MACH_T* this) argument 64 register PORT_T* port = this->owner.port; 68 if (this->debug) { 91 if (this->debug) { 105 if (this->debug) { 119 if (this->debug) { 127 if (this->debug) { 148 recordProposed (STATE_MACH_T* this, char* reason) argument 150 register PORT_T* port = this->owner.port; 161 setTcFlags (STATE_MACH_T* this) argument 197 updtBPDUVersion(STATE_MACH_T* this) argument 217 updtRcvdInfoWhile(STATE_MACH_T* this) argument 337 STP_info_enter_state(STATE_MACH_T* this) argument 439 STP_info_check_conditions(STATE_MACH_T* this) argument [all...] |
H A D | port.c | 47 PORT_T* this; local 53 for (this = stpm->ports; this; this = this->next) { 54 if (this->port_index == port_index) { 59 STP_NEW_IN_LIST(this, PORT_T, stpm->ports, "port create"); 61 this->owner = stpm; 62 this->machines = NULL; 63 this 133 STP_port_init(PORT_T* this, STPM_T* stpm, Bool check_link) argument 164 STP_port_delete(PORT_T* this) argument 197 STP_port_rx_bpdu(PORT_T* this, BPDU_T* bpdu, size_t len) argument 205 STP_port_trace_state_machine(PORT_T* this, char* mach_name, int enadis) argument 234 STP_port_trace_flags(char* title, PORT_T* this) argument [all...] |
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | dns.c | 5 * Permission to use, copy, modify, and distribute this software for any 7 * copyright notice and this permission notice appear in all copies. 24 * dns.c --- this is the top-level accessor function for the dns 110 dns_res_get(struct irs_acc *this) { argument 111 struct dns_p *dns = (struct dns_p *)this->private; 119 dns_res_set(this, res, free); 130 dns_res_set(struct irs_acc *this, struct __res_state *res, argument 132 struct dns_p *dns = (struct dns_p *)this->private; 143 dns_close(struct irs_acc *this) { argument 146 dns = (struct dns_p *)this [all...] |
H A D | lcl.c | 5 * Permission to use, copy, modify, and distribute this software for any 7 * copyright notice and this permission notice appear in all copies. 97 lcl_res_get(struct irs_acc *this) { argument 98 struct lcl_p *lcl = (struct lcl_p *)this->private; 106 lcl_res_set(this, res, free); 117 lcl_res_set(struct irs_acc *this, struct __res_state *res, argument 119 struct lcl_p *lcl = (struct lcl_p *)this->private; 131 lcl_close(struct irs_acc *this) { argument 132 struct lcl_p *lcl = (struct lcl_p *)this->private; 139 memput(this, sizeo [all...] |
H A D | nis.c | 5 * Permission to use, copy, modify, and distribute this software for any 7 * copyright notice and this permission notice appear in all copies. 110 nis_res_get(struct irs_acc *this) { argument 111 struct nis_p *nis = (struct nis_p *)this->private; 119 nis_res_set(this, res, free); 130 nis_res_set(struct irs_acc *this, struct __res_state *res, argument 132 struct nis_p *nis = (struct nis_p *)this->private; 144 nis_close(struct irs_acc *this) { argument 145 struct nis_p *nis = (struct nis_p *)this->private; 151 memput(this, sizeo [all...] |
H A D | nul_ng.c | 5 * Permission to use, copy, modify, and distribute this software for any 7 * copyright notice and this permission notice appear in all copies. 64 irs_nul_ng(struct irs_acc *this) { argument 67 UNUSED(this); 86 ng_close(struct irs_ng *this) { argument 87 memput(this, sizeof *this); 92 ng_next(struct irs_ng *this, const char **host, const char **user, argument 95 UNUSED(this); 104 ng_test(struct irs_ng *this, cons argument 117 ng_rewind(struct irs_ng *this, const char *netgroup) argument 124 ng_minimize(struct irs_ng *this) argument [all...] |
H A D | gen_ng.c | 5 * Permission to use, copy, modify, and distribute this software for any 7 * copyright notice and this permission notice appear in all copies. 66 irs_gen_ng(struct irs_acc *this) { argument 67 struct gen_p *accpvt = (struct gen_p *)this->private; 96 ng_close(struct irs_ng *this) { argument 97 struct pvt *pvt = (struct pvt *)this->private; 99 ng_minimize(this); 103 memput(this, sizeof *this); 107 ng_next(struct irs_ng *this, cons argument 129 ng_test(struct irs_ng *this, const char *name, const char *user, const char *host, const char *domain) argument 148 ng_rewind(struct irs_ng *this, const char *group) argument 163 ng_minimize(struct irs_ng *this) argument [all...] |
H A D | util.c | 5 * Permission to use, copy, modify, and distribute this software for any 7 * copyright notice and this permission notice appear in all copies. 56 /* Mark this ipv6 addr as a mapped ipv4. */ 66 make_group_list(struct irs_gr *this, const char *name, argument 90 (*this->rewind)(this); 91 while ((grp = (*this->next)(this)) != NULL) {
|
H A D | dns_pr.c | 5 * Permission to use, copy, modify, and distribute this software for any 7 * copyright notice and this permission notice appear in all copies. 73 irs_dns_pr(struct irs_acc *this) { argument 74 struct dns_p *dns = (struct dns_p *)this->private; 109 pr_close(struct irs_pr *this) { argument 110 struct pvt *pvt = (struct pvt *)this->private; 118 memput(this, sizeof *this); 122 pr_byname(struct irs_pr *this, const char *name) { argument 123 struct pvt *pvt = (struct pvt *)this 137 pr_bynumber(struct irs_pr *this, int num) argument 154 pr_next(struct irs_pr *this) argument 161 pr_rewind(struct irs_pr *this) argument 167 pr_minimize(struct irs_pr *this) argument 173 pr_res_get(struct irs_pr *this) argument 181 pr_res_set(struct irs_pr *this, struct __res_state * res, void (*free_res)(void *)) argument 192 parse_hes_list(struct irs_pr *this, char **hes_list) argument [all...] |
H A D | gen_nw.c | 5 * Permission to use, copy, modify, and distribute this software for any 7 * copyright notice and this permission notice appear in all copies. 61 static struct __res_state * nw_res_get(struct irs_nw *this); 62 static void nw_res_set(struct irs_nw *this, 66 static int init(struct irs_nw *this); 71 irs_gen_nw(struct irs_acc *this) { argument 72 struct gen_p *accpvt = (struct gen_p *)this->private; 104 nw_close(struct irs_nw *this) { argument 105 struct pvt *pvt = (struct pvt *)this->private; 107 nw_minimize(this); 117 nw_next(struct irs_nw *this) argument 142 nw_byname(struct irs_nw *this, const char *name, int type) argument 165 nw_byaddr(struct irs_nw *this, void *net, int length, int type) argument 188 nw_rewind(struct irs_nw *this) argument 200 nw_minimize(struct irs_nw *this) argument 214 nw_res_get(struct irs_nw *this) argument 232 nw_res_set(struct irs_nw *this, struct __res_state *res, void (*free_res)(void *)) argument 253 init(struct irs_nw *this) argument [all...] |
H A D | gen_pr.c | 5 * Permission to use, copy, modify, and distribute this software for any 7 * copyright notice and this permission notice appear in all copies. 68 irs_gen_pr(struct irs_acc *this) { argument 69 struct gen_p *accpvt = (struct gen_p *)this->private; 101 pr_close(struct irs_pr *this) { argument 102 struct pvt *pvt = (struct pvt *)this->private; 105 memput(this, sizeof *this); 109 pr_next(struct irs_pr *this) { argument 110 struct pvt *pvt = (struct pvt *)this 131 pr_byname(struct irs_pr *this, const char *name) argument 148 pr_bynumber(struct irs_pr *this, int proto) argument 165 pr_rewind(struct irs_pr *this) argument 177 pr_minimize(struct irs_pr *this) argument 189 pr_res_get(struct irs_pr *this) argument 207 pr_res_set(struct irs_pr *this, struct __res_state *res, void (*free_res)(void *)) argument [all...] |
H A D | gen_sv.c | 5 * Permission to use, copy, modify, and distribute this software for any 7 * copyright notice and this permission notice appear in all copies. 69 irs_gen_sv(struct irs_acc *this) { argument 70 struct gen_p *accpvt = (struct gen_p *)this->private; 102 sv_close(struct irs_sv *this) { argument 103 struct pvt *pvt = (struct pvt *)this->private; 106 memput(this, sizeof *this); 110 sv_next(struct irs_sv *this) { argument 111 struct pvt *pvt = (struct pvt *)this 132 sv_byname(struct irs_sv *this, const char *name, const char *proto) argument 149 sv_byport(struct irs_sv *this, int port, const char *proto) argument 166 sv_rewind(struct irs_sv *this) argument 178 sv_minimize(struct irs_sv *this) argument 190 sv_res_get(struct irs_sv *this) argument 208 sv_res_set(struct irs_sv *this, struct __res_state *res, void (*free_res)(void *)) argument [all...] |
H A D | irp_ng.c | 5 * Permission to use, copy, modify, and distribute this software for any 7 * copyright notice and this permission notice appear in all copies. 71 irs_irp_ng(struct irs_acc *this) { argument 87 pvt->girpdata = this->private; 103 * void ng_close(struct irs_ng *this) 108 ng_close(struct irs_ng *this) { argument 109 struct pvt *pvt = (struct pvt *)this->private; 111 ng_minimize(this); 114 memput(this, sizeof *this); 127 ng_rewind(struct irs_ng *this, const char *group) argument 158 ng_next(struct irs_ng *this, const char **host, const char **user, const char **domain) argument 200 ng_test(struct irs_ng *this, const char *name, const char *host, const char *user, const char *domain) argument 241 ng_minimize(struct irs_ng *this) argument [all...] |
H A D | irp_nw.c | 5 * Permission to use, copy, modify, and distribute this software for any 7 * copyright notice and this permission notice appear in all copies. 83 * struct irs_nw * irs_irp_nw(struct irs_acc *this) 88 irs_irp_nw(struct irs_acc *this) { argument 104 pvt->girpdata = this->private; 119 * void nw_close(struct irs_nw *this) 124 nw_close(struct irs_nw *this) { argument 125 struct pvt *pvt = (struct pvt *)this->private; 127 nw_minimize(this); 132 memput(this, sizeo 142 nw_byaddr(struct irs_nw *this, void *net, int length, int type) argument 191 nw_byname(struct irs_nw *this, const char *name, int type) argument 240 nw_rewind(struct irs_nw *this) argument 269 nw_next(struct irs_nw *this) argument 311 nw_minimize(struct irs_nw *this) argument [all...] |
H A D | irp_pr.c | 5 * Permission to use, copy, modify, and distribute this software for any 7 * copyright notice and this permission notice appear in all copies. 73 * struct irs_pr * irs_irp_pr(struct irs_acc *this) 78 irs_irp_pr(struct irs_acc *this) { argument 94 pvt->girpdata = this->private; 109 * void pr_close(struct irs_pr *this) 114 pr_close(struct irs_pr *this) { argument 115 struct pvt *pvt = (struct pvt *)this->private; 117 pr_minimize(this); 122 memput(this, sizeo 131 pr_byname(struct irs_pr *this, const char *name) argument 180 pr_bynumber(struct irs_pr *this, int proto) argument 229 pr_rewind(struct irs_pr *this) argument 258 pr_next(struct irs_pr *this) argument 302 pr_minimize(struct irs_pr *this) argument [all...] |
H A D | irp_sv.c | 5 * Permission to use, copy, modify, and distribute this software for any 7 * copyright notice and this permission notice appear in all copies. 77 * struct irs_sv * irs_irp_sv(struct irs_acc *this) 82 irs_irp_sv(struct irs_acc *this) { argument 98 pvt->girpdata = this->private; 114 * void sv_close(struct irs_sv *this) 119 sv_close(struct irs_sv *this) { argument 120 struct pvt *pvt = (struct pvt *)this->private; 122 sv_minimize(this); 127 memput(this, sizeo 136 sv_next(struct irs_sv *this) argument 181 sv_byname(struct irs_sv *this, const char *name, const char *proto) argument 232 sv_byport(struct irs_sv *this, int port, const char *proto) argument 283 sv_rewind(struct irs_sv *this) argument 312 sv_minimize(struct irs_sv *this) argument [all...] |
H A D | lcl_sv.c | 9 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer in the 13 * 3. All advertising materials mentioning features or use of this software 18 * may be used to endorse or promote products derived from this software 38 * Permission to use, copy, modify, and distribute this software for any 40 * copyright notice and this permission notice appear in all copies. 122 irs_lcl_sv(struct irs_acc *this) { argument 126 UNUSED(this); 157 sv_close(struct irs_sv *this) { argument 158 struct pvt *pvt = (struct pvt *)this 171 sv_byname(struct irs_sv *this, const char *name, const char *proto) argument 216 sv_byport(struct irs_sv *this, int port, const char *proto) argument 257 sv_rewind(struct irs_sv *this) argument 288 sv_next(struct irs_sv *this) argument 317 sv_minimize(struct irs_sv *this) argument [all...] |
/osnet-11/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_waits.c | 5 * Permission to use, copy, modify, and distribute this software for any 7 * copyright notice and this permission notice appear in all copies. 108 evWait *this, *prev; local 112 this = id.opaque; 113 INSIST(this != NULL); 114 wl = evGetWaitList(ctx, this->tag, 0); 116 for (prev = NULL, this = wl->first; 117 this != NULL; 118 prev = this, this 188 evWait *this; local 221 evFreeWaitList(evContext_p *ctx, evWaitList *this) argument 236 evWaitList *this; local [all...] |