Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

libnet-headers.h File Reference

Go to the source code of this file.

Defines

#define LIBNET_ARP_H   0x1c
#define LIBNET_DNS_H   0xc
#define LIBNET_ETH_H   0xe
#define LIBNET_ICMP_H   0x4
#define LIBNET_ICMP_ECHO_H   0x8
#define LIBNET_ICMP_MASK_H   0xc
#define LIBNET_ICMP_UNREACH_H   0x8
#define LIBNET_ICMP_TIMXCEED_H   0x8
#define LIBNET_ICMP_REDIRECT_H   0x8
#define LIBNET_ICMP_TS_H   0x14
#define LIBNET_IGMP_H   0x8
#define LIBNET_IP_H   0x14
#define LIBNET_RIP_H   0x18
#define LIBNET_TCP_H   0x14
#define LIBNET_UDP_H   0x8
#define ARP_H   LIBNET_ARP_H
#define DNS_H   LIBNET_DNS_H
#define ETH_H   LIBNET_ETH_H
#define ICMP_H   LIBNET_ICMP_H
#define ICMP_ECHO_H   LIBNET_ICMP_ECHO_H
#define ICMP_MASK_H   LIBNET_ICMP_MASK_H
#define ICMP_UNREACH_H   LIBNET_ICMP_UNREACH_H
#define ICMP_TIMXCEED_H   LIBNET_ICMP_TIMXCEED_H
#define ICMP_REDIRECT_H   LIBNET_ICMP_REDIRECT_H
#define ICMP_TS_H   LIBNET_ICMP_TS_H
#define IGMP_H   LIBNET_IGMP_H
#define IP_H   LIBNET_IP_H
#define RIP_H   LIBNET_RIP_H
#define TCP_H   LIBNET_TCP_H
#define UDP_H   LIBNET_UDP_H
#define IP_RF   0x8000
#define IP_DF   0x4000
#define IP_MF   0x2000
#define IP_OFFMASK   0x1fff
#define IP_MAXPACKET   65535
#define TH_FIN   0x01
#define TH_SYN   0x02
#define TH_RST   0x04
#define TH_PUSH   0x08
#define TH_ACK   0x10
#define TH_URG   0x20
#define ICMP_ECHOREPLY   0
#define ICMP_UNREACH   3
#define ICMP_SOURCEQUENCH   4
#define ICMP_REDIRECT   5
#define ICMP_ECHO   8
#define ICMP_ROUTERADVERT   9
#define ICMP_ROUTERSOLICIT   10
#define ICMP_TIMXCEED   11
#define ICMP_PARAMPROB   12
#define ICMP_TSTAMP   13
#define ICMP_TSTAMPREPLY   14
#define ICMP_IREQ   15
#define ICMP_IREQREPLY   16
#define ICMP_MASKREQ   17
#define ICMP_MASKREPLY   18
#define ICMP_UNREACH_NET   0
#define ICMP_UNREACH_HOST   1
#define ICMP_UNREACH_PROTOCOL   2
#define ICMP_UNREACH_PORT   3
#define ICMP_UNREACH_NEEDFRAG   4
#define ICMP_UNREACH_SRCFAIL   5
#define ICMP_UNREACH_NET_UNKNOWN   6
#define ICMP_UNREACH_HOST_UNKNOWN   7
#define ICMP_UNREACH_ISOLATED   8
#define ICMP_UNREACH_NET_PROHIB   9
#define ICMP_UNREACH_HOST_PROHIB   10
#define ICMP_UNREACH_TOSNET   11
#define ICMP_UNREACH_TOSHOST   12
#define ICMP_UNREACH_FILTER_PROHIB   13
#define ICMP_UNREACH_HOST_PRECEDENCE   14
#define ICMP_UNREACH_PRECEDENCE_CUTOFF   15
#define ICMP_REDIRECT_NET   0
#define ICMP_REDIRECT_HOST   1
#define ICMP_REDIRECT_TOSNET   2
#define ICMP_REDIRECT_TOSHOST   3
#define ICMP_TIMXCEED_INTRANS   0
#define ICMP_TIMXCEED_REASS   1
#define ICMP_PARAMPROB_OPTABSENT   1
#define icmp_id   hun.echo.id
#define icmp_seq   hun.echo.seq
#define icmp_mask   dun.mask
#define icmp_data   dun.data
#define icmp_otime   dun.ts.its_otime
#define icmp_rtime   dun.ts.its_rtime
#define icmp_ttime   dun.ts.its_ttime
#define IGMP_MEMBERSHIP_QUERY   0x11
#define IGMP_V1_MEMBERSHIP_REPORT   0x12
#define IGMP_V2_MEMBERSHIP_REPORT   0x16
#define IGMP_LEAVE_GROUP   0x17
#define ETHER_ADDR_LEN   6
#define ETHERTYPE_PUP   0x0200
#define ETHERTYPE_IP   0x0800
#define ETHERTYPE_ARP   0x0806
#define ETHERTYPE_REVARP   0x8035
#define ETHERTYPE_VLAN   0x8100
#define ETHERTYPE_LOOPBACK   0x9000
#define ARPHRD_ETHER   1
#define ARPOP_REQUEST   1
#define ARPOP_REPLY   2
#define ARPOP_REVREQUEST   3
#define ARPOP_REVREPLY   4
#define ARPOP_INVREQUEST   8
#define ARPOP_INVREPLY   9
#define RIPCMD_REQUEST   1
#define RIPCMD_RESPONSE   2
#define RIPCMD_TRACEON   3
#define RIPCMD_TRACEOFF   4
#define RIPCMD_POLL   5
#define RIPCMD_POLLENTRY   6
#define RIPCMD_MAX   7
#define RIPVER_0   0
#define RIPVER_1   1
#define RIPVER_2   2


