On Aug 21, 2012, at 1:42 AM, Wojciech Puchar wrote: >> >> Even without this tagging, the code to do a structure level copy of 6 bytes >> is going to be tiny... > > true. > > just to make sure it will be absolutely portable how about > > bcopymacaddress(dst,src) > > and then define it whatever you find it fastest on any architecture?
How about just changing it to the *dst = *src, compiling it on all architectures and then deciding if the improvement of the code from a hand-tweaked thing is worth that uglification? Warner _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"