/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | uzlib_decompio_gz.py | 13 inp = zlib.DecompIO(buf, 16 + 8) variable 15 print(inp.read(1)) 17 print(inp.read(2)) 18 print(inp.read()) 20 print(inp.read(1)) 21 print(inp.read()) 28 inp = zlib.DecompIO(buf, 16 + 8) variable 29 print(inp.read()) 35 inp = zlib.DecompIO(buf, 16 + 8) variable 36 print(inp.read()) [all …]
|
A D | uzlib_decompio.py | 11 inp = zlib.DecompIO(buf, -8) variable 13 print(inp.read(1)) 15 print(inp.read(2)) 16 print(inp.read()) 18 print(inp.read(1)) 19 print(inp.read()) 24 inp = zlib.DecompIO(io.BytesIO(b"x\x9c30\xa0=\x00\x00\xb3q\x12\xc1")) variable 25 print(inp.read(10)) 26 print(inp.read()) 29 inp = zlib.DecompIO(io.BytesIO(b"x\x9c30\xa0=\x00\x00\xb3q\x12\xc0")) variable [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/ |
A D | eap.c | 347 u_char *inp; 395 u_char *inp; 1252 u_char *inp; 1270 datp = inp + len; 1297 len = write(fd, inp + 1, *inp); 1760 inp); in eap_response() 1909 A.data = inp; in eap_response() 2083 GETCHAR(id, inp); in eap_input() 2142 pstart = inp; in eap_printpkt() 2144 GETCHAR(id, inp); in eap_printpkt() [all …]
|
A D | fsm.c | 319 u_char *inp; in fsm_input() local 327 inp = inpacket; in fsm_input() 332 GETCHAR(code, inp); in fsm_input() 333 GETCHAR(id, inp); in fsm_input() 334 GETSHORT(len, inp); in fsm_input() 356 fsm_rconfreq(f, id, inp, len); in fsm_input() 360 fsm_rconfack(f, id, inp, len); in fsm_input() 369 fsm_rtermreq(f, id, inp, len); in fsm_input() 377 fsm_rcoderej(f, inp, len); in fsm_input() 652 GETCHAR(code, inp); in fsm_rcoderej() [all …]
|
A D | upap.c | 306 u_char *inp; in upap_input() local 314 inp = inpacket; in upap_input() 319 GETCHAR(code, inp); in upap_input() 320 GETCHAR(id, inp); in upap_input() 321 GETSHORT(len, inp); in upap_input() 397 ruser = (char *) inp; in upap_rauthreq() 398 INCPTR(ruserlen, inp); in upap_rauthreq() 472 GETCHAR(msglen, inp); in upap_rauthack() 479 msg = (char *) inp; in upap_rauthack() 507 GETCHAR(msglen, inp); in upap_rauthnak() [all …]
|
A D | pppol2tp.c | 345 u8_t *inp; in pppol2tp_input() local 369 inp = (u8_t*)p->payload; in pppol2tp_input() 370 GETSHORT(hflags, inp); in pppol2tp_input() 407 GETSHORT(len, inp); in pppol2tp_input() 415 GETSHORT(ns, inp); in pppol2tp_input() 416 GETSHORT(nr, inp); in pppol2tp_input() 419 GETSHORT(offset, inp) in pppol2tp_input() 428 INCPTR(offset, inp); in pppol2tp_input() 467 GETSHORT(hflags, inp); in pppol2tp_input() 484 u8_t *inp; in pppol2tp_dispatch_control_packet() local [all …]
|
A D | pppos.c | 431 err_t pppos_input_sys(struct pbuf *p, struct netif *inp) { in pppos_input_sys() argument 432 ppp_pcb *ppp = (ppp_pcb*)inp->state; in pppos_input_sys() 519 struct pbuf *inp; in pppos_input() local 538 inp = pppos->in_head; in pppos_input() 544 pbuf_header(inp, -(s16_t)(PBUF_LINK_ENCAPSULATION_HLEN + PBUF_LINK_HLEN)); in pppos_input() 547 if(tcpip_callback_with_block(pppos_input_callback, inp, 0) != ERR_OK) { in pppos_input() 549 pbuf_free(inp); in pppos_input() 554 ppp_input(ppp, inp); in pppos_input()
|
A D | lcp.c | 530 lcp_rprotrej(f, inp, len); in lcp_extcode() 536 magp = inp; in lcp_extcode() 538 fsm_sdata(f, ECHOREP, id, inp, len); in lcp_extcode() 542 lcp_received_echo_reply(f, id, inp, len); in lcp_extcode() 575 GETSHORT(prot, inp); in lcp_rprotrej() 1845 next = inp; in lcp_reqci() 1855 rejp = inp; in lcp_reqci() 2265 *lenp = next - inp; in lcp_reqci() 2272 MEMCPY(inp, nakp->payload, *lenp); in lcp_reqci() 2275 *lenp = rejp - inp; in lcp_reqci() [all …]
|
A D | ipv6cp.c | 185 static int ipv6cp_reqci(fsm *f, u_char *inp, int *len, int reject_if_disagree); /* Rcv CI */ 887 static int ipv6cp_reqci(fsm *f, u_char *inp, int *len, int reject_if_disagree) { 902 u_char *ucp = inp; /* Pointer to current output char */ 913 next = inp; 1020 ucp = inp; /* Backup */ 1028 ucp = inp; /* Backup */ 1050 ucp = inp; /* reset pointer */ 1058 *len = ucp - inp; /* Compute output length */
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/ras/ |
A D | tif2ras.c | 87 register u_char *inp, local 254 inp = buf; 277 *outp++ = *inp++; 281 *outp++ = (*inp >> 6) & 3; 282 *outp++ = (*inp >> 4) & 3; 283 *outp++ = (*inp >> 2) & 3; 284 *outp++ = *inp++ & 3; 289 *outp++ = *inp >> 4; 290 *outp++ = *inp++ & 0xf; 295 *outp++ = *inp++; [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/api/ |
A D | tcpip.c | 127 msg->msg.inp.input_fn(msg->msg.inp.p, msg->msg.inp.netif); in tcpip_thread() 192 msg->msg.drv.netif = inp; in tcpip_signal_netif_event() 217 ret = input_fn(p, inp); in tcpip_inpkt() 231 msg->msg.inp.p = p; in tcpip_inpkt() 232 msg->msg.inp.netif = inp; in tcpip_inpkt() 233 msg->msg.inp.input_fn = input_fn; in tcpip_inpkt() 254 tcpip_input(struct pbuf *p, struct netif *inp) in tcpip_input() argument 258 if(!packet_input_hook(p, inp)) in tcpip_input() 266 if (inp->flags & (NETIF_FLAG_ETHARP | NETIF_FLAG_ETHERNET)) { in tcpip_input() 267 return tcpip_inpkt(p, inp, ethernet_input); in tcpip_input() [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ |
A D | af_packet.c | 66 packet_input_hook (struct pbuf* p, struct netif *inp); 69 packet_output_hook (struct pbuf* p, struct netif *inp); 337 p = msg->msg.inp.p; in packet_recvfrom() 933 i = get_pkt_socket_by_netif(inp); in packet_input() 1006 msg->msg.inp.p = q; in packet_input() 1007 msg->msg.inp.netif = inp; in packet_input() 1011 msg->msg.inp.input_fn = packet_input_hook; in packet_input() 1034 if (!netif_is_up(inp)) { in packet_input_hook() 1037 return packet_input(p, inp, INCOMING); in packet_input_hook() 1053 packet_input(p, inp, OUTGOING); in packet_output_hook() [all …]
|
A D | ip.c | 111 ip_input(struct pbuf *p, struct netif *inp) in ip_input() argument 115 return ip6_input(p, inp); in ip_input() 117 return ip4_input(p, inp); in ip_input()
|
A D | udp.c | 148 udp_input_local_match(struct udp_pcb *pcb, struct netif *inp, u8_t broadcast) in udp_input_local_match() argument 150 LWIP_UNUSED_ARG(inp); /* in IPv6 only case */ in udp_input_local_match() 175 … ip4_addr_netcmp(ip_2_ip4(&pcb->local_ip), ip4_current_dest_addr(), netif_ip4_netmask(inp))) { in udp_input_local_match() 210 udp_input(struct pbuf *p, struct netif *inp) in udp_input() argument 219 LWIP_UNUSED_ARG(inp); in udp_input() 274 (udp_input_local_match(pcb, inp, broadcast) != 0)) { in udp_input() 317 for_us = netif_get_ip6_addr_match(inp, ip6_current_dest_addr()) >= 0; in udp_input() 322 for_us = ip4_addr_cmp(netif_ip4_addr(inp), ip4_current_dest_addr()); in udp_input() 330 IF__NETIF_CHECKSUM_ENABLED(inp, CHECKSUM_CHECK_UDP) { in udp_input() 390 (udp_input_local_match(mpcb, inp, broadcast) != 0)) { in udp_input()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ipv4/ |
A D | ip4.c | 283 LWIP_UNUSED_ARG(inp); in ip4_forward() 309 if (netif == inp) { in ip4_forward() 486 netif = inp; 491 if ((netif_is_up(inp)) && (!ip4_addr_isany_val(*netif_ip4_addr(inp)))) { 492 netif = inp; 502 netif = inp; 542 if (netif == inp) { 566 netif = inp; 680 udp_input(p, inp); 686 tcp_input(p, inp); [all …]
|
A D | icmp.c | 76 icmp_input(struct pbuf *p, struct netif *inp) in icmp_input() argument 118 src = netif_ip4_addr(inp); in icmp_input() 128 src = netif_ip4_addr(inp); in icmp_input() 140 IF__NETIF_CHECKSUM_ENABLED(inp, NETIF_CHECKSUM_CHECK_ICMP) { in icmp_input() 206 IF__NETIF_CHECKSUM_ENABLED(inp, NETIF_CHECKSUM_GEN_ICMP) { in icmp_input() 227 IF__NETIF_CHECKSUM_ENABLED(inp, NETIF_CHECKSUM_GEN_IP) { in icmp_input() 240 ICMP_TTL, 0, IP_PROTO_ICMP, inp); in icmp_input()
|
A D | igmp.c | 316 igmp_input(struct pbuf *p, struct netif *inp, const ip4_addr_t *dest) in igmp_input() argument 336 LWIP_DEBUGF(IGMP_DEBUG, (" on if %p\n", (void*)inp)); in igmp_input() 348 group = igmp_lookfor_group(inp, dest); /* use the destination IP address of incoming packet */ in igmp_input() 374 groupref = netif_igmp_data(inp); in igmp_input() 396 group = igmp_lookfor_group(inp, &groupaddr); in igmp_input() 424 igmp->igmp_msgtype, group->group_state, (void*)&group, (void*)inp)); in igmp_input()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ipv6/ |
A D | icmp6.c | 81 icmp6_input(struct pbuf *p, struct netif *inp) in icmp6_input() argument 102 IF__NETIF_CHECKSUM_ENABLED(inp, NETIF_CHECKSUM_CHECK_ICMP6) { in icmp6_input() 120 nd6_input(p, inp); in icmp6_input() 131 mld6_input(p, inp); in icmp6_input() 166 reply_src = ip_2_ip6(ip6_select_source_address(inp, ip6_current_src_addr())); in icmp6_input() 185 IF__NETIF_CHECKSUM_ENABLED(inp, NETIF_CHECKSUM_GEN_ICMP6) { in icmp6_input() 194 LWIP_ICMP6_HL, 0, IP6_NEXTH_ICMP6, inp); in icmp6_input()
|
A D | nd6.c | 128 nd6_input(struct pbuf *p, struct netif *inp) in nd6_input() argument 265 neighbor_cache[i].netif = inp; in nd6_input() 329 nd6_send_na(inp, netif_ip6_addr(inp, i), ND6_FLAG_OVERRIDE | ND6_SEND_FLAG_ALLNODES_DEST); in nd6_input() 353 neighbor_cache[i].netif = inp; in nd6_input() 372 neighbor_cache[i].netif = inp; in nd6_input() 413 inp->rs_count = 0; in nd6_input() 419 (nd6_send_rs(inp) == ERR_OK)) { in nd6_input() 420 inp->rs_count = 0; in nd6_input() 425 i = nd6_get_router(ip6_current_src_addr(), inp); in nd6_input() 506 inp->mtu = (u16_t)lwip_htonl(mtu_opt->mtu); in nd6_input() [all …]
|
A D | ip6.c | 329 if (netif == inp) { in ip6_forward() 473 netif = inp; in ip6_input() 477 netif = inp; in ip6_input() 487 netif = inp; in ip6_input() 498 netif = inp; in ip6_input() 509 netif = inp; in ip6_input() 533 if (netif == inp) { in ip6_input() 730 if (raw_input(p, inp) == 0) in ip6_input() 744 udp_input(p, inp); in ip6_input() 751 tcp_input(p, inp); in ip6_input() [all …]
|
A D | mld6.c | 222 mld6_input(struct pbuf *p, struct netif *inp) in mld6_input() argument 247 group = netif_mld6_data(inp); in mld6_input() 260 group = mld6_lookfor_group(inp, ip6_current_dest_addr()); in mld6_input() 272 group = mld6_lookfor_group(inp, ip6_current_dest_addr()); in mld6_input()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/ |
A D | tcpip.h | 77 err_t tcpip_inpkt(struct pbuf *p, struct netif *inp, netif_input_fn input_fn); 78 err_t tcpip_input(struct pbuf *p, struct netif *inp); 81 err_t tcpip_signal_netif_event(struct netif *inp, u32_t event, netif_drv_fn drv_fn);
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/ |
A D | tcpip.h | 77 err_t tcpip_inpkt(struct pbuf *p, struct netif *inp, netif_input_fn input_fn); 78 err_t tcpip_input(struct pbuf *p, struct netif *inp);
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/netif/ |
A D | lowpan6.h | 77 err_t tcpip_6lowpan_input(struct pbuf *p, struct netif *inp);
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/netif/ |
A D | lowpan6.h | 77 err_t tcpip_6lowpan_input(struct pbuf *p, struct netif *inp);
|