Define Documentation

#define ARP_H   LIBNET_ARP_H
 

Definition at line 59 of file libnet-headers.h.

#define ARPHRD_ETHER   1
 

Definition at line 408 of file libnet-headers.h.

#define ARPOP_INVREPLY   9
 

Definition at line 418 of file libnet-headers.h.

#define ARPOP_INVREQUEST   8
 

Definition at line 417 of file libnet-headers.h.

#define ARPOP_REPLY   2
 

Definition at line 414 of file libnet-headers.h.

#define ARPOP_REQUEST   1
 

Definition at line 413 of file libnet-headers.h.

#define ARPOP_REVREPLY   4
 

Definition at line 416 of file libnet-headers.h.

#define ARPOP_REVREQUEST   3
 

Definition at line 415 of file libnet-headers.h.

#define DNS_H   LIBNET_DNS_H
 

Definition at line 60 of file libnet-headers.h.

#define ETH_H   LIBNET_ETH_H
 

Definition at line 61 of file libnet-headers.h.

#define ETHER_ADDR_LEN   6
 

Definition at line 380 of file libnet-headers.h.

#define ETHERTYPE_ARP   0x0806
 

Definition at line 389 of file libnet-headers.h.

#define ETHERTYPE_IP   0x0800
 

Definition at line 388 of file libnet-headers.h.

#define ETHERTYPE_LOOPBACK   0x9000
 

Definition at line 392 of file libnet-headers.h.

#define ETHERTYPE_PUP   0x0200
 

Definition at line 387 of file libnet-headers.h.

#define ETHERTYPE_REVARP   0x8035
 

Definition at line 390 of file libnet-headers.h.

#define ETHERTYPE_VLAN   0x8100
 

Definition at line 391 of file libnet-headers.h.

#define icmp_data   dun.data
 

Definition at line 337 of file libnet-headers.h.

#define ICMP_ECHO   8
 

Definition at line 190 of file libnet-headers.h.

#define ICMP_ECHO_H   LIBNET_ICMP_ECHO_H
 

Definition at line 63 of file libnet-headers.h.

#define ICMP_ECHOREPLY   0
 

Definition at line 178 of file libnet-headers.h.

#define ICMP_H   LIBNET_ICMP_H
 

Definition at line 62 of file libnet-headers.h.

#define icmp_id   hun.echo.id
 

Definition at line 308 of file libnet-headers.h.

#define ICMP_IREQ   15
 

Definition at line 211 of file libnet-headers.h.

#define ICMP_IREQREPLY   16
 

Definition at line 214 of file libnet-headers.h.

#define icmp_mask   dun.mask
 

Definition at line 335 of file libnet-headers.h.

#define ICMP_MASK_H   LIBNET_ICMP_MASK_H
 

Definition at line 64 of file libnet-headers.h.

#define ICMP_MASKREPLY   18
 

Definition at line 220 of file libnet-headers.h.

#define ICMP_MASKREQ   17
 

Definition at line 217 of file libnet-headers.h.

#define icmp_otime   dun.ts.its_otime
 

Definition at line 340 of file libnet-headers.h.

#define ICMP_PARAMPROB   12
 

