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
/*-------------------------------- Arctic Core ------------------------------ * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. * Contact: <contact@arccore.com> * * You may ONLY use this file: * 1)if you have a valid commercial ArcCore license and then in accordance with * the terms contained in th...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/ArcticCore/mpc5xxx/fec_5xxx.h
C
unknown
1,931
#define LWIP_AR_MAJOR_VERSION 1 #define LWIP_AR_MINOR_VERSION 0 #define LWIP_AR_PATCH_VERSION 0 #define LWIP_SW_MAJOR_VERSION 1 #define LWIP_SW_MINOR_VERSION 0 #define LWIP_SW_PATCH_VERSION 0 /* New important lwip1.4.1 defines */ #define LWIP_TCPIP_CORE_LOCKING 1 #define LWIP_CHECKSUM_ON_COPY 1...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/ArcticCore/mpc5xxx/lwipopts.h
C
unknown
656
/* * tlb_init.c * * Created on: 11 feb 2011 * Author: jcar */ #include "Std_Types.h" #include "Cpu.h" #include "mpc55xx.h" /* size definitions */ #define SIZE_SHIFT 8 #define SIZE_1KB (0x0<<SIZE_SHIFT) #define SIZE_4KB (0x1<<SIZE_SHIFT) #define SIZE_16KB (0x2<<SIZE_SHIFT) #define S...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/ArcticCore/mpc5xxx/tlb_init.c
C
unknown
4,427
/** * @file * NetBIOS name service sample * */ /* * 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 condi...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/ArcticCore/netbios.c
C
unknown
10,358
#ifndef __NETBIOS_H__ #define __NETBIOS_H__ void netbios_init(void); #endif /* __NETBIOS_H__ */
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/ArcticCore/netbios.h
C
unknown
104
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/ArcticCore/sys_arch.c
C
unknown
12,978
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/ArcticCore/tc29x/arch/cc.h
C
unknown
2,734
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/ArcticCore/tc29x/arch/perf.h
C
unknown
1,798
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/ArcticCore/tc29x/arch/sys_arch.h
C
unknown
2,033
/** * @file * Ethernet Interface Skeleton * */ /* * 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...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/ArcticCore/tc29x/ethernetif.c
C
unknown
24,879
/*-------------------------------- Arctic Core ------------------------------ * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. * Contact: <contact@arccore.com> * * You may ONLY use this file: * 1)if you have a valid commercial ArcCore license and then in accordance with * the terms contained in th...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/ArcticCore/tc29x/ethernetif.h
C
unknown
1,350
#ifndef ETH_LWIPOPTS_H_ #define ETH_LWIPOPTS_H_ #include "stddef.h" #define LWIP_AR_MAJOR_VERSION 1 #define LWIP_AR_MINOR_VERSION 0 #define LWIP_AR_PATCH_VERSION 0 #define LWIP_SW_MAJOR_VERSION 1 #define LWIP_SW_MINOR_VERSION 0 #define LWIP_SW_PATCH_VERSION 0 /* New important lwip1.4.1 defi...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/ArcticCore/tc29x/lwipopts.h
C
unknown
847
/*-------------------------------- Arctic Core ------------------------------ * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com. * Contact: <contact@arccore.com> * * You may ONLY use this file: * 1)if you have a valid commercial ArcCore license and then in accordance with * the terms contained in th...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/ArcticCore/tc29x/memhdl.c
C
unknown
1,030
/************************************************************************* fsdata.c generator for UIP0.9 Works with cc65 C compiler Based on the work of Adam Dunkels <adam@dunkels.com> The syntax has been left as-is, with respect to the perl version Supports for a maximum of 2 levels directory and ...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/ArcticCore/utils/fsdata.c
C
unknown
3,231
/* * Copyright (c) 2001, 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 copyri...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/ArcticCore/utils/fsdata.h
C
unknown
2,099
# # 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 ...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/Filelists.mk
Makefile
unknown
2,263
# # 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 ...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/Common.mk
Makefile
unknown
3,640
# # 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 ...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/check/Makefile
Makefile
unknown
2,689
# # 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 ...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/fuzz/Makefile
Makefile
unknown
2,063
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/fuzz/fuzz.c
C
unknown
4,123
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/fuzz/lwipopts.h
C
unknown
3,061
#!/bin/bash if [ -z "$1" ] then echo "This script will make pcap files from the afl-fuzz crash/hang files" echo "It needs hexdump and text2pcap" echo "Please give output directory as argument" exit 2 fi for i in `ls $1/crashes/id*` do PCAPNAME=`echo $i | grep pcap` if [ -z "$PCAPNAME" ]; then he...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/fuzz/output_to_pcap.sh
Shell
unknown
626
# # 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 ...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/lib/Makefile
Makefile
unknown
1,980
/** * @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....
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/lib/lwipopts.h
C
unknown
12,226
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/lib/unixlib.c
C
unknown
3,338
# # 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 ...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/minimal/Makefile
Makefile
unknown
2,056
/** * @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....
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/minimal/lwipopts.h
C
unknown
13,289
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/minimal/main.c
C
unknown
6,476
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/include/arch/cc.h
C
unknown
3,281
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/include/arch/perf.h
C
unknown
2,726
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/include/arch/sys_arch.h
C
unknown
2,488
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/include/netif/delif.h
C
unknown
1,854
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/include/netif/dropif.h
C
unknown
1,811
#ifndef FIFO_H #define FIFO_H #include "lwip/sys.h" /** How many bytes in fifo */ #define FIFOSIZE 2048 /** fifo data structure, this one is passed to all fifo functions */ typedef struct fifo_t { u8_t data[FIFOSIZE+10]; /* data segment, +10 is a hack probably not needed.. FIXME! */ int dataslot; ...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/include/netif/fifo.h
C
unknown
1,768
#ifndef LWIP_LIST_H #define LWIP_LIST_H struct elem; struct list { struct elem *first, *last; int size, elems; }; struct elem { struct elem *next; void *data; }; struct list *list_new(int size); int list_push(struct list *list, void *data); void *list_pop(struct list *list); void *list_f...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/include/netif/list.h
C
unknown
540
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/include/netif/pcapif.h
C
unknown
1,785
#ifndef SIO_UNIX_H #define SIO_UNIX_H #include "lwip/sys.h" #include "lwip/netif.h" #include "netif/fifo.h" /*#include "netif/pppif.h"*/ struct sio_status_s { int fd; fifo_t myfifo; }; /* BAUDRATE is defined in sio.c as it is implementation specific */ /** Baudrates */ typedef enum sioBaudrates { ...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/include/netif/sio.h
C
unknown
1,731
/* * 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 copyri...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/include/netif/tapif.h
C
unknown
1,840
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/include/netif/tcpdump.h
C
unknown
1,821
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/include/netif/tunif.h
C
unknown
1,807
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/include/netif/unixif.h
C
unknown
1,840
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/netif/delif.c
C
unknown
10,418
/* Author: Magnus Ivarsson <magnus.ivarsson@volvo.com> */ /* ---------------------------------------------- */ /* --- fifo 4 unix ------------------------------ */ /* ---------------------------------------------- */ #include "lwip/err.h" #include "netif/fifo.h" #include "lwip/debug.h" #include "lwip/def.h" #...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/netif/fifo.c
C
unknown
3,282
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/netif/list.c
C
unknown
4,368
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/netif/pcapif.c
C
unknown
6,106
/* Author: Magnus Ivarsson <magnus.ivarsson@volvo.com> */ /* to get rid of implicit function declarations */ #define _XOPEN_SOURCE 600 #define _GNU_SOURCE #include "netif/sio.h" #include "netif/fifo.h" #include "lwip/debug.h" #include "lwip/def.h" #include "lwip/sys.h" #include "lwip/arch.h" #include "lwi...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/netif/sio.c
C
unknown
12,365
/* * 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 copyri...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/netif/tapif.c
C
unknown
12,012
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/netif/tcpdump.c
C
unknown
6,243
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/netif/tunif.c
C
unknown
8,606
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/netif/unixif.c
C
unknown
14,084
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/perf.c
C
unknown
2,248
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/port/sys_arch.c
C
unknown
16,984
#!/bin/bash # Run me using "source setup-tapif" to get exported PRECONFIGURED_TAPIF variable # Alternatively, add "export PRECONFIGURED_TAPIF=tap0" to ~/.bashrc # http://backreference.org/2010/03/26/tuntap-interface-tutorial/ # After executing this script, start unixsim/simhost. # Enter 192.168.0.2 or "http:...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/setup-tapif
Shell
unknown
551
# # 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 ...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/unixsim/Makefile
Makefile
unknown
2,463
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/unixsim/lwipopts.h
C
unknown
12,949
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/unixsim/simhost.c
C
unknown
19,847
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/unixsim/simnode.c
C
unknown
4,978
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/unix/unixsim/simrouter.c
C
unknown
5,379
/* config.h for check-0.9.8 on win32 under MSVC/MinGW */ #ifdef _MSC_VER typedef unsigned int pid_t; typedef unsigned int uint32_t; #define ssize_t size_t #define snprintf _snprintf #define HAVE_DECL_STRDUP 1 #define HAVE_DECL_FILENO 1 #define HAVE_DECL_PUTENV 1 #define _CRT_SECURE_NO_WARNINGS /* ...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/check/config.h
C
unknown
553
#ifndef LWIP_SYS__TIME_H #define LWIP_SYS__TIME_H #include <stdlib.h> /* time_t */ struct timeval { time_t tv_sec; /* seconds */ long tv_usec; /* and microseconds */ }; int gettimeofday(struct timeval* tp, void* tzp); #endif
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/check/sys/time.h
C
unknown
265
#include <time.h> #include <windows.h> #if defined(_MSC_VER) || defined(_MSC_EXTENSIONS) #define DELTA_EPOCH_IN_MICROSECS 11644473600000000Ui64 #else #define DELTA_EPOCH_IN_MICROSECS 11644473600000000ULL #endif #include "config.h" struct timezone { int tz_minuteswest; /* minutes W of Greenwich...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/check/time.c
C
unknown
1,381
#ifndef LWIP_UNISTD_H #define LWIP_UNISTD_H /* include io.h for read() and write() */ #include <io.h> #endif
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/check/unistd.h
C
unknown
118
#pragma pack(push,1)
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/include/arch/bpstruct.h
C
unknown
22
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/include/arch/cc.h
C
unknown
3,662
#pragma pack(pop)
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/include/arch/epstruct.h
C
unknown
19
/* * Copyright (c) 2001, 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 copyri...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/include/arch/perf.h
C
unknown
1,899
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/include/arch/sys_arch.h
C
unknown
3,188
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/include/lwipopts.h
C
unknown
10,890
#ifdef _MSC_VER #pragma warning (disable: 4242) /* PPP only: conversion from 'x' to 'y', possible loss of data */ #pragma warning (disable: 4244) /* PPP only: conversion from 'x' to 'y', possible loss of data (again?) */ #pragma warning (disable: 4310) /* PPP only: cast truncates constant value */ #pragma warning (...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/include/ppp_settings.h
C
unknown
416
/* OPTIONAL: Pools to replace heap allocation * Optional: Pools can be used instead of the heap for mem_malloc. If * so, these should be defined here, in increasing order according to * the pool element size. * * LWIP_MALLOC_MEMPOOL(number_elements, element_size) */ #if MEM_USE_POOLS LWIP_MALLOC_MEMPOOL_...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/lwippools.h
C
unknown
667
# # 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 ...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/mingw/Common.mk
Makefile
unknown
3,414
# # 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 ...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/mingw/Makefile
Makefile
unknown
2,062
/** * pcapif.c - This file is part of lwIP pcapif * **************************************************************************** * * This file is derived from an example in lwIP with the following license: * * Copyright (c) 2001, Swedish Institute of Computer Science. * All rights reserved. * * Redi...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/pcapif.c
C
unknown
30,222
#ifndef LWIP_PCAPIF_H #define LWIP_PCAPIF_H #ifdef __cplusplus extern "C" { #endif #include "lwip/err.h" /** Set to 1 to let rx use an own thread (only for NO_SYS==0). * If set to 0, ethernetif_poll is used to poll for packets. */ #ifndef PCAPIF_RX_USE_THREAD #define PCAPIF_RX_USE_THREAD !NO_SYS #end...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/pcapif.h
C
unknown
708
/** * pcapif_helper.c - This file is part of lwIP pcapif and provides helper functions * for managing the link state. */ #include "pcapif_helper.h" #include <stdlib.h> #include <stdio.h> #include "lwip/arch.h" #ifdef WIN32 #define WIN32_LEAN_AND_MEAN #ifdef _MSC_VER #pragma warning( push, 3 ) ...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/pcapif_helper.c
C
unknown
2,745
#ifndef LWIP_PCAPIF_HELPER_H #define LWIP_PCAPIF_HELPER_H #ifdef __cplusplus extern "C" { #endif struct pcapifh_linkstate; enum pcapifh_link_event { PCAPIF_LINKEVENT_UNKNOWN, PCAPIF_LINKEVENT_UP, PCAPIF_LINKEVENT_DOWN }; struct pcapifh_linkstate* pcapifh_linkstate_init(char *adapter_name); enu...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/pcapif_helper.h
C
unknown
532
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/sio.c
C
unknown
9,646
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/sys_arch.c
C
unknown
15,676
/* * Copyright (c) 2001,2002 Florian Schulze. * 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 * notic...
2301_81045437/classic-platform
communication/lwip-2.0.3/contrib/ports/win32/test.c
C
unknown
23,197
void eth_mac_irq() { /* Service MAC IRQ here */ /* Allocate pbuf from pool (avoid using heap in interrupts) */ struct pbuf* p = pbuf_alloc(PBUF_RAW, eth_data_count, PBUF_POOL); if(p != NULL) { /* Copy ethernet frame into pbuf */ pbuf_take(p, eth_data, eth_data_count); /* Put in a queu...
2301_81045437/classic-platform
communication/lwip-2.0.3/doc/NO_SYS_SampleCode.c
C
unknown
3,190
doxygen lwip.Doxyfile
2301_81045437/classic-platform
communication/lwip-2.0.3/doc/doxygen/generate.bat
Batchfile
unknown
23
#!/bin/sh doxygen lwip.Doxyfile
2301_81045437/classic-platform
communication/lwip-2.0.3/doc/doxygen/generate.sh
Shell
unknown
36
/** * @defgroup lwip lwIP * * @defgroup infrastructure Infrastructure * * @defgroup callbackstyle_api Callback-style APIs * Non thread-safe APIs, callback style for maximum performance and minimum * memory footprint. * * @defgroup sequential_api Sequential-style APIs * Sequential-style APIs, block...
2301_81045437/classic-platform
communication/lwip-2.0.3/doc/doxygen/main_page.h
C
unknown
4,958
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Redirection</title> <meta http-equiv="refresh" content="0; url=html/index.html" /> </head> <body> <a href="html/index.html">ind...
2301_81045437/classic-platform
communication/lwip-2.0.3/doc/doxygen/output/index.html
HTML
unknown
351
# # 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 ...
2301_81045437/classic-platform
communication/lwip-2.0.3/src/Filelists.mk
Makefile
unknown
6,121
/** * @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 functio...
2301_81045437/classic-platform
communication/lwip-2.0.3/src/api/api_lib.c
C
unknown
33,032
/** * @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...
2301_81045437/classic-platform
communication/lwip-2.0.3/src/api/api_msg.c
C
unknown
63,115
/** * @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. Redis...
2301_81045437/classic-platform
communication/lwip-2.0.3/src/api/err.c
C
unknown
4,853
/** * @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 n...
2301_81045437/classic-platform
communication/lwip-2.0.3/src/api/netbuf.c
C
unknown
7,289
/** * @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 ret...
2301_81045437/classic-platform
communication/lwip-2.0.3/src/api/netdb.c
C
unknown
13,662
/** * @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 */ /* * Redistrib...
2301_81045437/classic-platform
communication/lwip-2.0.3/src/api/netifapi.c
C
unknown
7,333
/** * @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 ...
2301_81045437/classic-platform
communication/lwip-2.0.3/src/api/sockets.c
C
unknown
95,660
/** * @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: * ...
2301_81045437/classic-platform
communication/lwip-2.0.3/src/api/tcpip_lwip.c
C
unknown
16,227
<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"> ...
2301_81045437/classic-platform
communication/lwip-2.0.3/src/apps/httpd/fs/404.html
HTML
unknown
565
<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"> ...
2301_81045437/classic-platform
communication/lwip-2.0.3/src/apps/httpd/fs/index.html
HTML
unknown
1,751
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/src/apps/httpd/fs.c
C
unknown
6,110
#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,0...
2301_81045437/classic-platform
communication/lwip-2.0.3/src/apps/httpd/fsdata.c
C
unknown
19,261
/* * 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 cop...
2301_81045437/classic-platform
communication/lwip-2.0.3/src/apps/httpd/fsdata.h
C
unknown
2,068
/** * @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. R...
2301_81045437/classic-platform
communication/lwip-2.0.3/src/apps/httpd/httpd.c
C
unknown
89,660
#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; /**...
2301_81045437/classic-platform
communication/lwip-2.0.3/src/apps/httpd/httpd_structs.h
C
unknown
4,671