icmp.c File Reference

#include <inet.h>

Functions

void icmp_proto_init (void)
int icmp_attach (struct s_socket *so)
int icmp_detach (struct s_socket *so)
int icmp_send (struct s_socket *so, struct s_data_buf *data, size_t data_size, struct sockaddr *sa, socklen_t salen)
size_t icmp_recv (struct s_socket *so, pid_t pid, struct sockaddr *sa, socklen_t *salen, vaddr_t uaddr, size_t usize)
void icmp_unreach_send (struct in_addr *dst_addr, u_int8_t code)
void icmp_echo (struct s_pkbuf *pk)
void icmp_dump (struct s_pkbuf *pk)
int aa_icmp_input (struct s_pkbuf *pk)

Variables

static struct s_icmp_proto_info icmp_proto_info
static struct s_icmp_action icmp_actions []

Function Documentation

int aa_icmp_input struct s_pkbuf pk  ) 
 

int icmp_attach struct s_socket so  ) 
 

int icmp_detach struct s_socket so  ) 
 

void icmp_dump struct s_pkbuf pk  ) 
 

void icmp_echo struct s_pkbuf pk  ) 
 

void icmp_proto_init void   ) 
 

size_t icmp_recv struct s_socket so,
pid_t  pid,
struct sockaddr sa,
socklen_t salen,
vaddr_t  uaddr,
size_t  usize
 

int icmp_send struct s_socket so,
struct s_data_buf data,
size_t  data_size,
struct sockaddr sa,
socklen_t  salen
 

void icmp_unreach_send struct in_addr dst_addr,
u_int8_t  code
 


Variable Documentation

struct s_icmp_action icmp_actions[] [static]
 

Initial value:

 
  {
    { ICMP_ECHO, icmp_echo },
    { 0, NULL }
  }

struct s_icmp_proto_info icmp_proto_info [static]
 


Generated on Wed May 24 23:06:03 2006 for LSE/OS by  doxygen 1.4.6