Re: forge_ip_packet

From: Renaud Deraison (deraisonat_private)
Date: Tue May 13 2003 - 08:09:36 PDT

  • Next message: Renaud Deraison: "Re: arbitrary TCP data packets"

    On Tue, May 13, 2003 at 04:01:35PM +0100, Jackson, Dennis wrote:
    > Have I missed something, or is one field missing from forge_ip_packet.
    > I can't see any reference to the flags field (the "Don't fragment" and "More
    > fragments" flags).
    
    We use BSD-style notation, so you want to set ip_off to IP_MF. You might
    want to OR this constant with the fragment offset as well if needed.
    
    
    				-- Renaud
    



    This archive was generated by hypermail 2b30 : Tue May 13 2003 - 08:08:22 PDT