Home
last modified time | relevance | path

Searched refs:value (Results 1 – 18 of 18) sorted by relevance

/lib/liblwip/src/include/lwip/
Dsnmp_structs.h112 void (*get_value)(struct obj_def *od, u16_t len, void *value);
114 u8_t (*set_test)(struct obj_def *od, u16_t len, void *value);
116 void (*set_value)(struct obj_def *od, u16_t len, void *value);
132 void (*get_value)(struct obj_def *od, u16_t len, void *value);
133 u8_t (*set_test)(struct obj_def *od, u16_t len, void *value);
134 void (*set_value)(struct obj_def *od, u16_t len, void *value);
150 void (*get_value)(struct obj_def *od, u16_t len, void *value);
151 u8_t (*set_test)(struct obj_def *od, u16_t len, void *value);
152 void (*set_value)(struct obj_def *od, u16_t len, void *value);
176 void (*get_value)(struct obj_def *od, u16_t len, void *value);
[all …]
Dsnmp.h105 void snmp_add_sysuptime(u32_t value);
106 void snmp_get_sysuptime(u32_t *value);
112 void snmp_add_ifinoctets(struct netif *ni, u32_t value);
116 void snmp_add_ifoutoctets(struct netif *ni, u32_t value);
209 void snmp_add_snmpintotalreqvars(u8_t value);
210 void snmp_add_snmpintotalsetvars(u8_t value);
226 void snmp_set_snmpenableauthentraps(u8_t *value);
227 void snmp_get_snmpenableauthentraps(u8_t *value);
238 #define snmp_add_sysuptime(value) argument
239 #define snmp_get_sysuptime(value) argument
[all …]
Dsnmp_asn1.h79 err_t snmp_asn1_dec_u32t(struct pbuf *p, u16_t ofs, u16_t len, u32_t *value);
80 err_t snmp_asn1_dec_s32t(struct pbuf *p, u16_t ofs, u16_t len, s32_t *value);
85 void snmp_asn1_enc_u32t_cnt(u32_t value, u16_t *octets_needed);
86 void snmp_asn1_enc_s32t_cnt(s32_t value, u16_t *octets_needed);
90 err_t snmp_asn1_enc_u32t(struct pbuf *p, u16_t ofs, u16_t octets_needed, u32_t value);
91 err_t snmp_asn1_enc_s32t(struct pbuf *p, u16_t ofs, u16_t octets_needed, s32_t value);
Dsnmp_msg.h96 void *value; member
/lib/liblwip/src/core/snmp/
Dmib2.c80 static void system_get_value(struct obj_def *od, u16_t len, void *value);
81 static u8_t system_set_test(struct obj_def *od, u16_t len, void *value);
82 static void system_set_value(struct obj_def *od, u16_t len, void *value);
84 static void interfaces_get_value(struct obj_def *od, u16_t len, void *value);
86 static void ifentry_get_value(struct obj_def *od, u16_t len, void *value);
88 static u8_t ifentry_set_test (struct obj_def *od, u16_t len, void *value);
89 static void ifentry_set_value (struct obj_def *od, u16_t len, void *value);
92 static void atentry_get_value(struct obj_def *od, u16_t len, void *value);
94 static void ip_get_value(struct obj_def *od, u16_t len, void *value);
95 static u8_t ip_set_test(struct obj_def *od, u16_t len, void *value);
[all …]
Dasn1_enc.c77 snmp_asn1_enc_u32t_cnt(u32_t value, u16_t *octets_needed) in snmp_asn1_enc_u32t_cnt() argument
79 if (value < 0x80UL) in snmp_asn1_enc_u32t_cnt()
83 else if (value < 0x8000UL) in snmp_asn1_enc_u32t_cnt()
87 else if (value < 0x800000UL) in snmp_asn1_enc_u32t_cnt()
91 else if (value < 0x80000000UL) in snmp_asn1_enc_u32t_cnt()
110 snmp_asn1_enc_s32t_cnt(s32_t value, u16_t *octets_needed) in snmp_asn1_enc_s32t_cnt() argument
112 if (value < 0) in snmp_asn1_enc_s32t_cnt()
114 value = ~value; in snmp_asn1_enc_s32t_cnt()
116 if (value < 0x80L) in snmp_asn1_enc_s32t_cnt()
120 else if (value < 0x8000L) in snmp_asn1_enc_s32t_cnt()
[all …]
Dasn1_dec.c240 snmp_asn1_dec_u32t(struct pbuf *p, u16_t ofs, u16_t len, u32_t *value) in snmp_asn1_dec_u32t() argument
257 *value = 0; in snmp_asn1_dec_u32t()
290 *value |= *msg_ptr; in snmp_asn1_dec_u32t()
291 *value <<= 8; in snmp_asn1_dec_u32t()
307 *value |= *msg_ptr; in snmp_asn1_dec_u32t()
333 snmp_asn1_dec_s32t(struct pbuf *p, u16_t ofs, u16_t len, s32_t *value) in snmp_asn1_dec_s32t() argument
338 u8_t *lsb_ptr = (u8_t*)value; in snmp_asn1_dec_s32t()
341 u8_t *lsb_ptr = (u8_t*)value + sizeof(s32_t) - 1; in snmp_asn1_dec_s32t()
359 *value = -1; in snmp_asn1_dec_s32t()
365 *value = 0; in snmp_asn1_dec_s32t()
[all …]
Dmsg_in.c218 vb->value = memp_malloc(MEMP_SNMP_VALUE); in snmp_msg_get_event()
219 if (vb->value != NULL) in snmp_msg_get_event()
221 en->get_value_a(request_id, &msg_ps->ext_object_def, vb->value_len, vb->value); in snmp_msg_get_event()
241 vb->value = NULL; in snmp_msg_get_event()
332 vb->value = memp_malloc(MEMP_SNMP_VALUE); in snmp_msg_get_event()
333 if (vb->value != NULL) in snmp_msg_get_event()
335 mn->get_value(&object_def, vb->value_len, vb->value); in snmp_msg_get_event()
354 vb->value = NULL; in snmp_msg_get_event()
432 en->get_value_a(request_id, &msg_ps->ext_object_def, vb->value_len, vb->value); in snmp_msg_getnext_event()
506 mn->get_value(&object_def, object_def.v_len, vb->value); in snmp_msg_getnext_event()
[all …]
Dmsg_out.c429 sint_ptr = (s32_t*)vb->value; in snmp_varbind_list_sum()
435 uint_ptr = (u32_t*)vb->value; in snmp_varbind_list_sum()
445 sint_ptr = (s32_t*)vb->value; in snmp_varbind_list_sum()
643 sint_ptr = (s32_t*)vb->value; in snmp_varbind_list_enc()
649 uint_ptr = (u32_t*)vb->value; in snmp_varbind_list_enc()
655 raw_ptr = (u8_t*)vb->value; in snmp_varbind_list_enc()
661 sint_ptr = (s32_t*)vb->value; in snmp_varbind_list_enc()
/sys/include/
Dsysctl.h37 char value[SYSCTL_STR_MAXLENGTH]; member
42 int64_t value; member
47 bool value; member
61 #define SYSCTL_GETSTR(_PATH) SYSCTL_##_PATH.value
62 #define SYSCTL_SETSTR(_PATH, _VALUE) strncpy(SYSCTL_##_PATH.value, _VALUE, SYSCTL_STR_MAXLENGTH);
63 #define SYSCTL_GETINT(_PATH) SYSCTL_##_PATH.value
64 #define SYSCTL_SETINT(_PATH, _VALUE) SYSCTL_##_PATH.value = _VALUE
65 #define SYSCTL_GETBOOL(_PATH) SYSCTL_##_PATH.value
66 #define SYSCTL_SETBOOL(_PATH, _VALUE) SYSCTL_##_PATH.value = _VALUE
/sbin/sysctl/
Dsysctl.c39 printf("%s: %s\n", SYSCTLTable[idx].path, scStr.value); in PrintVal()
46 printf("%s: %ld\n", SYSCTLTable[idx].path, scInt.value); in PrintVal()
54 scBool.value ? "true" : "false"); in PrintVal()
70 strncpy(scStr.value, val, sizeof(scStr.value) - 1); in UpdateVal()
77 scInt.value = atoi(val); in UpdateVal()
78 printf("%ld\n", scInt.value); in UpdateVal()
86 scBool.value = true; in UpdateVal()
88 scBool.value = false; in UpdateVal()
/docs/
DDoxyfile11 # TAG = value [value, ...]
13 # TAG += value [value, ...]
35 # The default value is: UTF-8.
43 # The default value is: My Project.
80 # The default value is: NO.
87 # directories at level 8 which is the default and also the maximum value. The
90 # Minimum value: 0, maximum value: 8, default value: 8.
99 # The default value is: NO.
114 # The default value is: English.
121 # The default value is: YES.
[all …]
/sys/kern/
Dsysctl.c139 kprintf("%s: %s\n", argv[1], val->value); in Debug_SysCtl()
144 kprintf("%s: %ld\n", argv[1], val->value); in Debug_SysCtl()
149 kprintf("%s: %s\n", argv[1], val->value ? "true" : "false"); in Debug_SysCtl()
166 strncpy(&val->value[0], argv[2], SYSCTL_STR_MAXLENGTH); in Debug_SysCtl()
171 val->value = Debug_StrToInt(argv[2]); in Debug_SysCtl()
177 val->value = false; in Debug_SysCtl()
179 val->value = true; in Debug_SysCtl()
/lib/liblwip/src/core/
Ddhcp.c175 static void dhcp_option_byte(struct dhcp *dhcp, u8_t value);
176 static void dhcp_option_short(struct dhcp *dhcp, u16_t value);
177 static void dhcp_option_long(struct dhcp *dhcp, u32_t value);
1279 dhcp_option_byte(struct dhcp *dhcp, u8_t value) in dhcp_option_byte() argument
1282 dhcp->msg_out->options[dhcp->options_out_len++] = value; in dhcp_option_byte()
1286 dhcp_option_short(struct dhcp *dhcp, u16_t value) in dhcp_option_short() argument
1289 dhcp->msg_out->options[dhcp->options_out_len++] = (u8_t)((value & 0xff00U) >> 8); in dhcp_option_short()
1290 dhcp->msg_out->options[dhcp->options_out_len++] = (u8_t) (value & 0x00ffU); in dhcp_option_short()
1294 dhcp_option_long(struct dhcp *dhcp, u32_t value) in dhcp_option_long() argument
1297 dhcp->msg_out->options[dhcp->options_out_len++] = (u8_t)((value & 0xff000000UL) >> 24); in dhcp_option_long()
[all …]
/lib/liblwip/doc/
Dsys_arch.txt74 If the timeout argument is non-zero, the return value is the number of
76 semaphore wasn't signaled within the specified time, the return value is
188 that case the return value indicates that it is already protected.
196 value specified by pval. See the documentation for sys_arch_protect() for
Dsnmp_agent.txt106 snmp_get_sysuptime(u32_t *value), and enable to change "sysuptime" value only
Drawapi.txt141 in the listen queue to the value specified by the backlog argument.
/lib/liblwip/
DCHANGELOG172 error value
209 byte value when pcb->unacked != NULL
235 * opt.h: fixed default value of TCP_SND_BUF to not violate the sanity checks
640 * dns.c: Fixed bug #31701: Error return value from dns_gethostbyname() does
911 error return value to struct api_msg_msg
1037 * opt.h: Increased default value for TCP_MSS to 536, updated default
1038 value for TCP_WND to 4*TCP_MSS to keep delayed ACK working.
1242 * tcp.h: BUG26879: set ret value in TCP_EVENT macros when function is not set
1280 * msg_in.c: fixed bug #25636: SNMPSET value is ignored for integer fields
1517 "Add return value to sys_mbox_post".
[all …]