[Click] [PATCH] TimedSource
Eddie Kohler
kohler at cs.ucla.edu
Thu Oct 30 20:27:32 EDT 2008
Thanks, Matthias! A version of this patch is checked in.
Eddie
Matthias Petschick wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I recently stumbled over the warning "expensive Packet::push; have 8
> wanted 14" when using TimedSource in conjunction with IPEncap and
> ARPQuerier. The default headroom for a packet is 28 bytes but an
> Ethernet and IP header together require an additional 6 bytes at the
> least, thus I decided to add a headroom parameter to TimedSource. This
> should remove the overhead from resizing the packet if you know what to
> expect for additional header space requirements beforehand.
>
> Regards,
>
> Matthias
>
> - --
> Matthias Petschick
> Lehrstuhl FG INET (Intelligent Networks / Intelligente Netze)
> TEL 4
> Technische Universität Berlin
> Ernst-Reuter-Platz 7
> 10587 Berlin
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iQIcBAEBAgAGBQJJCP0lAAoJEM2TTDXVNjomtfAQAMhFPgeEQ3rQBRRhNduM+uOX
> CIOMNiGVoShj2ZZlsQrlyvZEsvjSnaEe5UW+4WgTxVHjapSN7DrTY2XGSCtxQsVL
> P2yTSq81DBmybKztvl9iPbiu2gs/iS4iASu1PA5LYScBC2rwRr7j/Fie+BefLbzF
> 2Btv1kT67eUM+2eKUJIiT7MgK9v9/vkTLlXQKqJLRdgGyBgVVY5Y5iLCWyfTcNPR
> JeJxXQyujFbtrY/lZe9YRKfPyOqoDGJYYGq1+Xz9Zbtn+29hVuShqXdFA2ExiSu1
> HHXMq1yvfiEvIiv6Xuzd4FGMc2fw5ghMZAvn2/ZKMM97tw3ri98A/NM6Zlnl3FGF
> Hko21AXTPdhmqC4kvjrAsKqfPEyuHfspeIxNdFZc/FUZKegJjr320OLEqCqh5WHK
> 20l80VvoHpW45aH5nNaAjzF1VZ8WTiGmyU+6uRuX3jUd6DQSttH9TdE9kC+JTNGG
> VU7lIKLbBsbkgbn8VvyXcTrhMfk29SLiyp+PsMRUd1AntwYxBbshSi5YCV/GdVwI
> xKqUxOXbdhjmy491fAFf24rWAEcYQb1BT7EN/FqVfRt99SWUuBM6Sp43+v4oF3nd
> gbN0TCS6AB6bp4aS6jrZdazQplFduVYbALdCG+e0Gi64T6/lvLwyvTlG2sZd5EDG
> U4TcPp0+PVYeXIeUw+61
> =lKdK
> -----END PGP SIGNATURE-----
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list