Home
last modified time | relevance | path

Searched refs:s16_t (Results 1 - 25 of 49) sorted by relevance

12

/third_party/lwip/src/apps/snmp/
H A Dsnmp_mib2_system.c229 static s16_t
233 const s16_t *var_len; in system_get_value()
239 var_len = (const s16_t *)sysdescr_len; in system_get_value()
251 var_len = (const s16_t *)syscontact_len; in system_get_value()
255 var_len = (const s16_t *)sysname_len; in system_get_value()
259 var_len = (const s16_t *)syslocation_len; in system_get_value()
272 result = (s16_t)strlen((const char *)var); in system_get_value()
H A Dsnmp_scalar.c45 static s16_t snmp_scalar_array_get_value(struct snmp_node_instance *instance, void *value);
193 static s16_t
196 s16_t result = -1; in snmp_scalar_array_get_value()
H A Dsnmp_snmpv2_usm.c279 static s16_t usmusertable_get_value(struct snmp_node_instance *cell_instance, void *value) in usmusertable_get_value()
286 return (s16_t)cell_instance->reference_len; in usmusertable_get_value()
331 static s16_t usmstats_scalars_get_value(const struct snmp_scalar_array_node_def *node, void *value) in usmstats_scalars_get_value()
H A Dsnmp_table.c319 s16_t
327 s16_t
335 s16_t
H A Dsnmp_snmpv2_framework.c43 static s16_t snmpengine_scalars_get_value(const struct snmp_scalar_array_node_def *node, void *value) in snmpengine_scalars_get_value()
H A Dsnmp_mib2_interfaces.c61 static s16_t
156 static s16_t
H A Dsnmp_mib2_snmp.c48 static s16_t
H A Dsnmp_mib2_icmp.c58 static s16_t
/third_party/lwip/src/core/ipv4/
H A Detharp.c129 #error "ARP_TABLE_SIZE must fit in an s16_t, you have to reduce it in your lwipopts.h"
284 static s16_t
287 s16_t old_pending = ARP_TABLE_SIZE, old_stable = ARP_TABLE_SIZE; in etharp_find_entry()
288 s16_t empty = ARP_TABLE_SIZE; in etharp_find_entry()
289 s16_t i = 0; in etharp_find_entry()
291 s16_t old_queue = ARP_TABLE_SIZE; in etharp_find_entry()
371 return (s16_t)ERR_MEM; in etharp_find_entry()
408 return (s16_t)ERR_MEM; in etharp_find_entry()
429 return (s16_t)i; in etharp_find_entry()
453 s16_t
[all...]
H A Dicmp.c278 (s16_t)type, (s16_t)code)); in icmp_input()
/third_party/lwip/src/include/lwip/apps/
H A Dsnmp_table.h124 s16_t snmp_table_extract_value_from_s32ref(struct snmp_node_instance* instance, void* value);
125 s16_t snmp_table_extract_value_from_u32ref(struct snmp_node_instance* instance, void* value);
126 s16_t snmp_table_extract_value_from_refconstptr(struct snmp_node_instance* instance, void* value);
H A Dsnmp_threadsync.h61 s16_t s16;
H A Dsnmp_scalar.h82 typedef s16_t (*snmp_scalar_array_get_value_method)(const struct snmp_scalar_array_node_def*, void*);
/third_party/lwip/src/include/lwip/
H A Dtcp.h295 s16_t rtime;
302 s16_t sa, sv; /* @see "Congestion Avoidance and Control" by Van Jacobson and Karels */
304 s16_t rto; /* retransmission time-out (in ticks of TCP_SLOW_INTERVAL) */
H A Dpbuf.h286 u8_t pbuf_header(struct pbuf *p, s16_t header_size);
287 u8_t pbuf_header_force(struct pbuf *p, s16_t header_size);
H A Ddebug.h147 ((s16_t)((debug) & LWIP_DBG_MASK_LEVEL) >= LWIP_DBG_MIN_LEVEL)) { \
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Dtcp.h429 s16_t rtime;
439 s16_t sa; /* smoothed round-trip time, 8 times of SRTT in RFC6298 */
440 s16_t sv; /* round-trip time variation, 4 times of RTTVAR in RFC6298 */
442 s16_t rto; /* retransmission time-out (in ticks of TCP_SLOW_INTERVAL) */
H A Dpbuf.h398 u8_t pbuf_header(struct pbuf *p, s16_t header_size);
399 u8_t pbuf_header_force(struct pbuf *p, s16_t header_size);
H A Darch.h116 typedef int16_t s16_t; typedef
H A Ddebug.h183 ((s16_t)((dbg) & LWIP_DBG_MASK_LEVEL) >= LWIP_DBG_MIN_LEVEL)) { \
/third_party/lwip/src/core/ipv6/
H A Dnd6.c110 static s16_t nd6_find_destination_cache_entry(const ip6_addr_t *ip6addr);
111 static s16_t nd6_new_destination_cache_entry(void);
291 s16_t dest_idx; in nd6_input()
1679 static s16_t
1682 s16_t i;
1701 static s16_t
1704 s16_t i, j;
2050 s16_t dst_idx;
2243 LWIP_DEBUGF(LWIP_DBG_TRACE, ("ipv6: queued packet %p on neighbor entry %"S16_F"\n", (void *)p, (s16_t)neighbor_index));
2257 LWIP_DEBUGF(LWIP_DBG_TRACE, ("ipv6: queued packet %p on neighbor entry %"S16_F"\n", (void *)p, (s16_t)neighbor_inde
[all...]
H A Dip6_frag.c76 #define IPV6_FRAG_REQROOM ((s16_t)(sizeof(struct ip6_reass_helper) - IP6_FRAG_HLEN))
188 if (pbuf_header_force(p, (s16_t)((u8_t*)p->payload - (u8_t*)ipr->iphdr))) { in ip6_reass_free_complete_datagram()
674 if (pbuf_header_force(p, (s16_t)((u8_t*)p->payload - (u8_t*)iphdr_ptr))) { in ip6_reass()
/third_party/lwip/src/include/lwip/priv/
H A Dsockets_priv.h75 s16_t rcvevent;
/third_party/lwip/test/unit/tcp/
H A Dtcp_helper.c80 pbuf_header(p, -(s16_t)sizeof(struct ip_hdr)); in tcp_create_segment_wnd()
93 pbuf_header(p, -(s16_t)sizeof(struct tcp_hdr)); in tcp_create_segment_wnd()
264 pbuf_header(p, -(s16_t)sizeof(struct ip_hdr)); in test_tcp_input()
/third_party/lwip/src/core/
H A Dtcp_in.c1178 s16_t m;
1280 pcb->rto = (s16_t)((pcb->sa >> 3) + pcb->sv);
1382 m = (s16_t)(tcp_ticks - pcb->rttest);
1388 m = (s16_t)(m - (pcb->sa >> 3));
1389 pcb->sa = (s16_t)(pcb->sa + m);
1391 m = (s16_t) - m;
1393 m = (s16_t)(m - (pcb->sv >> 2));
1394 pcb->sv = (s16_t)(pcb->sv + m);
1395 pcb->rto = (s16_t)((pcb->sa >> 3) + pcb->sv);

Completed in 18 milliseconds

12