Home
last modified time | relevance | path

Searched refs:agent (Results 1 – 25 of 89) sorted by relevance

1234

/onnv-gate/usr/src/cmd/ldmad/
H A Dldmad.c105 ldma_connexion_lookup(ldma_agent_t *agent, ds_hdl_t hdl) in ldma_connexion_lookup() argument
110 ASSERT(MUTEX_HELD(&agent->conn_lock)); in ldma_connexion_lookup()
111 for (connp = agent->conn, i = 0; i < LDOMS_MAX_DOMAINS; i++, connp++) { in ldma_connexion_lookup()
122 ldma_connexion_add(ldma_agent_t *agent, ds_hdl_t hdl, ds_domain_hdl_t dhdl, in ldma_connexion_add() argument
129 (void) mutex_lock(&agent->conn_lock); in ldma_connexion_add()
130 for (connp = agent->conn, i = 0; i < LDOMS_MAX_DOMAINS; i++, connp++) { in ldma_connexion_add()
138 (void) mutex_unlock(&agent->conn_lock); in ldma_connexion_add()
139 LDMA_INFO("agent %s hdl %llx already exists", agent->info->name, in ldma_connexion_add()
145 (void) mutex_unlock(&agent->conn_lock); in ldma_connexion_add()
146 LDMA_INFO("agent %s too many connections", agent->info->name); in ldma_connexion_add()
[all …]
/onnv-gate/usr/src/cmd/agents/snmp/snmprelayd/
H A Dres.c98 ap->agent?(ap->agent->name?ap->agent->name:""):""); in trace_resources()
151 if(ap->agent) in resource_list_delete()
152 agent_destroy(ap->agent); in resource_list_delete()
190 SapResource *resource_find_by_agent(Agent* agent) in resource_find_by_agent() argument
194 if(agent == NULL) return NULL; in resource_find_by_agent()
196 if(ap->agent == agent) return ap; in resource_find_by_agent()
394 if(res->agent == NULL || res->agent->agentExecutable.len == 0) return -1; in spawn_child()
400 memcpy(cmd_full_path,res->agent->agentExecutable.chars, in spawn_child()
401 res->agent->agentExecutable.len); in spawn_child()
402 cmd_full_path[res->agent->agentExecutable.len] = '\0'; in spawn_child()
[all …]
H A Dsubtree.c161 int subtree_add(Agent *agent, Subid *subids, int len, TblTag *tbl_tag) in subtree_add() argument
169 if(agent == NULL) in subtree_add()
182 new->agent = agent; in subtree_add()
194 new->regTreeAgentID = agent->agentID; in subtree_add()
195 new->regTreeIndex = ++agent->agentTreeIndex; in subtree_add()
206 sp->agent->name); in subtree_add()
230 new->next_agent_subtree = agent->first_agent_subtree; in subtree_add()
231 agent->first_agent_subtree = new; in subtree_add()
276 first_subtree->agent->name); in subtree_match()
294 sp->agent->name); in subtree_match()
[all …]
H A Dagent.c199 void agent_update_subtree(Agent* agent) in agent_update_subtree() argument
202 if(agent == NULL) return ; in agent_update_subtree()
203 sp = agent->first_agent_subtree; in agent_update_subtree()
205 sp->regTreeStatus = agent->agentStatus; in agent_update_subtree()
209 void agent_detach_from_list(Agent* agent) in agent_detach_from_list() argument
213 if(agent == NULL) return; in agent_detach_from_list()
216 if(ap == agent) in agent_detach_from_list()
230 void agent_destroy(Agent* agent) in agent_destroy() argument
232 if(agent!=NULL){ in agent_destroy()
233 if(agent->agentID==sap_agent_id-1) in agent_destroy()
[all …]
H A Dsession.c120 static int community_check(Address * address, Agent* agent, int pdu_type, char * community);
141 static int request_add_visited_agent(Request *request, Agent *agent);
143 static int is_in_agent_list(Agent_List *agent_list, Agent *agent);
197 Agent *agent = NULL; in trace_request() local
203 agent = subtree->agent; in trace_request()
220 trace("\t\t\t%s\n", alp->agent->name); in trace_request()
223 if(agent) in trace_request()
226 agent->name, in trace_request()
227 address_string(&(agent->address))); in trace_request()
261 Agent *agent, *prev_agent=NULL; in three_phase_protocol_in_action() local
[all …]
H A Dsh_table.c46 tp->agent->name?tp->agent->name:"UNKNOWN", in trace_tables()
147 void delete_all_tables_for_agent(Agent *agent) in delete_all_tables_for_agent() argument
155 if(tp->agent == agent){ in delete_all_tables_for_agent()
291 if(subtree_add(tp->agent, dst_subids, dst_len,tbl_tag) == -1) in activate_table_col_obj()
294 tp->agent&&tp->agent->name?tp->agent->name:"UNKNOWN"); in activate_table_col_obj()
461 sp1->agent != NULL ) in delete_table_col_obj()
469 if(subtree_add(sp1->agent, dst_subids, dst_len,tbl_tag) == -1) in delete_table_col_obj()
473 sp1->agent&&sp1->agent->name?sp1->agent->name:"UNKNOWN"); in delete_table_col_obj()
505 int activate_table_for_agent(Agent* agent) in activate_table_for_agent() argument
511 if(sp->agent != NULL && sp->agent == agent){ in activate_table_for_agent()
[all …]
H A Dsh_table.h67 Agent *agent; member
76 extern void delete_all_tables_for_agent(Agent *agent);
80 extern int activate_table_for_agent(Agent* agent);
87 extern void delete_all_table_from_agent(Agent *agent);
H A Dres.h52 Agent* agent; member
62 extern SapResource *resource_find_by_agent(Agent* agent);
70 extern int ssa_subagent_is_alive(Agent *agent);
72 extern void delete_agent_from_resource_list(Agent *agent);
H A Dsubtree.h66 struct _Agent *agent; member
83 int subtree_add(Agent *agent, Subid *subids, int len, TblTag *tbl_tag);
104 void delete_all_subtree_from_agent(Agent* agent);
108 int sync_subtrees_with_agent(Agent *agent);
H A DMakefile66 agent.c\
84 agent.h\
92 ../agent/access.h\
93 ../agent/agent_msg.h\
112 MYLIBS= ../agent/$(MACH)/libssagent.so.$(EXT) ../snmplib/$(MACH)/libssasnmp.so.$(EXT)
113 MYLINKLIBS += -L../agent/$(MACH) -lssagent -L../snmplib -lssasnmp
123 CPPFLAGS += -I. -I../agent -I../snmplib -I../../include/netmgt -I${BIN}
H A Dagent.h88 extern void agent_update_subtree(Agent* agent);
90 extern void agent_detach_from_list(Agent* agent);
92 extern void agent_destroy(Agent* agent);
H A Dmib_handler.c226 int sync_agent_acl (Agent * agent) in sync_agent_acl() argument
229 if (agent == NULL) { in sync_agent_acl()
232 read_agent_files (agent); in sync_agent_acl()
512 if(entry->agent == NULL && entry->regTreeAgentID > 0){ in add_entry_Subtree()
514 if( (entry->agent = agent_find_by_id(entry->regTreeAgentID))==NULL) in add_entry_Subtree()
580 if(entry->agent && entry->agent->agentID != num){ /* detach */ in modify_entry_Subtree()
583 if(entry->agent == NULL){ /*attach a new one */ in modify_entry_Subtree()
584 if( (entry->agent=agent_find_by_id(num)) != NULL){ in modify_entry_Subtree()
585 entry->next_agent_subtree = entry->agent->first_agent_subtree; in modify_entry_Subtree()
586 entry->agent->first_agent_subtree = entry; in modify_entry_Subtree()
[all …]
H A Dconfig.y1395 static_table->agent = static_agent;
2389 if(pass == TABLE_TO_OID_GO &&subtree_add(tp->agent, static_subids, static_len,tbl_tag) == -1) in single_table_to_subtrees()
2393 tp->agent->name); in single_table_to_subtrees()
2580 Agent *agent; in read_acl() local
2585 if (sp->agent && sp->agent->first_manager) { in read_acl()
2586 agent_manager_list_free (sp->agent->first_manager); in read_acl()
2587 sp->agent->first_manager = NULL; in read_acl()
2607 if (sp->agent) in read_acl()
2608 sp->agent->first_manager = get_curr_manager_set(); in read_acl()
2619 Agent *agent; in read_agent_acl() local
[all …]
/onnv-gate/usr/src/uts/common/io/ib/clients/of/sol_umad/
H A Dsol_umad.c1107 umad_agent_t *agent; in umad_get_agent_by_id() local
1114 agent = entry->ptr; in umad_get_agent_by_id()
1116 if (agent_id == agent->agent_req.id) in umad_get_agent_by_id()
1117 return (agent); in umad_get_agent_by_id()
1127 umad_agent_t *agent; in umad_get_agent_by_class() local
1134 agent = entry->ptr; in umad_get_agent_by_class()
1135 if (agent_class == agent->agent_req.mgmt_class) in umad_get_agent_by_class()
1136 return (agent); in umad_get_agent_by_class()
1147 umad_register_agent(struct umad_agent_s *agent) in umad_register_agent() argument
1149 uint8_t mgmt_class_num = agent->agent_req.mgmt_class; in umad_register_agent()
[all …]
/onnv-gate/usr/src/cmd/agents/snmp/agent/
H A Dsubtree.c60 int subtree_add(Agent *agent, Subid *subids, int len) in subtree_add() argument
70 if(agent == NULL) in subtree_add()
83 new->agent = agent; in subtree_add()
102 sp->agent->name); in subtree_add()
126 new->next_agent_subtree = agent->first_agent_subtree; in subtree_add()
127 agent->first_agent_subtree = new; in subtree_add()
129 new->regTreeIndex = ++new->agent->tree_index; in subtree_add()
130 new->regTreeAgentID = new->agent->agent_id; in subtree_add()
250 if(sp->agent) in trace_subtrees()
254 sp->agent->name, in trace_subtrees()
[all …]
H A Dreg_subtree.c211 SNMP_variable *reg_subagent_form_variables(Agent *agent,SNMP_variable *list) in reg_subagent_form_variables() argument
216 if(agent == NULL){ return NULL; } in reg_subagent_form_variables()
219 reg_subagent_oid.subids[reg_subagent_oid.len-1] = agent->agent_id; in reg_subagent_form_variables()
222 list = sap_append_integer_variable(list,&reg_subagent_oid,agent->process_id); in reg_subagent_form_variables()
225 if(agent->agent_status!=0){ in reg_subagent_form_variables()
227 list = sap_append_integer_variable(list,&reg_subagent_oid,agent->agent_status); in reg_subagent_form_variables()
240 list = sap_append_integer_variable(list,&reg_subagent_oid,agent->timeout); in reg_subagent_form_variables()
244 list = sap_append_integer_variable(list,&reg_subagent_oid,agent->address.sin_port); in reg_subagent_form_variables()
247 if(agent->personal_file != NULL){ in reg_subagent_form_variables()
250 list = sap_append_string_variable(list,&reg_subagent_oid,agent->personal_file); in reg_subagent_form_variables()
[all …]
H A Dsubtree.h38 struct _Agent *agent; member
46 extern int subtree_add(Agent *agent, Subid *subids, int len);
/onnv-gate/usr/src/cmd/agents/snmp/mib/
H A Dmib_relay.txt29 -- ra.mib mib file for relay agent
42 -- agent system up time
51 -- 7-09-96 Jerry Yeung change oid for relay agent
62 relay-agent OBJECT IDENTIFIER ::= { sun products(2) 15 }
72 "The sub-agent table."
73 ::= { relay-agent 1 }
81 ::= { relay-agent 2 }
93 ::= { relay-agent 3 }
101 ::= { relay-agent 4 }
106 -- ********** Global Relay agent Info ******
[all …]
H A Dsnmpdx.mib51 -- ********** Global Master agent Information ******
60 that are invoked by the master agent.
98 "This is the port that master agent opens to receive SNMP trap
99 notifications from various subagents. The master agent
109 used by the sub agents to check with the master agent
110 to check for duplicate sub agent names."
138 using dynamic registration. If an agent sets this time-out
156 with the master agent. The list contains the names of all
159 agent and other's could have benn invoked by other means."
178 "An entry in the sub-agent table."
[all …]
H A Dmib_core.txt108 -- the agent removes an invalidated entry from the table.
118 -- this object is created, the agent may wish to create
121 -- create operation, the agent must set this object to
127 -- setting this object to invalid(4). If the agent
131 -- crashed. If the agent makes this decision,
133 -- entry. A prudent agent will understand that the
146 -- of a MIB object in this agent's implemented MIB. By
/onnv-gate/usr/src/cmd/agents/snmp/snmpdemod/
H A Dsnmpdemo.reg53 # manipulate strings instead of OIDs in defining the agent.
54 # See the "agent" section below.
62 # agent #
67 # - name: the name of your agent (for example, the executable
68 # file name of your agent)
70 # - subtrees: the list of OIDs / subtrees of OIDs your agent
75 # your agent
80 # wait for a reponse from your agent
H A DReadMe28 steps to create the sample agent using the agent toolkit.
32 where you want to create your sub agent.
35 your sub agent.
42 Step 8 : Type "make", the sample agent executable will be created
44 the sub agent need to provide.
52 agent */
57 /* file for oid(subtrees) registration with master agent.
/onnv-gate/usr/src/cmd/agents/snmp/snmprelayd/conf/
H A Dsnmprelayd.template53 # manipulate strings instead of OIDs in defining the agent.
54 # See the "agent" section below.
72 # agent #
77 # - name: the name of your agent (for example, the executable
78 # file name of your agent)
80 # - subtrees: the list of OIDs / subtrees of OIDs your agent
85 # your agent
90 # wait for a reponse from your agent
/onnv-gate/usr/src/pkg/manifests/
H A Dsystem-xvm-ipagent.mf33 set name=pkg.description value="xVM PV IP address agent"
34 set name=pkg.summary value="xVM PV IP address agent"
50 legacy pkg=SUNWxvmipar desc="xVM PV IP address agent" \
51 name="xVM PV IP address agent (Root)"
52 legacy pkg=SUNWxvmipau desc="xVM PV IP address agent" \
53 name="xVM PV IP address agent (Usr)"
/onnv-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A DREADME23 Architectural Overview for the DHCP agent
30 The Solaris DHCP agent (dhcpagent) is a DHCP client implementation
41 When a DHCP agent implementation is only required to control a single
43 state-machine, as shown in RFC2131. However, when a DHCP agent is
52 Indeed, much of the agent's code is there to manage the complexity of
58 The DHCP agent consists of roughly 30 source files, most with a
67 the agent; and "async.c", which along with "async.h" defines
69 the agent.
71 * Source files that implement a given state of the agent; for
74 REQUESTING state of the agent. By encapsulating states in
[all …]

1234