in reply to Re: how to change ip flags with net::rawip?
in thread how to change ip flags with net::rawip?

Yes Frag_off is used by the fragment offset field. But it does not control the use of the M or DF bits or the Reserved bit.... Normally the offset is calculated on 13 bits while the other 3 bits are used for M, DF, Reserved
  • Comment on Re^2: how to change ip flags with net::rawip?

Replies are listed 'Best First'.
Re^3: how to change ip flags with net::rawip?
by kroupouk (Novice) on May 17, 2009 at 05:21 UTC
    Wait..... just tried 65535 in frag_off. and then it fills the 3 bits. So in fract frag_off field does more than filling the 13 bits of fragment offset. It does fill as well the 3 remaining bits for M - DF - Reserved. A pitty it's not documented...