Searched refs:agent_addr (Results 1 – 2 of 2) sorted by relevance
58 struct sockaddr_in agent_addr; member
207 memset(&smd->agent_addr, 0, sizeof (struct sockaddr_in)); in snmp_init()208 smd->agent_addr.sin_family = AF_INET; in snmp_init()209 smd->agent_addr.sin_port = htons(SNMP_DEFAULT_PORT); in snmp_init()210 smd->agent_addr.sin_addr.s_addr = inet_addr(snmp_agent_addr); in snmp_init()1055 (struct sockaddr *)&smd->agent_addr, in snmp_send_request()