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

Function protohandler

freebsd/netinet/libalias/alias_irc.c:109–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109static int
110protohandler(struct libalias *la, struct ip *pip, struct alias_data *ah)
111{
112
113 newpacket = malloc(PKTSIZE);
114 if (newpacket) {
115 AliasHandleIrcOut(la, pip, ah->lnk, ah->maxpktsize);
116 free(newpacket);
117 }
118 return (0);
119}
120
121struct proto_handler handlers[] = {
122 {

Callers

nothing calls this directly

Calls 3

mallocFunction · 0.85
AliasHandleIrcOutFunction · 0.85
freeFunction · 0.50

Tested by

no test coverage detected