Searched refs:ip_address (Results 1 - 20 of 20) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/agents/snmp/snmplib/
H A Drequest.h45 extern SNMP_pdu *request_send_blocking(IPAddress *ip_address, SNMP_pdu *request, char *error_label);
46 extern SNMP_pdu *request_send_to_port_blocking(IPAddress *ip_address, int port,SNMP_pdu *request, char *error_label);
47 extern SNMP_pdu *request_send_to_port_time_out_blocking(IPAddress *ip_address, int port,struct timeval *timeout,SNMP_pdu *request, char *error_label);
H A Dtrap.c64 IPAddress ip_address; member in struct:_Trap_Destinator
102 int trap_send(IPAddress *ip_address, Oid *enterprise, int generic, int specific, SNMP_variable *variables, char *error_label) argument
226 address.sin_addr.s_addr = ip_address->s_addr;
243 int trap_send_raw(IPAddress *ip_address, IPAddress my_ip_addr, argument
382 address.sin_addr.s_addr = ip_address->s_addr;
403 int trap_send_with_more_para(IPAddress *ip_address, argument
415 return(trap_send_raw(ip_address,my_ip_addr,community,i_flag,enterprise,generic,
431 IPAddress ip_address; local
444 if(name_to_ip_address(name, &ip_address, error_label))
452 if(ip_address
[all...]
H A Dtrap.h46 extern int trap_send(IPAddress *ip_address, Oid *enterprise, int generic, int specific, SNMP_variable *variables, char *error_label);
47 extern int trap_send_with_more_para(IPAddress *ip_address,
63 extern int trap_send_raw(IPAddress *ip_address, IPAddress my_ip_addr,
H A Dimpl.h113 extern char *ip_address_string(IPAddress *ip_address);
133 extern int name_to_ip_address(char *name, IPAddress *ip_address,
H A Drequest.c114 SNMP_pdu *request_send_to_port_time_out_blocking(IPAddress *ip_address, int port,struct timeval *timeout,SNMP_pdu *request, char *error_label) argument
175 address.sin_addr.s_addr = ip_address->s_addr;
236 SNMP_pdu *request_send_to_port_blocking(IPAddress *ip_address, int port,SNMP_pdu *request, char *error_label) argument
243 (ip_address,port,&timeout,request,error_label));
247 /*static*/ SNMP_pdu *request_send_blocking(IPAddress *ip_address, SNMP_pdu *request, char *error_label) argument
249 return(request_send_to_port_blocking(ip_address,SNMP_PORT,request,error_label));
H A Dimpl.c257 char *ip_address_string(IPAddress *ip_address) argument
263 if(ip_address == NULL)
265 sprintf(buffer, "BUG: ip_address_string(): ip_address is NULL");
269 hp = gethostbyaddr((char *) &(ip_address->s_addr), 4, AF_INET);
276 sprintf(buffer, "%s", inet_ntoa(*ip_address));
690 int name_to_ip_address(char *name, IPAddress *ip_address, char *error_label) argument
701 if(ip_address == NULL)
703 sprintf(error_label, "BUG: name_to_ip_address(): ip_address is NULL");
710 if((int) (ip_address->s_addr = inet_addr(name)) == -1)
741 memcpy(&(ip_address
[all...]
H A Dsnmp_api.c187 IPAddress ip_address; local
229 if(name_to_ip_address(peername, &ip_address, error_label))
339 isp->address.sin_addr.s_addr = ip_address.s_addr;
H A Dpdu.c591 IPAddress ip_address; local
593 ip_address.s_addr = *(variable->val.integer);
594 trace("%s\n", ip_address_string(&ip_address));
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Socket/
H A DSocket.xs232 struct in_addr ip_address;
237 inet_aton(host, &ip_address);
240 Copy( phe->h_addr, &ip_address, phe->h_length, char );
246 sv_setpvn( ST(0), (char *)&ip_address, sizeof ip_address );
257 char * ip_address;
260 ip_address = SvPVbyte(ip_address_sv, addrlen);
263 (ip_address[0] & 0xFF) << 24 |
264 (ip_address[1] & 0xFF) << 16 |
265 (ip_address[
[all...]
/opensolaris-onvv-gate/usr/src/cmd/agents/snmp/trapsend/
H A Dtrapsend.c68 IPAddress ip_address; local
198 if ((ip_address.s_addr = inet_addr(hostname)) == -1 ) {
203 memcpy(&(ip_address.s_addr), hp->h_addr, hp->h_length);
210 if (trap_send_with_more_para(&ip_address,
225 /* if (trap_send(&ip_address,
/opensolaris-onvv-gate/usr/src/cmd/agents/snmp/agent/
H A Daccess.c88 IPAddress ip_address; local
107 if(name_to_ip_address(name, &ip_address, error_label))
121 if(ip_address.s_addr == m->ip_address.s_addr)
159 new->ip_address.s_addr = ip_address.s_addr;
161 new->ip_address.s_addr = WILD_CARD_ADDRESS;
198 if(address->sin_addr.s_addr == m->ip_address.s_addr)
355 "0":inet_ntoa(m->ip_address) );
849 inet_ntoa(m->ip_address));
[all...]
H A Daccess.h59 IPAddress ip_address; member in struct:_Manager
69 | :ip_address |
H A Dpersonal.y485 &static_host->ip_address,error_label)){
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dconditions.c74 const char *ip_address);
485 char *copy, *ip_address, *prefixlen_string, *lasts; local
492 if ((ip_address = strtok_r(copy, " \t/", &lasts)) == NULL) {
499 if (nwamd_str2sockaddr(AF_INET, ip_address, &wa.sockaddr) != NULL) {
502 } else if (nwamd_str2sockaddr(AF_INET6, ip_address, &wa.sockaddr)
508 "nwamd_str2sockaddr failed for %s: %s", ip_address,
/opensolaris-onvv-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_name_service.c149 gmt.ip_address = 0x01020304;
156 gmt.ip_address = si->sin_addr.s_addr;
162 gmt.ip_address = 0x01020304;
202 for (count = 0, gmt = g_gid_map_table; gmt->ip_address; gmt++) {
246 for (gmt = g_gid_map_table; gmt->ip_address; gmt++) {
247 if (gmt->ip_address == si->sin_addr.s_addr) {
/opensolaris-onvv-gate/usr/src/uts/common/inet/ilb/
H A Dilb_impl.h90 kstat_named_t ip_address; /* IP address of the server */ member in struct:ilb_server_kstat
H A Dilb.c251 { "ip_address", KSTAT_DATA_STRING, 0 }
268 kstat_named_setstr(&server->iser_kstat.ip_address,
/opensolaris-onvv-gate/usr/src/uts/common/sys/tsol/
H A Dtndb.h361 in_addr_t ip_address; member in struct:tsol_address
/opensolaris-onvv-gate/usr/src/lib/udapl/udapl_tavor/include/
H A Ddapl.h663 uint32_t ip_address; member in struct:_dapl_gid_map_table
/opensolaris-onvv-gate/usr/src/cmd/agents/snmp/snmprelayd/
H A Dconfig.y713 &static_host->ip_address,error_label)){

Completed in 218 milliseconds