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

Function SetDestCallId

freebsd/netinet/libalias/alias_db.c:2071–2081  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2069}
2070
2071void
2072SetDestCallId(struct alias_link *lnk, u_int16_t cid)
2073{
2074 struct libalias *la = lnk->la;
2075
2076 LIBALIAS_LOCK_ASSERT(la);
2077 la->deleteAllLinks = 1;
2078 ReLink(lnk, lnk->src_addr, lnk->dst_addr, lnk->alias_addr,
2079 lnk->src_port, cid, lnk->alias_port, lnk->link_type);
2080 la->deleteAllLinks = 0;
2081}
2082
2083/* Miscellaneous Functions
2084

Callers 2

AliasHandlePptpOutFunction · 0.85
AliasHandlePptpInFunction · 0.85

Calls 1

ReLinkFunction · 0.85

Tested by

no test coverage detected