| 417 | } |
| 418 | |
| 419 | static u_int |
| 420 | StartPointOut(struct in_addr src_addr, struct in_addr dst_addr, |
| 421 | u_short src_port, u_short dst_port, int link_type) |
| 422 | { |
| 423 | u_int n; |
| 424 | |
| 425 | n = src_addr.s_addr; |
| 426 | n += dst_addr.s_addr; |
| 427 | if (link_type != LINK_PPTP) { |
| 428 | n += src_port; |
| 429 | n += dst_port; |
| 430 | } |
| 431 | n += link_type; |
| 432 | |
| 433 | return (n % LINK_TABLE_OUT_SIZE); |
| 434 | } |
| 435 | |
| 436 | static int |
| 437 | SeqDiff(u_long x, u_long y) |
no outgoing calls
no test coverage detected