| 1793 | |
| 1794 | #ifdef FF_NETGRAPH |
| 1795 | static inline void |
| 1796 | handle_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 |
no test coverage detected