In hping, packets are strings, this makes to work with packets
simple, but sometimes to modify a field may require to use
string substitution, regexp, or alike, not very clean nor fast,
so the hping API exports functions to set, read, and test for
given fields in given layers:
Check the above pages for more information.
See also Splitting APD packets in layers.
| | |