Annotation of embedaddon/hping2/hcmp.h, revision 1.1.1.1

1.1       misho       1: /* 
                      2:  * $smu-mark$ 
                      3:  * $name: hcmp.h$ 
                      4:  * $author: Salvatore Sanfilippo <antirez@invece.org>$ 
                      5:  * $copyright: Copyright (C) 1999 by Salvatore Sanfilippo$ 
                      6:  * $license: This software is under GPL version 2 of license$ 
                      7:  * $date: Fri Nov  5 11:55:47 MET 1999$ 
                      8:  * $rev: 9$ 
                      9:  */ 
                     10: 
                     11: /* Hping Control Message Protocol */
                     12: 
                     13: #define HCMP_RESTART           1
                     14: #define HCMP_SOURCE_QUENCH     2
                     15: #define HCMP_SOURCE_STIRUP     3
                     16: #define HCMP_CHPROTO           4 /* still unused */
                     17: 
                     18: struct hcmphdr
                     19: {
                     20:        __u8    type;
                     21:        union
                     22:        {
                     23:                __u16 seqnum;
                     24:                __u32 usec;
                     25:        } typedep;
                     26: };

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>