Home
last modified time | relevance | path

Searched refs:s16_t (Results 1 – 25 of 44) sorted by relevance

12

/third_party/lwip/src/apps/snmp/
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()
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()
Dsnmp_table.c319 s16_t
327 s16_t
335 s16_t
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()
Dsnmp_mib2_interfaces.c61 static s16_t
156 static s16_t
Dsnmp_snmpv2_framework.c43 static s16_t snmpengine_scalars_get_value(const struct snmp_scalar_array_node_def *node, void *valu… in snmpengine_scalars_get_value()
Dsnmp_mib2_icmp.c58 static s16_t
Dsnmp_mib2_snmp.c48 static s16_t
/third_party/lwip/src/core/ipv4/
Detharp.c284 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 i;
563 s16_t i;
[all …]
Dicmp.c278 (s16_t)type, (s16_t)code)); in icmp_input()
/third_party/lwip/src/include/lwip/apps/
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);
Dsnmp_threadsync.h61 s16_t s16;
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/
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) */
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);
Ddebug.h147 … ((s16_t)((debug) & LWIP_DBG_MASK_LEVEL) >= LWIP_DBG_MIN_LEVEL)) { \
Darch.h128 typedef int16_t s16_t; typedef
/third_party/lwip/src/core/ipv6/
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 …_TRACE, ("ipv6: queued packet %p on neighbor entry %"S16_F"\n", (void *)p, (s16_t)neighbor_index));
2257 …_TRACE, ("ipv6: queued packet %p on neighbor entry %"S16_F"\n", (void *)p, (s16_t)neighbor_index));
[all …]
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/test/unit/tcp/
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/
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);
Dstats.c145 s16_t i; in stats_display()
Dpbuf.c616 pbuf_header_impl(struct pbuf *p, s16_t header_size_increment, u8_t force) in pbuf_header_impl()
646 pbuf_header(struct pbuf *p, s16_t header_size_increment) in pbuf_header()
656 pbuf_header_force(struct pbuf *p, s16_t header_size_increment) in pbuf_header_force()
/third_party/lwip/src/include/lwip/priv/
Dsockets_priv.h75 s16_t rcvevent;
/third_party/lwip/src/netif/ppp/
Dpppol2tp.c510 if ((s16_t)(ns - l2tp->peer_ns) < 0) { in pppol2tp_dispatch_control_packet()
519 if (l2tp->phase == PPPOL2TP_STATE_ICCN_SENT && (s16_t)(l2tp->peer_nr - l2tp->our_ns) > 0) { in pppol2tp_dispatch_control_packet()
766 if ((s16_t)(l2tp->peer_nr - l2tp->our_ns) < 0) { /* the SCCCN was not acknowledged */ in pppol2tp_timeout()

12