hping wiki

Differences for page hping getfield

Current version compared with version Tue May 18 04:40:24 GMT 2004

...
   hping3> hping getfield ip ttl "ip(saddr=1.2.3.4,daddr=5.6.7.8,ttl=64)"
   64
  
- If the layer does not exists, an empty string is returned.
+ If the layer does not exist, an empty string is returned.
  
  
  In complex packets the same layer can be present more times,
...
  for example an [ICMP] error message can have its own [IP] header
  and the [IP] header of the quoted packet. In order to specify
- what is the right layer the `skip` argument of *get/has/set* field
+ what is the right layer the `skip` argument of [hping getfield], [hping hasfield], [hping setfield]
  is used. This argument specify how many layers of the specified
  type to skip before to get the field value, so to specify a
  `skip` value of 1 means to get the field from the second [IP] layer
...
- form without the skip argument.+ form without the skip argument.
+ 

The following is the old page content