MCPcopy Create free account
hub / github.com/F-Stack/f-stack / SeqDiff

Function SeqDiff

freebsd/netinet/libalias/alias_db.c:436–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

434}
435
436static int
437SeqDiff(u_long x, u_long y)
438{
439/* Return the difference between two TCP sequence numbers */
440
441/*
442 This function is encapsulated in case there are any unusual
443 arithmetic conditions that need to be considered.
444*/
445
446 return (ntohl(y) - ntohl(x));
447}
448
449#ifdef _KERNEL
450

Callers 2

GetDeltaAckInFunction · 0.85
GetDeltaSeqOutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected