18 lines
243 B
C
Executable File
18 lines
243 B
C
Executable File
#ifndef __ICMP_H
|
|
#define __ICMP_H
|
|
|
|
#include "skbuff.h"
|
|
#include "ip.h"
|
|
|
|
struct icmphdr
|
|
{
|
|
unsigned char type;
|
|
unsigned char code;
|
|
unsigned short check;
|
|
}__attribute__ ((packed));
|
|
|
|
|
|
int icmp_rcv_packet(sk_buff *skb);
|
|
|
|
#endif
|