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
* ICMP - Internet Control Message Protocol
*
*/
/*
* 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/core/ipv4/icmp.c | C | apache-2.0 | 13,699 |
/**
* @file
* IGMP - Internet Group Management Protocol
*
* @defgroup igmp IGMP
* @ingroup ip4
* To be called from TCPIP thread
*/
/*
* Copyright (c) 2002 CITEL Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted prov... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/ipv4/igmp.c | C | apache-2.0 | 27,254 |
/**
* @file
* This is the IPv4 layer implementation for incoming and outgoing IP traffic.
*
* @see ip_frag.c
*
*/
/*
* 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 pr... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/ipv4/ip4.c | C | apache-2.0 | 39,123 |
/**
* @file
* This is the IPv4 address tools 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:
*
... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/ipv4/ip4_addr.c | C | apache-2.0 | 8,988 |
/**
* @file
* This is the IPv4 packet segmentation and reassembly 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 con... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/ipv4/ip4_frag.c | C | apache-2.0 | 27,749 |
/**
* @file
*
* DHCPv6.
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* 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 c... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/ipv6/dhcp6.c | C | apache-2.0 | 1,914 |
/**
* @file
*
* Ethernet output for IPv6. Uses ND tables for link-layer addressing.
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* 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/core/ipv6/ethip6.c | C | apache-2.0 | 4,456 |
/**
* @file
*
* IPv6 version of ICMP, as per RFC 4443.
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* 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/core/ipv6/icmp6.c | C | apache-2.0 | 10,428 |
/**
* @file
*
* INET v6 addresses.
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* 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 ... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/ipv6/inet6.c | C | apache-2.0 | 2,041 |
/**
* @file
*
* IPv6 layer.
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* 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 abo... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/ipv6/ip6.c | C | apache-2.0 | 38,671 |
/**
* @file
*
* IPv6 addresses.
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* 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... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/ipv6/ip6_addr.c | C | apache-2.0 | 8,718 |
/**
* @file
*
* IPv6 fragmentation and reassembly.
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* 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 c... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/ipv6/ip6_frag.c | C | apache-2.0 | 25,487 |
/**
* @file
* Multicast listener discovery
*
* @defgroup mld6 MLD6
* @ingroup ip6
* Multicast listener discovery for IPv6. Aims to be compliant with RFC 2710.
* No support for MLDv2.\n
* To be called from TCPIP thread
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* All rights reserved.
*
* Redistribu... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/ipv6/mld6.c | C | apache-2.0 | 16,855 |
/**
* @file
*
* Neighbor discovery and stateless address autoconfiguration for IPv6.
* Aims to be compliant with RFC 4861 (Neighbor discovery) and RFC 4862
* (Address autoconfiguration).
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary ... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/ipv6/nd6.c | C | apache-2.0 | 63,546 |
/**
* @file
* Dynamic memory manager
*
* This is a lightweight replacement for the standard C library malloc().
*
* If you want to use the standard C library malloc() instead, define
* MEM_LIBC_MALLOC to 1 in your lwipopts.h
*
* To let mem_malloc() use pools (prevents fragmentation and is much faster than
* a... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/mem.c | C | apache-2.0 | 26,969 |
/**
* @file
* Dynamic pool memory manager
*
* lwIP has dedicated pools for many structures (netconn, protocol control blocks,
* packet buffers, ...). All these pools are managed here.
*
* @defgroup mempool Memory pools
* @ingroup infrastructure
* Custom memory pools
*/
/*
* Copyright (c) 2001-2004 Swedish ... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/memp.c | C | apache-2.0 | 13,203 |
/**
* @file
* lwIP network interface abstraction
*
* @defgroup netif Network interface (NETIF)
* @ingroup callbackstyle_api
*
* @defgroup netif_ip4 IPv4 address handling
* @ingroup netif
*
* @defgroup netif_ip6 IPv6 address handling
* @ingroup netif
*
* @defgroup netif_cd Client data handling
* Store ... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/netif.c | C | apache-2.0 | 39,479 |
/**
* @file
* Packet buffer management
*/
/**
* @defgroup pbuf Packet buffers (PBUF)
* @ingroup infrastructure
*
* Packets are built from the pbuf data structure. It supports dynamic
* memory allocation for packet contents or can reference externally
* managed packet contents both in RAM and ROM. Quick alloca... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/pbuf.c | C | apache-2.0 | 51,155 |
/*
* Copyright (C) 2018 Alibaba Group Holding Limited
*/
#include "lwip/opt.h"
#ifdef WITH_LWIP_PKTPRINT
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lwip/pbuf.h"
#include "lwip/debug.h"
#include "lwip/def.h"
#include "lwip/netif.h"
#if AOS_COMP_CLI
#include "aos/cli.h"
#endif
#define IPHDR_L... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/pkt_print.c | C | apache-2.0 | 24,012 |
/**
* @file
* Implementation of raw protocol PCBs for low-level handling of
* different types of protocols besides (or overriding) those
* already available in lwIP.\n
* See also @ref raw_raw
*
* @defgroup raw_raw RAW
* @ingroup callbackstyle_api
* Implementation of raw protocol PCBs for low-level handling of... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/raw.c | C | apache-2.0 | 15,508 |
/**
* @file
* Statistics 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 sourc... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/stats.c | C | apache-2.0 | 6,105 |
/**
* @file
* lwIP Operating System abstraction
*
*/
/*
* 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/core/sys.c | C | apache-2.0 | 2,232 |
/**
* @file
* Transmission Control Protocol for IP
* See also @ref tcp_raw
*
* @defgroup tcp_raw TCP
* @ingroup callbackstyle_api
* Transmission Control Protocol for IP\n
* @see @ref raw_api and @ref netconn
*
* Common functions for the TCP implementation, such as functinos
* for manipulating the data struct... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/tcp.c | C | apache-2.0 | 67,722 |
/**
* @file
* Transmission Control Protocol, incoming traffic
*
* The input processing functions of the TCP layer.
*
* These functions are generally called in the order (ip_input() ->)
* tcp_input() -> * tcp_process() -> tcp_receive() (-> application).
*
*/
/*
* Copyright (c) 2001-2004 Swedish Institute of C... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/tcp_in.c | C | apache-2.0 | 78,966 |
/**
* @file
* Transmission Control Protocol, outgoing traffic
*
* The output functions of TCP.
*
*/
/*
* 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 th... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/tcp_out.c | C | apache-2.0 | 58,572 |
/**
* @file
* Stack-internal timers implementation.
* This file includes timer callbacks for stack-internal timers as well as
* functions to set up or stop timers and check for expired timers.
*
*/
/*
* Copyright (c) 2001-2004 Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution a... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/timeouts.c | C | apache-2.0 | 12,464 |
/**
* @file
* User Datagram Protocol module\n
* The code for the User Datagram Protocol UDP & UDPLite (RFC 3828).\n
* See also @ref udp_raw
*
* @defgroup udp_raw UDP
* @ingroup callbackstyle_api
* User Datagram Protocol module\n
* @see @ref raw_api and @ref netconn
*/
/*
* Copyright (c) 2001-2004 Swedish I... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/core/udp.c | C | apache-2.0 | 39,645 |
/*
* Copyright (C) 2018 Alibaba Group Holding Limited
*/
#ifndef LWIP_HDR_AF_PACKET_H
#define LWIP_HDR_AF_PACKET_H
#include "lwip/opt.h"
#if LWIP_PACKET
#include "lwip/sys.h"
#include "lwip/sockets.h"
#include "lwip/netif.h"
/* If your port already typedef's socklen_t, define SOCKLEN_T_DEFINED
to prevent this ... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/af_packet.h | C | apache-2.0 | 4,682 |
/**
* @file
* netconn API (to be used from non-TCPIP threads)
*/
/*
* 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:
*
* ... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/api.h | C | apache-2.0 | 16,073 |
#ifndef __DHCPS_H__
#define __DHCPS_H__
#include "lwip/arch.h"
#include "lwip/netif.h"
#include "lwip/udp.h"
#include "lwip/stats.h"
#include "lwip/sys.h"
#define CONFIG_DHCPS_KEPT_CLIENT_INFO
#define DHCP_POOL_START 100
#define DHCP_POOL_END 200
#define DHCPS_MAX_CLIENT_NUM (DHCP_POOL_END-DHCP_POOL_START+1)
... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/dhcps.h | C | apache-2.0 | 5,307 |
/*
* 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/include/lwip/apps/fs.h | C | apache-2.0 | 3,567 |
/**
* @file
* HTTP server
*/
/*
* 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 mu... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/httpd.h | C | apache-2.0 | 9,967 |
/**
* @file
* HTTP server options list
*/
/*
* 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 s... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/httpd_opts.h | C | apache-2.0 | 12,355 |
/*
* Copyright (C) 2017-2020 Alibaba Group Holding Limited
*/
#ifndef LWIP_IFCONFIG_H
#define LWIP_IFCONFIG_H
int ifconfig(int argc,char *argv[]);
#endif /* LWIP_IFCONFIG_H */
| YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/ifconfig.h | C | apache-2.0 | 178 |
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
/******************************************************
* Function Declarations
******************************************************/
/**
* @brief Add iperf command lines to MiCO CLI.
* @param none.
* @retval kNoErr is returned on success... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/iperf_cli.h | C | apache-2.0 | 436 |
#pragma once
/******************************************************
* Constants
******************************************************/
#define IPERF_DEBUG_ENABLE
#define IPERF_DEBUG_RECEIVE (1<<0)
#define IPERF_DEBUG_SEND (1<<1)
#define IPERF_DEBUG_REPORT (1<<2)
| YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/iperf_debug.h | C | apache-2.0 | 307 |
#pragma once
/******************************************************
* Macros
******************************************************/
/******************************************************
* Constants
******************************************************/
/* for iperf t... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/iperf_task.h | C | apache-2.0 | 1,346 |
/**
* @file
* MDNS responder
*/
/*
* Copyright (c) 2015 Verisure Innovation AB
* 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 abo... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/mdns.h | C | apache-2.0 | 2,641 |
/**
* @file
* MDNS responder
*/
/*
* Copyright (c) 2015 Verisure Innovation AB
* 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 abo... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/mdns_opts.h | C | apache-2.0 | 2,343 |
/**
* @file
* MDNS responder private definitions
*/
/*
* Copyright (c) 2015 Verisure Innovation AB
* 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/include/lwip/apps/mdns_priv.h | C | apache-2.0 | 2,531 |
/**
* @file
* NETBIOS name service responder
*/
/*
* 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 th... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/netbiosns.h | C | apache-2.0 | 1,787 |
/**
* @file
* NETBIOS name service responder options
*/
/*
* 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 condition... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/netbiosns_opts.h | C | apache-2.0 | 2,264 |
/*
* Copyright (C) 2017-2019 Alibaba Group Holding Limited
*/
#ifndef LWIP_PING_H
#define LWIP_PING_H
#include "lwip/ip_addr.h"
/**
* PING_USE_SOCKETS: Set to 1 to use sockets, otherwise the raw api is used
*/
#ifndef PING_USE_SOCKETS
#define PING_USE_SOCKETS LWIP_SOCKET
#endif
void ping_init(const ip_addr_t*... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/ping.h | C | apache-2.0 | 439 |
/*
* Copyright (C) 2017-2019 Alibaba Group Holding Limited
*/
#ifndef LWIP_SENDFILE_H
#define LWIP_SENDFILE_H
ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count);
#endif /* LWIP_PING_H */
| YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/sendfile.h | C | apache-2.0 | 207 |
/**
* @file
* SNMP server main API - start and basic configuration
*/
/*
* Copyright (c) 2001, 2002 Leon Woestenberg <leon.woestenberg@axon.tv>
* Copyright (c) 2001, 2002 Axon Digital Design B.V., The Netherlands.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without mod... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/snmp.h | C | apache-2.0 | 4,504 |
/**
* @file
* SNMP core API for implementing MIBs
*/
/*
* 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. Redistribu... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/snmp_core.h | C | apache-2.0 | 14,444 |
/**
* @file
* SNMP MIB2 API
*/
/*
* 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 ... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/snmp_mib2.h | C | apache-2.0 | 2,930 |
/**
* @file
* SNMP server options list
*/
/*
* Copyright (c) 2015 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:
*
* 1. Redistributions of source code must retain the ... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/snmp_opts.h | C | apache-2.0 | 9,521 |
/**
* @file
* SNMP server MIB API to implement scalar nodes
*/
/*
* 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.... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/snmp_scalar.h | C | apache-2.0 | 4,516 |
/**
* @file
* SNMP server MIB API to implement table nodes
*/
/*
* 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. ... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/snmp_table.h | C | apache-2.0 | 5,510 |
/**
* @file
* SNMP server MIB API to implement thread synchronization
*/
/*
* 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... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/snmp_threadsync.h | C | apache-2.0 | 3,799 |
/**
* @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/include/lwip/apps/snmpv3.h | C | apache-2.0 | 3,332 |
/**
* @file
* SNTP client API
*/
/*
* 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 mu... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/sntp.h | C | apache-2.0 | 2,636 |
/**
* @file
* SNTP client options list
*/
/*
* 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 sourc... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/sntp_opts.h | C | apache-2.0 | 6,298 |
/*
* 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/include/lwip/apps/telnetserver.h | C | apache-2.0 | 9,325 |
/****************************************************************//**
*
* @file tftp.h
*
* @author Logan Gunthorpe <logang@deltatee.com>
*
* @brief Trivial File Transfer Protocol (RFC 1350)
*
* Copyright (c) Deltatee Enterprises Ltd. 2013
* All rights reserved.
*
****************************************... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/tftp.h | C | apache-2.0 | 4,100 |
/****************************************************************//**
*
* @file tftp_opts.h
*
* @author Logan Gunthorpe <logang@deltatee.com>
*
* @brief Trivial File Transfer Protocol (RFC 1350) implementation options
*
* Copyright (c) Deltatee Enterprises Ltd. 2013
* All rights reserved.
*
************... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/apps/tftp_opts.h | C | apache-2.0 | 2,982 |
/**
* @file
* Support for different processor and compiler architectures
*/
/*
* 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 ... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/arch.h | C | apache-2.0 | 6,102 |
/**
* @file
*
* AutoIP Automatic LinkLocal IP Configuration
*/
/*
*
* Copyright (c) 2007 Dominik Spies <kontakt@dspies.de>
* 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. Redis... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/autoip.h | C | apache-2.0 | 3,366 |
/**
* @file
* Debug messages infrastructure
*/
/*
* 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/include/lwip/debug.h | C | apache-2.0 | 6,158 |
/**
* @file
* various utility macros
*/
/*
* 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/include/lwip/def.h | C | apache-2.0 | 4,758 |
/**
* @file
* DHCP client API
*/
/*
* Copyright (c) 2001-2004 Leon Woestenberg <leon.woestenberg@gmx.net>
* Copyright (c) 2001-2004 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 th... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/dhcp.h | C | apache-2.0 | 5,665 |
/**
* @file
*
* IPv6 address autoconfiguration as per RFC 4862.
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* 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. Redistribution... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/dhcp6.h | C | apache-2.0 | 2,072 |
/**
* @file
* DNS API
*/
/**
* lwip DNS resolver header file.
* Author: Jim Pettinato
* April 2007
* ported from uIP resolv.c Copyright (c) 2002-2003, Adam Dunkels.
*
* 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/include/lwip/dns.h | C | apache-2.0 | 4,623 |
/**
* @file
* lwIP Error codes
*/
/*
* 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 cod... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/err.h | C | apache-2.0 | 3,380 |
/**
* @file
* Posix Errno defines
*/
/*
* 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... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/errno.h | C | apache-2.0 | 9,096 |
/**
* @file
* Ethernet output function - handles OUTGOING ethernet level traffic, implements
* ARP resolving.
* To be used in most low-level netif implementations
*/
/*
* Copyright (c) 2001-2003 Swedish Institute of Computer Science.
* Copyright (c) 2003-2004 Leon Woestenberg <leon.woestenberg@axon.tv>
* Copyr... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/etharp.h | C | apache-2.0 | 4,061 |
/**
* @file
*
* Ethernet output for IPv6. Uses ND tables for link-layer addressing.
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* 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/include/lwip/ethip6.h | C | apache-2.0 | 2,258 |
/**
* @file
* ICMP API
*/
/*
* 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 ... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/icmp.h | C | apache-2.0 | 3,792 |
/**
* @file
*
* IPv6 version of ICMP, as per RFC 4443.
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* 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/include/lwip/icmp6.h | C | apache-2.0 | 4,729 |
/**
* @file
* IGMP API
*/
/*
* Copyright (c) 2002 CITEL Technologies Ltd.
* 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 cop... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/igmp.h | C | apache-2.0 | 4,355 |
/**
* @file
* This file (together with sockets.h) aims to provide structs and functions from
* - arpa/inet.h
* - netinet/in.h
*
*/
/*
* Copyright (c) 2001-2004 Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
*... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/inet.h | C | apache-2.0 | 7,037 |
/**
* @file
* IP checksum calculation functions
*/
/*
* 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/include/lwip/inet_chksum.h | C | apache-2.0 | 3,910 |
/**
* @file
* lwIP initialization API
*/
/*
* 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 so... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/init.h | C | apache-2.0 | 3,656 |
/**
* @file
* IP API
*/
/*
* 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 re... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/ip.h | C | apache-2.0 | 13,307 |
/**
* @file
* IPv4 API
*/
/*
* 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 ... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/ip4.h | C | apache-2.0 | 3,988 |
/**
* @file
* IPv4 address API
*/
/*
* 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 co... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/ip4_addr.h | C | apache-2.0 | 10,399 |
/**
* @file
* IP fragmentation/reassembly
*/
/*
* 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 o... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/ip4_frag.h | C | apache-2.0 | 3,090 |
/**
* @file
*
* IPv6 layer.
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* 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 abo... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/ip6.h | C | apache-2.0 | 3,549 |
/**
* @file
*
* IPv6 addresses.
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* 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... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/ip6_addr.h | C | apache-2.0 | 15,707 |
/**
* @file
*
* IPv6 fragmentation and reassembly.
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* 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 c... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/ip6_frag.h | C | apache-2.0 | 4,009 |
/**
* @file
*
* IPv6 address scopes, zones, and scoping policy.
*
* This header provides the means to implement support for IPv6 address scopes,
* as per RFC 4007. An address scope can be either global or more constrained.
* In lwIP, we say that an address "has a scope" or "is scoped" when its scope
* is constr... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/ip6_zone.h | C | apache-2.0 | 13,802 |
/**
* @file
* IP address API (common IPv4 and IPv6)
*/
/*
* 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. Redistr... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/ip_addr.h | C | apache-2.0 | 16,327 |
/**
* @file
* Heap API
*/
/*
* 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 ... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/mem.h | C | apache-2.0 | 2,449 |
/**
* @file
* Memory pool API
*/
/*
* 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 cod... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/memp.h | C | apache-2.0 | 5,134 |
/**
* @file
*
* Multicast listener discovery for IPv6. Aims to be compliant with RFC 2710.
* No support for MLDv2.
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* 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/include/lwip/mld6.h | C | apache-2.0 | 3,547 |
/**
* @file
*
* Neighbor discovery and stateless address autoconfiguration for IPv6.
* Aims to be compliant with RFC 4861 (Neighbor discovery) and RFC 4862
* (Address autoconfiguration).
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary ... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/nd6.h | C | apache-2.0 | 5,042 |
/**
* @file
* netbuf API (for netconn API)
*/
/*
* 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/include/lwip/netbuf.h | C | apache-2.0 | 4,607 |
/**
* @file
* NETDB API (sockets)
*/
/*
* 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 following... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/netdb.h | C | apache-2.0 | 5,340 |
/**
* @file
* netif API (to be used from TCPIP thread)
*/
/*
* 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/include/lwip/netif.h | C | apache-2.0 | 19,157 |
/**
* @file
* netif API (to be used from non-TCPIP threads)
*/
/*
* 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 co... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/netifapi.h | C | apache-2.0 | 5,047 |
/**
* @file
*
* lwIP Options Configuration
*/
/*
* 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/include/lwip/opt.h | C | apache-2.0 | 85,608 |
/**
* @file
* pbuf API
*/
/*
* 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 ... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/pbuf.h | C | apache-2.0 | 11,529 |
/**
* @file
* netconn API lwIP internal implementations (do not use in application 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... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/priv/api_msg.h | C | apache-2.0 | 7,326 |
/**
* @file
* memory pools lwIP internal implementations (do not use in application 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 followin... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/priv/memp_priv.h | C | apache-2.0 | 6,437 |
/**
* @file
* lwIP internal memory pools (do not use in application code)
* This file is deliberately included multiple times: once with empty
* definition of LWIP_MEMPOOL() to handle all includes and multiple times
* to build up various lists of mem pools.
*/
/*
* SETUP: Make sure we define everything we will ... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/priv/memp_std.h | C | apache-2.0 | 7,002 |
/**
* @file
* TCP internal implementations (do not use in application 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 conditions a... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/priv/tcp_priv.h | C | apache-2.0 | 21,780 |
/**
* @file
* TCPIP API internal implementations (do not use in application 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/include/lwip/priv/tcpip_priv.h | C | apache-2.0 | 5,624 |
/**
* @file
* AutoIP protocol definitions
*/
/*
*
* Copyright (c) 2007 Dominik Spies <kontakt@dspies.de>
* 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 sourc... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/prot/autoip.h | C | apache-2.0 | 3,188 |
/**
* @file
* DHCP protocol definitions
*/
/*
* Copyright (c) 2001-2004 Leon Woestenberg <leon.woestenberg@gmx.net>
* Copyright (c) 2001-2004 Axon Digital Design B.V., The Netherlands.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted p... | YifuLiu/AliOS-Things | components/lwip/lwip2.0.0/include/lwip/prot/dhcp.h | C | apache-2.0 | 6,494 |