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

Function handle_ngctl_msg

lib/ff_dpdk_if.c:1795–1805  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1793
1794#ifdef FF_NETGRAPH
1795static inline void
1796handle_ngctl_msg(struct ff_msg *msg)
1797{
1798 int ret = ff_ngctl(msg->ngctl.cmd, msg->ngctl.data);
1799 if (ret < 0) {
1800 msg->result = errno;
1801 } else {
1802 msg->result = 0;
1803 msg->ngctl.ret = ret;
1804 }
1805}
1806#endif
1807
1808#ifdef FF_IPFW

Callers 1

handle_msgFunction · 0.85

Calls 1

ff_ngctlFunction · 0.85

Tested by

no test coverage detected