Home
last modified time | relevance | path

Searched refs:sint_ptr (Results 1 – 4 of 4) sorted by relevance

/third_party/lwip/src/apps/snmp/
Dsnmp_mib2_interfaces.c65 s32_t *sint_ptr = (s32_t *)value; in interfaces_get_value() local
73 *sint_ptr = num_netifs; in interfaces_get_value()
74 return sizeof(*sint_ptr); in interfaces_get_value()
278 s32_t *sint_ptr = (s32_t *)value; in interfaces_Table_set_test() local
285 if (*sint_ptr == 1 || *sint_ptr == 2) { in interfaces_Table_set_test()
296 s32_t *sint_ptr = (s32_t *)value; in interfaces_Table_set_value() local
303 if (*sint_ptr == 1) { in interfaces_Table_set_value()
305 } else if (*sint_ptr == 2) { in interfaces_Table_set_value()
Dsnmp_mib2_snmp.c163 s32_t *sint_ptr = (s32_t *)value; in snmp_set_test() local
166 if ((*sint_ptr == MIB2_AUTH_TRAPS_DISABLED) || (*sint_ptr == MIB2_AUTH_TRAPS_ENABLED)) { in snmp_set_test()
180 s32_t *sint_ptr = (s32_t *)value; in snmp_set_value() local
181 if (*sint_ptr == MIB2_AUTH_TRAPS_DISABLED) { in snmp_set_value()
Dsnmp_mib2_ip.c64 s32_t *sint_ptr = (s32_t *)value; in ip_get_value() local
71 *sint_ptr = 1; in ip_get_value()
74 *sint_ptr = 2; in ip_get_value()
76 return sizeof(*sint_ptr); in ip_get_value()
78 *sint_ptr = IP_DEFAULT_TTL; in ip_get_value()
79 return sizeof(*sint_ptr); in ip_get_value()
112 *sint_ptr = IP_REASS_MAXAGE; in ip_get_value()
114 *sint_ptr = 0; in ip_get_value()
116 return sizeof(*sint_ptr); in ip_get_value()
160 s32_t *sint_ptr = (s32_t *)value; in ip_set_test() local
[all …]
Dsnmp_mib2_tcp.c65 s32_t *sint_ptr = (s32_t *)value; in tcp_get_value() local
69 *sint_ptr = 4; in tcp_get_value()
70 return sizeof(*sint_ptr); in tcp_get_value()
74 *sint_ptr = 1000; in tcp_get_value()
75 return sizeof(*sint_ptr); in tcp_get_value()
79 *sint_ptr = 60000; in tcp_get_value()
80 return sizeof(*sint_ptr); in tcp_get_value()
82 *sint_ptr = MEMP_NUM_TCP_PCB; in tcp_get_value()
83 return sizeof(*sint_ptr); in tcp_get_value()