INNER CODE UNIT · C

ret

ukanth/afwall · external/nflog/socket.c:248

	int ret = close(nl->fd);
	free(nl);
	return ret;
}
EXPORT_SYMBOL(mnl_socket_close);

/**
 * mnl_socket_setsockopt - set Netlink socket option
 * \param nl netlink socket obtained via mnl_socket_open()
 * \param type type of Netlink socket options
 * \param buf the buffer that contains the data about this option
 * \param len the size of the buffer passed
 *
 * This function allows you to set some Netlink socket option. As of writing
 * this (see linux/netlink.h), the existing options are:
 *
 *	- \#define NETLINK_ADD_MEMBERSHIP  1
 *	- \#define NETLINK_DROP_MEMBERSHIP 2

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…