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

Function LibAliasOutTry

freebsd/netinet/libalias/alias.c:1440–1449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1438}
1439
1440int
1441LibAliasOutTry(struct libalias *la, void *ptr, int maxpacketsize, int create)
1442{
1443 int res;
1444
1445 LIBALIAS_LOCK(la);
1446 res = LibAliasOutLocked(la, (struct ip *)ptr, maxpacketsize, create);
1447 LIBALIAS_UNLOCK(la);
1448 return (res);
1449}
1450
1451static int
1452LibAliasOutLocked(struct libalias *la, struct ip *pip, /* valid IP packet */

Callers 1

ipfw_natFunction · 0.85

Calls 1

LibAliasOutLockedFunction · 0.85

Tested by

no test coverage detected