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

Function StartPointIn

freebsd/netinet/libalias/alias_db.c:405–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403void SctpShowAliasStats(struct libalias *la);
404
405static u_int
406StartPointIn(struct in_addr alias_addr,
407 u_short alias_port,
408 int link_type)
409{
410 u_int n;
411
412 n = alias_addr.s_addr;
413 if (link_type != LINK_PPTP)
414 n += alias_port;
415 n += link_type;
416 return (n % LINK_TABLE_IN_SIZE);
417}
418
419static u_int
420StartPointOut(struct in_addr src_addr, struct in_addr dst_addr,

Callers 3

AddLinkFunction · 0.85
_FindLinkInFunction · 0.85
FindPptpInByCallIdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected