INET Framework for OMNeT++/OMNEST
ip_icmp.h File Reference

Classes

struct  inet::icmp_ra_addr
 
struct  inet::icmp
 

Namespaces

 inet
 Copyright (c) 2005 Jan Ringo�, www.ringos.cz.
 

Macros

#define icmp_pptr   icmp_hun.ih_pptr
 
#define icmp_gwaddr   icmp_hun.ih_gwaddr
 
#define icmp_id   icmp_hun.ih_idseq.icd_id
 
#define icmp_seq   icmp_hun.ih_idseq.icd_seq
 
#define icmp_void   icmp_hun.ih_void
 
#define icmp_pmvoid   icmp_hun.ih_pmtu.ipm_void
 
#define icmp_nextmtu   icmp_hun.ih_pmtu.ipm_nextmtu
 
#define icmp_num_addrs   icmp_hun.ih_rtradv.irt_num_addrs
 
#define icmp_wpa   icmp_hun.ih_rtradv.irt_wpa
 
#define icmp_lifetime   icmp_hun.ih_rtradv.irt_lifetime
 
#define icmp_otime   icmp_dun.id_ts.its_otime
 
#define icmp_rtime   icmp_dun.id_ts.its_rtime
 
#define icmp_ttime   icmp_dun.id_ts.its_ttime
 
#define icmp_ip   icmp_dun.id_ip.idi_ip
 
#define icmp_radv   icmp_dun.id_radv
 
#define icmp_mask   icmp_dun.id_mask
 
#define icmp_data   icmp_dun.id_data
 
#define ICMP_MINLEN   8 /* abs minimum */
 
#define ICMP_TSLEN   (8 + 3 * sizeof(n_time)) /* timestamp */
 
#define ICMP_MASKLEN   12 /* address mask */
 
#define ICMP_ADVLENMIN   (8 + sizeof(struct ip) + 8) /* min */
 
#define ICMP_ADVLEN(p)   (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
 

Macro Definition Documentation

◆ ICMP_ADVLEN

#define ICMP_ADVLEN (   p)    (8 + ((p)->icmp_ip.ip_hl << 2) + 8)

◆ ICMP_ADVLENMIN

#define ICMP_ADVLENMIN   (8 + sizeof(struct ip) + 8) /* min */

◆ icmp_data

#define icmp_data   icmp_dun.id_data

◆ icmp_gwaddr

#define icmp_gwaddr   icmp_hun.ih_gwaddr

◆ icmp_id

#define icmp_id   icmp_hun.ih_idseq.icd_id

◆ icmp_ip

#define icmp_ip   icmp_dun.id_ip.idi_ip

◆ icmp_lifetime

#define icmp_lifetime   icmp_hun.ih_rtradv.irt_lifetime

◆ icmp_mask

#define icmp_mask   icmp_dun.id_mask

◆ ICMP_MASKLEN

#define ICMP_MASKLEN   12 /* address mask */

◆ ICMP_MINLEN

#define ICMP_MINLEN   8 /* abs minimum */

◆ icmp_nextmtu

#define icmp_nextmtu   icmp_hun.ih_pmtu.ipm_nextmtu

◆ icmp_num_addrs

#define icmp_num_addrs   icmp_hun.ih_rtradv.irt_num_addrs

◆ icmp_otime

#define icmp_otime   icmp_dun.id_ts.its_otime

◆ icmp_pmvoid

#define icmp_pmvoid   icmp_hun.ih_pmtu.ipm_void

◆ icmp_pptr

#define icmp_pptr   icmp_hun.ih_pptr

◆ icmp_radv

#define icmp_radv   icmp_dun.id_radv

◆ icmp_rtime

#define icmp_rtime   icmp_dun.id_ts.its_rtime

◆ icmp_seq

#define icmp_seq   icmp_hun.ih_idseq.icd_seq

◆ ICMP_TSLEN

#define ICMP_TSLEN   (8 + 3 * sizeof(n_time)) /* timestamp */

◆ icmp_ttime

#define icmp_ttime   icmp_dun.id_ts.its_ttime

◆ icmp_void

#define icmp_void   icmp_hun.ih_void

◆ icmp_wpa

#define icmp_wpa   icmp_hun.ih_rtradv.irt_wpa