Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 704850 | Differences between
and this patch

Collapse All | Expand All

(-)a/aux/zeek-aux/rst/rst.c (-1 / +1 lines)
Lines 113-119 in_cksum(register u_short *addr, register int len) Link Here
113
113
114
// - adapted from tcpdump
114
// - adapted from tcpdump
115
// Returns the ones-complement checksum of a chunk of b short-aligned bytes.
115
// Returns the ones-complement checksum of a chunk of b short-aligned bytes.
116
int ones_complement_checksum(const void *p, int b, u_int32_t sum)
116
int __attribute__ ((noinline)) ones_complement_checksum(const void *p, int b, u_int32_t sum)
117
{
117
{
118
	const u_short *sp = (u_short *) p;	// better be aligned!
118
	const u_short *sp = (u_short *) p;	// better be aligned!
119
119

Return to bug 704850