| 434 | } |
| 435 | |
| 436 | static int |
| 437 | SeqDiff(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 |
no outgoing calls
no test coverage detected