Definition at line 202 of file libnet-headers.h.

#define ICMP_PARAMPROB_OPTABSENT   1
 

Definition at line 293 of file libnet-headers.h.

#define ICMP_REDIRECT   5
 

Definition at line 187 of file libnet-headers.h.

#define ICMP_REDIRECT_H   LIBNET_ICMP_REDIRECT_H
 

Definition at line 67 of file libnet-headers.h.

#define ICMP_REDIRECT_HOST   1
 

Definition at line 278 of file libnet-headers.h.

#define ICMP_REDIRECT_NET   0
 

Definition at line 275 of file libnet-headers.h.

#define ICMP_REDIRECT_TOSHOST   3
 

Definition at line 284 of file libnet-headers.h.

#define ICMP_REDIRECT_TOSNET   2
 

Definition at line 281 of file libnet-headers.h.

#define ICMP_ROUTERADVERT   9
 

Definition at line 193 of file libnet-headers.h.

#define ICMP_ROUTERSOLICIT   10
 

Definition at line 196 of file libnet-headers.h.

#define icmp_rtime   dun.ts.its_rtime
 

Definition at line 342 of file libnet-headers.h.

#define icmp_seq   hun.echo.seq
 

Definition at line 309 of file libnet-headers.h.

#define ICMP_SOURCEQUENCH   4
 

Definition at line 184 of file libnet-headers.h.

#define ICMP_TIMXCEED   11
 

Definition at line 199 of file libnet-headers.h.

#define ICMP_TIMXCEED_H   LIBNET_ICMP_TIMXCEED_H
 

Definition at line 66 of file libnet-headers.h.

#define ICMP_TIMXCEED_INTRANS   0
 

Definition at line 287 of file libnet-headers.h.

#define ICMP_TIMXCEED_REASS   1
 

Definition at line 290 of file libnet-headers.h.

#define ICMP_TS_H   LIBNET_ICMP_TS_H
 

Definition at line 68 of file libnet-headers.h.

#define ICMP_TSTAMP   13
 

Definition at line 205 of file libnet-headers.h.

#define ICMP_TSTAMPREPLY   14
 

Definition at line 208 of file libnet-headers.h.

#define icmp_ttime   dun.ts.its_ttime
 

Definition at line 344 of file libnet-headers.h.

#define ICMP_UNREACH   3
 

Definition at line 181 of file libnet-headers.h.

#define ICMP_UNREACH_FILTER_PROHIB   13
 

Definition at line 266 of file libnet-headers.h.

#define ICMP_UNREACH_H   LIBNET_ICMP_UNREACH_H
 

Definition at line 65 of file libnet-headers.h.

#define ICMP_UNREACH_HOST   1
 

Definition at line 230 of file libnet-headers.h.

#define ICMP_UNREACH_HOST_PRECEDENCE   14
 

Definition at line 269 of file libnet-headers.h.

#define ICMP_UNREACH_HOST_PROHIB   10
 

Definition at line 257 of file libnet-headers.h.

#define ICMP_UNREACH_HOST_UNKNOWN   7
 

Definition at line 248 of file libnet-headers.h.

#define ICMP_UNREACH_ISOLATED   8
 

Definition at line 251 of file libnet-headers.h.

#define ICMP_UNREACH_NEEDFRAG   4
 

Definition at line 239 of file libnet-headers.h.

#define ICMP_UNREACH_NET   0
 

Definition at line 227 of file libnet-headers.h.

#define ICMP_UNREACH_NET_PROHIB   9
 

Definition at line 254 of file libnet-headers.h.

#define ICMP_UNREACH_NET_UNKNOWN   6
 

Definition at line 245 of file libnet-headers.h.

#define ICMP_UNREACH_PORT   3
 

Definition at line 236 of file libnet-headers.h.

#define ICMP_UNREACH_PRECEDENCE_CUTOFF   15
 

Definition at line 272 of file libnet-headers.h.

#define ICMP_UNREACH_PROTOCOL   2
 

Definition at line 233 of file libnet-headers.h.

#define ICMP_UNREACH_SRCFAIL   5
 

Definition at line 242 of file libnet-headers.h.

#define ICMP_UNREACH_TOSHOST   12
 

Definition at line 263 of file libnet-headers.h.

#define ICMP_UNREACH_TOSNET   11
 

Definition at line 260 of file libnet-headers.h.

#define IGMP_H   LIBNET_IGMP_H
 

Definition at line 69 of file libnet-headers.h.

#define IGMP_LEAVE_GROUP   0x17
 

Definition at line 365 of file libnet-headers.h.

#define IGMP_MEMBERSHIP_QUERY   0x11
 

Definition at line 356 of file libnet-headers.h.

#define IGMP_V1_MEMBERSHIP_REPORT   0x12
 

Definition at line 359 of file libnet-headers.h.

#define IGMP_V2_MEMBERSHIP_REPORT   0x16
 

Definition at line 362 of file libnet-headers.h.

#define IP_DF   0x4000
 

Definition at line 96 of file libnet-headers.h.

#define IP_H   LIBNET_IP_H
 

Definition at line 70 of file libnet-headers.h.

#define IP_MAXPACKET   65535
 

Definition at line 111 of file libnet-headers.h.

#define IP_MF   0x2000
 

Definition at line 99 of file libnet-headers.h.

#define IP_OFFMASK   0x1fff
 

Definition at line 102 of file libnet-headers.h.

#define IP_RF   0x8000
 

Definition at line 93 of file libnet-headers.h.

#define LIBNET_ARP_H   0x1c
 

Definition at line 39 of file libnet-headers.h.

#define LIBNET_DNS_H   0xc
 

Definition at line 40 of file libnet-headers.h.

#define LIBNET_ETH_H   0xe
 

Definition at line 41 of file libnet-headers.h.

#define LIBNET_ICMP_ECHO_H   0x8
 

Definition at line 43 of file libnet-headers.h.

#define LIBNET_ICMP_H   0x4
 

Definition at line 42 of file libnet-headers.h.

#define LIBNET_ICMP_MASK_H   0xc
 

Definition at line 44 of file libnet-headers.h.

#define LIBNET_ICMP_REDIRECT_H   0x8
 

Definition at line 47 of file libnet-headers.h.

#define LIBNET_ICMP_TIMXCEED_H   0x8
 

Definition at line 46 of file libnet-headers.h.

#define LIBNET_ICMP_TS_H   0x14
 

Definition at line 48 of file libnet-headers.h.

#define LIBNET_ICMP_UNREACH_H   0x8
 

Definition at line 45 of file libnet-headers.h.

#define LIBNET_IGMP_H   0x8
 

Definition at line 49 of file libnet-headers.h.

#define LIBNET_IP_H   0x14
 

Definition at line 50 of file libnet-headers.h.

#define LIBNET_RIP_H   0x18
 

Definition at line 52 of file libnet-headers.h.

#define LIBNET_TCP_H   0x14
 

Definition at line 53 of file libnet-headers.h.

#define LIBNET_UDP_H   0x8
 

Definition at line 54 of file libnet-headers.h.

#define RIP_H   LIBNET_RIP_H
 

Definition at line 71 of file libnet-headers.h.

#define RIPCMD_MAX   7
 

Definition at line 456 of file libnet-headers.h.

#define RIPCMD_POLL   5
 

Definition at line 454 of file libnet-headers.h.

#define RIPCMD_POLLENTRY   6
 

Definition at line 455 of file libnet-headers.h.

#define RIPCMD_REQUEST   1
 

Definition at line 450 of file libnet-headers.h.

#define RIPCMD_RESPONSE   2
 

Definition at line 451 of file libnet-headers.h.

#define RIPCMD_TRACEOFF   4
 

Definition at line 453 of file libnet-headers.h.

#define RIPCMD_TRACEON   3
 

Definition at line 452 of file libnet-headers.h.

#define RIPVER_0   0
 

Definition at line 458 of file libnet-headers.h.

#define RIPVER_1   1
 

Definition at line 459 of file libnet-headers.h.

#define RIPVER_2   2
 

Definition at line 460 of file libnet-headers.h.

#define TCP_H   LIBNET_TCP_H
 

Definition at line 72 of file libnet-headers.h.

#define TH_ACK   0x10
 

Definition at line 145 of file libnet-headers.h.

#define TH_FIN   0x01
 

Definition at line 133 of file libnet-headers.h.

#define TH_PUSH   0x08
 

Definition at line 142 of file libnet-headers.h.

#define TH_RST   0x04
 

Definition at line 139 of file libnet-headers.h.

#define TH_SYN   0x02
 

Definition at line 136 of file libnet-headers.h.

#define TH_URG   0x20
 

Definition at line 148 of file libnet-headers.h.

#define UDP_H   LIBNET_UDP_H
 

Definition at line 73 of file libnet-headers.h.


Generated on Sun May 14 14:51:27 2006 by  doxygen 1.4.2