Table 3-22: Referencef - Wiznet W5100E01-AVR User Manual

Table of Contents

Advertisement

<Table 3-22: Reference Functions in ping_request()>
Function Name
void ping_request(void)
void ping_usage(void)
char ping
(int count, u_int size, u_int
time, u_char* addr, PINGLOG*
log)
void DisplayPingStatistics
(PINGLOG log)
void setIPprotocol
(SOCKET s, u_char ipprotocol)
char
socket(SOCKET
u_char protocol, u_int port,
u_char flag)
void close(SOCKET s);
int sendto(SOCKET s,
const u_char * buf, u_int len,
u_char * addr, u_int port)
int recvfrom(SOCKET s,
u_char * buf, u_int len,
u_char * addr, u_int * port)
SOCKET getSocket(unsigned
char status, SOCKET start)
© Copyright 2007 WIZnet Co., Inc. All rights reserved.
Description
Ping Request program
Outputs the instruction of Ping Request
program
Sends
Ping
Request
destination,
and
message received from any destination.
Outputs the results from ping() calling
Assigns IP protocol of the related socket
s,
Creates sockets related to as TCP/UDP/IP iinChip/socket.c
Closes the related socket
Sends
Datagram
destination.
Receives Datagram packet from any
destination
Searches for socket has the designated
status
app/ping_app.c
app/ping_app.c
to
specific
inet/ping.c
processes
ICMP
inet/ping.c
iinChip/w5100.c
iinChip/socket.c
packet
to
specific
iinChip/socket.c
iinChip/socket.c
util/sockutil.c
Location
48

Advertisement

Table of Contents
loading

Table of Contents