ENC28J60 is a SPI interface own TCP / IP protocol network chip, complete Keil C project, is available through the debugger.
File list:
STM32 ENC28J60
.............\TCPIP
.............\.....\ENC28J60.C
.............\.....\ENC28J60.H
.............\.....\ENC_main.c
.............\.....\ip_arp_udp_tcp.c
.............\.....\ip_arp_udp_tcp.h
.............\.....\net.h
.............\.....\simple_server.c
.............\.....\simple_server.h
.............\.....\SPI.C
.............\.....\SPI.H