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

Function handle_sysctl_msg

lib/ff_dpdk_if.c:1733–1745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1731}
1732
1733static inline void
1734handle_sysctl_msg(struct ff_msg *msg)
1735{
1736 int ret = ff_sysctl(msg->sysctl.name, msg->sysctl.namelen,
1737 msg->sysctl.old, msg->sysctl.oldlenp, msg->sysctl.new,
1738 msg->sysctl.newlen);
1739
1740 if (ret < 0) {
1741 msg->result = errno;
1742 } else {
1743 msg->result = 0;
1744 }
1745}
1746
1747static inline void
1748handle_ioctl_msg(struct ff_msg *msg)

Callers 1

handle_msgFunction · 0.85

Calls 1

ff_sysctlFunction · 0.85

Tested by

no test coverage detected