changes to make ethernet packets able to be unaligned...

From: John-Mark Gurney (gurney_j_at_resnet.uoregon.edu)
Date: 03/17/05

  • Next message: Peter C. Lai: "PPP routing failure"
    Date: Thu, 17 Mar 2005 14:13:59 -0800
    To: freebsd-net@FreeBSD.org
    
    

    Ok, since you wanted to look at it more... I have a working copy of
    making packets alignment safe for ip in p4 at as change 73150:
    http://perforce.freebsd.org/changeView.cgi?CH=73150&ignore=GO%21

    This currently is only for arm and I plan to now remove the code from
    epe.c that copies the packet around since it's really stupid, and
    considering how easily NetBSD did this (it took about about 5 minutes
    to get this code running), I'm ashamed that I didn't do this a while
    back when I was working on if_re...

    Comments please?

    I'll bring up adding:
    #define __NO_STRICT_ALIGNMENT
    to i386 and amd64's include/_types.h on -arch shortly.

    -- 
      John-Mark Gurney				Voice: +1 415 225 5579
         "All that I will do, has been done, All that I have, has not."
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: Peter C. Lai: "PPP routing failure"