code
stringlengths
1
1.05M
repo_name
stringlengths
6
83
path
stringlengths
3
242
language
stringclasses
222 values
license
stringclasses
20 values
size
int64
1
1.05M
/** * @file lv_win.h * */ #ifndef LV_WIN_H #define LV_WIN_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif #if LV_USE_WIN != 0 /*Testing of dependencies*/ #if LV_USE...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_objx/lv_win.h
C
apache-2.0
8,159
/** * @file lv_theme.c * */ /********************* * INCLUDES *********************/ #include "lv_theme.h" #include "../lv_core/lv_obj.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /********************** * STATIC PROT...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_theme.c
C
apache-2.0
3,300
/** *@file lv_themes.h * */ #ifndef LV_THEMES_H #define LV_THEMES_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif #include "../lv_core/lv_style.h" #include "../lv_core...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_theme.h
C
apache-2.0
7,607
/** * @file lv_theme_alien.c * */ /********************* * INCLUDES *********************/ #include "lv_theme.h" #if LV_USE_THEME_ALIEN /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTO...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_theme_alien.c
C
apache-2.0
30,303
/** * @file lv_theme_alien.h * */ #ifndef LV_THEME_ALIEN_H #define LV_THEME_ALIEN_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif #if LV_USE_THEME_ALIEN /**********...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_theme_alien.h
C
apache-2.0
1,062
/** * @file lv_theme_default.c * */ /********************* * INCLUDES *********************/ #include "lv_theme.h" #if LV_USE_THEME_DEFAULT /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /********************** * STATIC P...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_theme_default.c
C
apache-2.0
12,214
/** * @file lv_theme_default.h * */ #ifndef LV_THEME_DEFAULT_H #define LV_THEME_DEFAULT_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif #if LV_USE_THEME_DEFAULT /**...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_theme_default.h
C
apache-2.0
1,077
/** * @file lv_theme_material.c * */ /********************* * INCLUDES *********************/ #include "lv_theme.h" #if LV_USE_THEME_MATERIAL /********************* * DEFINES *********************/ #define DEF_RADIUS 4 #define DEF_SHADOW_COLOR lv_color_hex3(0xaaa) /********************** * TY...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_theme_material.c
C
apache-2.0
28,370
/** * @file lv_theme_material.h * */ #ifndef LV_THEME_MATERIAL_H #define LV_THEME_MATERIAL_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif #if LV_USE_THEME_MATERIAL ...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_theme_material.h
C
apache-2.0
1,087
/** * @file lv_theme_templ.c * */ /********************* * INCLUDES *********************/ #include "lv_theme.h" #if LV_USE_THEME_MONO /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOT...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_theme_mono.c
C
apache-2.0
13,099
/** * @file lv_theme_mono.h * */ #ifndef LV_THEME_MONO_H #define LV_THEME_MONO_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif #if LV_USE_THEME_MONO /**************...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_theme_mono.h
C
apache-2.0
1,055
/** * @file lv_theme_nemo.c * */ /********************* * INCLUDES *********************/ #include "lv_theme.h" #if LV_USE_THEME_NEMO /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTY...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_theme_nemo.c
C
apache-2.0
29,151
/** * @file lv_theme_nemo.h * */ #ifndef LV_THEME_NEMO_H #define LV_THEME_NEMO_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif #if LV_USE_THEME_NEMO /**************...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_theme_nemo.h
C
apache-2.0
1,059
/** * @file lv_theme_night.c * */ /********************* * INCLUDES *********************/ #include "lv_theme.h" #if LV_USE_THEME_NIGHT /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTO...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_theme_night.c
C
apache-2.0
26,708
/** * @file lv_theme_night.h * */ #ifndef LV_THEME_NIGHT_H #define LV_THEME_NIGHT_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif #if LV_USE_THEME_NIGHT /**********...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_theme_night.h
C
apache-2.0
1,063
/** * @file lv_theme_templ.c * */ /********************* * INCLUDES *********************/ #include "lv_theme.h" #if LV_USE_THEME_TEMPL /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTO...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_theme_templ.c
C
apache-2.0
9,886
/** * @file lv_theme_templ.h * */ #ifndef LV_THEME_TEMPL_H #define LV_THEME_TEMPL_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif #if LV_USE_THEME_TEMPL /**********...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_theme_templ.h
C
apache-2.0
1,063
/** * @file lv_theme_zen.c * */ /********************* * INCLUDES *********************/ #include "lv_theme.h" #if LV_USE_THEME_ZEN /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTOTYPE...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_theme_zen.c
C
apache-2.0
26,566
/** * @file lv_theme_zen.h * */ #ifndef LV_THEME_ZEN_H #define LV_THEME_ZEN_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif #if LV_USE_THEME_ZEN /******************...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_theme_zen.h
C
apache-2.0
1,047
CSRCS += lv_theme_alien.c CSRCS += lv_theme.c CSRCS += lv_theme_default.c CSRCS += lv_theme_night.c CSRCS += lv_theme_templ.c CSRCS += lv_theme_zen.c CSRCS += lv_theme_material.c CSRCS += lv_theme_nemo.c CSRCS += lv_theme_mono.c DEPPATH += --dep-path $(LVGL_DIR)/lvgl/src/lv_themes VPATH += :$(LVGL_DIR)/lvgl/src/lv_the...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_themes/lv_themes.mk
Makefile
apache-2.0
370
/** * @file lv_version.h * */ #ifndef LV_VERSION_H #define LV_VERSION_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ /*Current version of LittlevGL*/ #define LVGL_VERSION_MAJOR 6 #define LVGL_VERSION_MINOR 0 #define LVGL_VERSION_PATCH 0 #define LVGL_...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_version.h
C
apache-2.0
1,197
/* * Copyright (C) 2015-2021 Alibaba Group Holding Limited */ #include <stdio.h> #include <lwip/sockets.h> #if AOS_COMP_CLI #include "aos/cli.h" #endif #define PORT 6666 #define BUFSIZE 128 static void udp_server_task(void *data) { char buf[BUFSIZE+1]; int sockfd; struct sockaddr_in svr...
YifuLiu/AliOS-Things
components/lwip/example/udp_test.c
C
apache-2.0
1,897
#include "dm_export.h" #include "lwip/sockets.h" #include "lwip/netdb.h" #include "lwip/ip4.h" #include "lwip/igmp.h" SYMBOL_EXPORT(lwip_htons); SYMBOL_EXPORT(lwip_htonl);
YifuLiu/AliOS-Things
components/lwip/export.c
C
apache-2.0
173
# # Copyright (c) 2001, 2002 Swedish Institute of Computer Science. # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice,...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/Filelists.mk
Makefile
apache-2.0
5,724
/** * @file * Sequential API External module * * @defgroup netconn Netconn API * @ingroup sequential_api * Thread-safe, to be called from non-TCPIP threads only. * TX/RX handling based on @ref netbuf (containing @ref pbuf) * to avoid copying data around. * * @defgroup netconn_common Common functions * @ing...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/api/api_lib.c
C
apache-2.0
31,772
/** * @file * Sequential API Internal module * */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistribut...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/api/api_msg.c
C
apache-2.0
61,208
/** * @file * Error Management module * */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/api/err.c
C
apache-2.0
4,771
/** * @file * Network buffer management * * @defgroup netbuf Network buffers * @ingroup netconn * Network buffer descriptor for @ref netconn. Based on @ref pbuf internally * to avoid copying data around.\n * Buffers must not be shared accross multiple threads, all functions except * netbuf_new() and netbuf_del...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/api/netbuf.c
C
apache-2.0
7,043
/** * @file * API functions for name resolving * * @defgroup netdbapi NETDB API * @ingroup socket */ /* * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the abov...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/api/netdb.c
C
apache-2.0
13,447
/** * @file * Network Interface Sequential API module * * @defgroup netifapi NETIF API * @ingroup sequential_api * Thread-safe functions to be called from non-TCPIP threads * * @defgroup netifapi_netif NETIF related * @ingroup netifapi * To be called from non-TCPIP threads */ /* * Redistribution and use ...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/api/netifapi.c
C
apache-2.0
7,112
/** * @file * Sockets BSD-Like API module * * @defgroup socket Socket API * @ingroup sequential_api * BSD-style socket API.\n * Thread-safe, to be called from non-TCPIP threads only.\n * Can be activated by defining @ref LWIP_SOCKET to 1.\n * Header is in posix/sys/socket.h\b */ /* * Copyright (c) 2001-2004...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/api/sockets.c
C
apache-2.0
104,768
/** * @file * Sequential API Main thread module * */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistri...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/api/tcpip.c
C
apache-2.0
16,949
/* * Copyright (C) 2017-2019 Alibaba Group Holding Limited */ #if AOS_COMP_CLI #include <string.h> #include <aos/cli.h> #include <lwip/etharp.h> static void arp_command(char *buffer, int32_t buf_len, int32_t argc, char **argv); struct cli_command arp_cmd[] = { { "arp", "arp app", arp_command}, }; static void a...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/arp/arp_cli.c
C
apache-2.0
1,119
//#include "lwip/ip4_addr.h" #include "lwip/apps/dhcps.h" #include "lwip/tcpip.h" #include "lwip/udp.h" #include "lwip/pbuf.h" #include "lwip/ip4_addr.h" #define PRINT_TAG "DHCPD" #ifdef LWIP_IPV4 //static struct dhcp_server_state dhcp_server_state_machine; static uint8_t dhcp_server_state_machine = DHCP_SERVER_STATE_...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/dhcpd/dhcps.c
C
apache-2.0
32,675
/* * Copyright (C) 2017-2019 Alibaba Group Holding Limited */ #if AOS_COMP_CLI #include <string.h> #include <aos/cli.h> #include <lwip/netdb.h> static void dns_command(char *buffer, int32_t buf_len, int32_t argc, char **argv); struct cli_command dns_cmd[] = { { "dns", "dns app", dns_command}, }; static void dn...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/dns/dns_cli.c
C
apache-2.0
1,657
/* * Copyright (c) 2001-2003 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright ...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/httpd/fs.c
C
apache-2.0
5,931
<html> <head><title>lwIP - A Lightweight TCP/IP Stack</title></head> <body bgcolor="white" text="black"> <table width="100%"> <tr valign="top"><td width="80"> <a href="http://www.sics.se/"><img src="/img/sics.gif" border="0" alt="SICS logo" title="SICS logo"></a> </td><td width="500"> <h1>lwI...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/httpd/fs/404.html
HTML
apache-2.0
544
<html> <head><title>lwIP - A Lightweight TCP/IP Stack</title></head> <body bgcolor="white" text="black"> <table width="100%"> <tr valign="top"><td width="80"> <a href="http://www.sics.se/"><img src="/img/sics.gif" border="0" alt="SICS logo" title="SICS logo"></a> </td><td width="500"> <h1>lwI...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/httpd/fs/index.html
HTML
apache-2.0
1,704
#include "lwip/apps/fs.h" #include "lwip/def.h" #include "fsdata.h" #define file_NULL (struct fsdata_file *) NULL static const unsigned int dummy_align__img_sics_gif = 0; static const unsigned char data__img_sics_gif[] = { /* /img/sics.gif (14 chars) */ 0x2f,0x69,0x6d,0x67,0x2f,0x73,0x69,0x63,0x73,0x2e,0x67,0x69,0x...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/httpd/fsdata.c
C
apache-2.0
18,963
/* * Copyright (c) 2001-2003 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright ...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/httpd/fsdata.h
C
apache-2.0
2,018
/** * @file * LWIP HTTP server implementation */ /* * Copyright (c) 2001-2003 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributio...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/httpd/httpd.c
C
apache-2.0
87,007
#ifndef LWIP_HTTPD_STRUCTS_H #define LWIP_HTTPD_STRUCTS_H #include "lwip/apps/httpd.h" #if LWIP_HTTPD_DYNAMIC_HEADERS /** This struct is used for a list of HTTP header strings for various * filename extensions. */ typedef struct { const char *extension; const char *content_type; } tHTTPHeader; /** A list of str...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/httpd/httpd_structs.h
C
apache-2.0
4,557
#!/usr/bin/perl open(OUTPUT, "> fsdata.c"); chdir("fs"); open(FILES, "find . -type f |"); while($file = <FILES>) { # Do not include files in CVS directories nor backup files. if($file =~ /(CVS|~)/) { next; } chop($file); open(HEADER, "> /tmp/header") || die $!; if($file =~ /40...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/httpd/makefsdata/makefsdata
Perl
apache-2.0
2,589
/** * makefsdata: Converts a directory structure for use with the lwIP httpd. * * This file is part of the lwIP TCP/IP stack. * * Author: Jim Pettinato * Simon Goldschmidt * * @todo: * - take TCP_MSS, LWIP_TCP_TIMESTAMPS and * PAYLOAD_ALIGN_TYPE/PAYLOAD_ALIGNMENT as arguments */ #include <stdio.h>...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/httpd/makefsdata/makefsdata.c
C
apache-2.0
35,493
/* * Copyright (C) 2017-2020 Alibaba Group Holding Limited */ #include "lwip/opt.h" #include "lwip/netif.h" #include "lwip/apps/ifconfig.h" #include <lwip/def.h> #include <lwip/netdb.h> #include <lwip/sockets.h> #include <aos/cli.h> int ifconfig(int argc,char *argv[]) { struct netif *net_if = NULL; if ((argc ...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/ifconfig/ifconfig.c
C
apache-2.0
1,949
/* * Copyright (C) 2017-2020 Alibaba Group Holding Limited */ #if AOS_COMP_CLI #include "stdbool.h" #include "lwip/opt.h" #include "lwip/apps/ifconfig.h" #include <lwip/def.h> #include <lwip/netdb.h> #include <lwip/sockets.h> #include "aos/cli.h" void ifconfig_help(void) { aos_cli_printf("Usage: ifconfig\n"); ...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/ifconfig/ifconfig_cli.c
C
apache-2.0
955
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #include "iperf_wrapper.h" #include "aos/kernel.h" #ifdef __cplusplus extern "C" { #endif void iperf_wrapper_free(void * ptr) { aos_free(ptr); } void *iperf_wrapper_malloc(unsigned int size) { return aos_malloc(size); } #ifdef __cplusplus }; ...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/iperf/iperf_aos_wrapper.c
C
apache-2.0
344
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #include "iperf_wrapper.h" #ifdef __cplusplus extern "C" { #endif extern void *rt_malloc(int size); extern void rt_free(void *rmem); void iperf_wrapper_free(void * ptr) { rt_free(ptr); } void *iperf_wrapper_malloc(unsigned int size) { return r...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/iperf/iperf_bes_wrapper.c
C
apache-2.0
386
/* * Copyright (C) 2017-2019 Alibaba Group Holding Limited */ #if AOS_COMP_CLI #include <stdlib.h> #include <string.h> #include "lwip/opt.h" #include "iperf_wrapper.h" #include "lwip/debug.h" #include "lwip/err.h" #include "lwip/apps/iperf_debug.h" #include "lwip/apps/iperf_task.h" #include "aos/cli.h" #include "aos/...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/iperf/iperf_cli.c
C
apache-2.0
9,026
/* * Copyright (C) 2017-2019 Alibaba Group Holding Limited */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include "lwip/opt.h" #include "iperf_wrapper.h" #ifdef AOS_NETMGR_WITH_MODERN #ifdef AOS_NET_WITH_WIFI #include "wifi_service.h" #endif /* AOS_NET_WITH_WIFI */ #endif /* AOS_N...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/iperf/iperf_task.c
C
apache-2.0
49,538
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef IPERF_COMMON_H #define IPERF_COMMON_H #ifdef __cplusplus extern "C" { #endif void iperf_wrapper_free(void * ptr); void *iperf_wrapper_malloc(unsigned int size); #ifdef __cplusplus }; // extern "C" #endif #endif
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/iperf/iperf_wrapper.h
C
apache-2.0
288
/* * Copyright (C) 2017-2019 Alibaba Group Holding Limited */ #if AOS_COMP_CLI #include <string.h> #include <aos/cli.h> #include <lwip/netdb.h> #include "lwip/opt.h" static void lsfd_command(char *buffer, int32_t buf_len, int32_t argc, char **argv); struct cli_command lsfd_cmd[] = { { "lsfd", "lsfd app", lsfd_...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/lsfd/lsfd_cli.c
C
apache-2.0
1,039
/** * @file * MDNS responder implementation * * @defgroup mdns MDNS * @ingroup apps * * RFC 6762 - Multicast DNS\n * RFC 6763 - DNS-Based Service Discovery\n * * @verbinclude mdns.txt * * Things left to implement: * ------------------------- * * - Probing/conflict resolution * - Sending goodbye messag...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/mdns/mdns.c
C
apache-2.0
65,101
/** * @file * NetBIOS name service responder */ /** * @defgroup netbiosns NETBIOS responder * @ingroup apps * * This is an example implementation of a NetBIOS name server. * It responds to name queries for a configurable name. * Name resolving is not supported. * * Note that the device doesn't broadcast it'...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/netbiosns/netbiosns.c
C
apache-2.0
11,334
#include "stdlib.h" #include "lwip/opt.h" #include "lwip/icmp.h" #include "lwip/netif.h" #include "lwip/sys.h" #include "lwip/netdb.h" #include "lwip/timeouts.h" #include "lwip/inet_chksum.h" #include "lwip/prot/ip.h" #include "lwip/prot/ip4.h" #include "lwip/sockets.h" #include "vfsdev/wifi_dev.h" #include "ulog/ulo...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/ping/net_deamon.c
C
apache-2.0
8,200
/** * @file * Ping sender module * */ /* * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the followi...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/ping/ping.c
C
apache-2.0
14,622
#if AOS_COMP_CLI #include <string.h> #include <stdbool.h> #include "lwip/opt.h" #include "lwip/netif.h" #include "lwip/debug.h" #include "lwip/err.h" #include "aos/cli.h" #include "aos/kernel.h" #include "uservice/uservice.h" #include "uservice/eventid.h" /****************************************************** * ...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/ping/ping_cli.c
C
apache-2.0
3,351
/* * Copyright (C) 2017-2019 Alibaba Group Holding Limited */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <lwip/def.h> #include <lwip/netdb.h> #include <lwip/sockets.h> #include <lwip/apps/sendfile.h> #define DATALEN 1024 #define MAXSIZE 32 #define PATHMAX 64 static int s...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/sendfile/sendfile.c
C
apache-2.0
11,811
/* * Copyright (C) 2017-2019 Alibaba Group Holding Limited */ #if AOS_COMP_CLI #include <string.h> #include <stdbool.h> #include "lwip/opt.h" #include "lwip/debug.h" #include "lwip/err.h" #include <aos/cli.h> #include "aos/kernel.h" #include "uservice/uservice.h" #include "uservice/eventid.h" /*********************...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/sendfile/sendfile_cli.c
C
apache-2.0
4,085
/** * @file * Abstract Syntax Notation One (ISO 8824, 8825) encoding * * @todo not optimised (yet), favor correctness over speed, favor speed over size */ /* * Copyright (c) 2006 Axon Digital Design B.V., The Netherlands. * All rights reserved. * * Redistribution and use in source and binary forms, with or wi...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_asn1.c
C
apache-2.0
20,033
/** * @file * Abstract Syntax Notation One (ISO 8824, 8825) codec. */ /* * Copyright (c) 2006 Axon Digital Design B.V., The Netherlands. * Copyright (c) 2016 Elias Oenal. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that t...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_asn1.h
C
apache-2.0
5,038
/** * @file * MIB tree access/construction functions. */ /* * Copyright (c) 2006 Axon Digital Design B.V., The Netherlands. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redist...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_core.c
C
apache-2.0
41,362
/* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright not...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_core_priv.h
C
apache-2.0
3,421
/** * @file * Management Information Base II (RFC1213) objects and functions. */ /* * Copyright (c) 2006 Axon Digital Design B.V., The Netherlands. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions ...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_mib2.c
C
apache-2.0
4,054
/** * @file * Management Information Base II (RFC1213) ICMP objects and functions. */ /* * Copyright (c) 2006 Axon Digital Design B.V., The Netherlands. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following condit...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_mib2_icmp.c
C
apache-2.0
7,464
/** * @file * Management Information Base II (RFC1213) INTERFACES objects and functions. */ /* * Copyright (c) 2006 Axon Digital Design B.V., The Netherlands. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following ...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_mib2_interfaces.c
C
apache-2.0
13,367
/** * @file * Management Information Base II (RFC1213) IP objects and functions. */ /* * Copyright (c) 2006 Axon Digital Design B.V., The Netherlands. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditio...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_mib2_ip.c
C
apache-2.0
28,050
/** * @file * Management Information Base II (RFC1213) SNMP objects and functions. */ /* * Copyright (c) 2006 Axon Digital Design B.V., The Netherlands. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following condit...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_mib2_snmp.c
C
apache-2.0
8,915
/** * @file * Management Information Base II (RFC1213) SYSTEM objects and functions. */ /* * Copyright (c) 2006 Axon Digital Design B.V., The Netherlands. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following cond...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_mib2_system.c
C
apache-2.0
12,848
/** * @file * Management Information Base II (RFC1213) TCP objects and functions. */ /* * Copyright (c) 2006 Axon Digital Design B.V., The Netherlands. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditi...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_mib2_tcp.c
C
apache-2.0
22,581
/** * @file * Management Information Base II (RFC1213) UDP objects and functions. */ /* * Copyright (c) 2006 Axon Digital Design B.V., The Netherlands. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditi...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_mib2_udp.c
C
apache-2.0
13,091
/** * @file * SNMP message processing (RFC1157). */ /* * Copyright (c) 2006 Axon Digital Design B.V., The Netherlands. * Copyright (c) 2016 Elias Oenal. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following condi...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_msg.c
C
apache-2.0
67,371
/** * @file * SNMP Agent message handling structures (internal API, do not use in client code). */ /* * Copyright (c) 2006 Axon Digital Design B.V., The Netherlands. * Copyright (c) 2016 Elias Oenal. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * ...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_msg.h
C
apache-2.0
6,380
/** * @file * SNMP netconn frontend. */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of sou...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_netconn.c
C
apache-2.0
3,453
/** * @file * SNMP pbuf stream wrapper implementation (internal API, do not use in client code). */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the f...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_pbuf_stream.c
C
apache-2.0
4,466
/** * @file * SNMP pbuf stream wrapper (internal API, do not use in client code). */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following condit...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_pbuf_stream.h
C
apache-2.0
2,756
/** * @file * SNMP RAW API frontend. */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of sou...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_raw.c
C
apache-2.0
3,125
/** * @file * SNMP scalar node support implementation. */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redi...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_scalar.c
C
apache-2.0
8,307
/** * @file * SNMP table support implementation. */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistribu...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_table.c
C
apache-2.0
11,335
/** * @file * SNMP thread synchronization implementation. */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. R...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_threadsync.c
C
apache-2.0
8,242
/** * @file * SNMPv1 traps implementation. */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions ...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmp_traps.c
C
apache-2.0
13,094
/** * @file * Additional SNMPv3 functionality RFC3414 and RFC3826. */ /* * Copyright (c) 2016 Elias Oenal. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of sour...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmpv3.c
C
apache-2.0
3,895
/** * @file * Dummy SNMPv3 functions. */ /* * Copyright (c) 2016 Elias Oenal. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmpv3_dummy.c
C
apache-2.0
3,924
/** * @file * SNMPv3 crypto/auth functions implemented for ARM mbedtls. */ /* * Copyright (c) 2016 Elias Oenal and Dirk Ziegelmeier. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * ...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmpv3_mbedtls.c
C
apache-2.0
10,647
/** * @file * Additional SNMPv3 functionality RFC3414 and RFC3826 (internal API, do not use in client code). */ /* * Copyright (c) 2016 Elias Oenal. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/snmp/snmpv3_priv.h
C
apache-2.0
2,627
/** * @file * SNTP client module */ /* * Copyright (c) 2007-2009 Frédéric Bernon, Simon Goldschmidt * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/sntp/sntp.c
C
apache-2.0
22,936
/* * Copyright 2013 Tenkiv, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/telnetd/telnetserver.c
C
apache-2.0
37,474
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #include <stdlib.h> #include <stdio.h> #include <stdarg.h> #include <string.h> #include <errno.h> #include "aos/kernel.h" #include <lwip/def.h> #include <lwip/netdb.h> #include <lwip/sockets.h> #include "lwip/apps/telnetserver.h" #define MAX_COMMANDLINE...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/telnetd/telnetserver_cli.c
C
apache-2.0
7,951
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #include "lwip/opt.h" #include "lwip/udp.h" #include "lwip/timeouts.h" #include "lwip/debug.h" #include "lwip/apps/tftp.h" #include <string.h> #include <stdlib.h> #include <stdio.h> #define PRINT_BASE_SIZE 102400 typedef struct tftp_state_s { const...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/tftp/tftp_client.c
C
apache-2.0
8,663
/****************************************************************//** * * @file tftp_common.c * * @author Logan Gunthorpe <logang@deltatee.com> * Dirk Ziegelmeier <dziegel@gmx.de> * * @brief Trivial File Transfer Protocol (RFC 1350) * * Copyright (c) Deltatee Enterprises Ltd. 2013 * All rights ...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/tftp/tftp_common.c
C
apache-2.0
5,163
/****************************************************************//** * * @file tftp_server.c * * @author Logan Gunthorpe <logang@deltatee.com> * Dirk Ziegelmeier <dziegel@gmx.de> * * @brief Trivial File Transfer Protocol (RFC 1350) * * Copyright (c) Deltatee Enterprises Ltd. 2013 * All rights ...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/apps/tftp/tftp_server.c
C
apache-2.0
12,785
/* * Copyright (C) 2018 Alibaba Group Holding Limited */ #include "lwip/opt.h" #if LWIP_PACKET #include "lwip/sockets.h" #include "lwip/af_packet.h" #include "lwip/pbuf.h" #include "netif/ethernet.h" #include "lwip/netif.h" #include "lwip/priv/tcpip_priv.h" #include "lwip/debug.h" #include <string.h> #define PACK...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/core/af_packet.c
C
apache-2.0
27,913
/** * @file * Common functions used throughout the stack. * * These are reference implementations of the byte swapping functions. * Again with the aim of being simple, correct and fully portable. * Byte swapping is the second thing you would want to optimize. You will * need to port it to your architecture and i...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/core/def.c
C
apache-2.0
6,246
/** * @file * DNS - host name to IP address resolver. * * @defgroup dns DNS * @ingroup callbackstyle_api * * Implements a DNS host name to IP address resolver. * * The lwIP DNS resolver functions are used to lookup a host name and * map it to a numerical IP address. It maintains a list of resolved * hostname...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/core/dns.c
C
apache-2.0
56,033
/** * @file * Incluse internet checksum functions.\n * * These are some reference implementations of the checksum algorithm, with the * aim of being simple, correct and fully portable. Checksumming is the * first thing you would want to optimize for your platform. If you create * your own version, link it in and...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/core/inet_chksum.c
C
apache-2.0
19,072
/** * @file * Modules initialization * */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of ...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/core/init.c
C
apache-2.0
17,479
/** * @file * Common IPv4 and IPv6 code * * @defgroup ip IP * @ingroup callbackstyle_api * * @defgroup ip4 IPv4 * @ingroup ip * * @defgroup ip6 IPv6 * @ingroup ip * * @defgroup ipaddr IP address handling * @ingroup infrastructure * * @defgroup ip4addr IPv4 only * @ingroup ipaddr * * @defgroup ip6...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/core/ip.c
C
apache-2.0
3,561
/** * @file * AutoIP Automatic LinkLocal IP Configuration * * This is a AutoIP implementation for the lwIP TCP/IP stack. It aims to conform * with RFC 3927. * * @defgroup autoip AUTOIP * @ingroup ip4 * AUTOIP related functions * USAGE: * * define @ref LWIP_AUTOIP 1 in your lwipopts.h * Options: * AUTOIP_T...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/core/ipv4/autoip.c
C
apache-2.0
18,318
/** * @file * Dynamic Host Configuration Protocol client * * @defgroup dhcp4 DHCPv4 * @ingroup ip4 * DHCP (IPv4) related functions * This is a DHCP client for the lwIP TCP/IP stack. It aims to conform * with RFC 2131 and RFC 2132. * * @todo: * - Support for interfaces other than Ethernet (SLIP, PPP, ...) * ...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/core/ipv4/dhcp.c
C
apache-2.0
72,960
/** * @file * Address Resolution Protocol module for IP over Ethernet * * Functionally, ARP is divided into two parts. The first maps an IP address * to a physical address when sending a packet, and the second part answers * requests from other machines for our physical address. * * This implementation complies...
YifuLiu/AliOS-Things
components/lwip/lwip2.0.0/core/ipv4/etharp.c
C
apache-2.0
46,971