On Fri, 30 Jun 2017 17:51:30 +0100
Ferruh Yigit wrote:
> +static struct mutex sync_lock;
> +
> +static void nl_recv(struct sk_buff *skb)
> +{
> + struct nlmsghdr *nlh;
> + struct unci_nl_msg nl_msg;
> +
> + nlh = (struct nlmsghdr *)skb->data;
> +
> + memcpy(&nl_msg, NLMSG_DATA(nlh
On Fri, 30 Jun 2017 17:51:30 +0100
Ferruh Yigit wrote:
> #define UNCI_DEVICE "unci"
>
> +#define UNCI_NL_GRP 31
> +
> +#define UNCI_NL_MSG_LEN 500
> +struct unci_nl_msg {
> + uint32_t cmd_id;
> + uint8_t port_id;
> + uint32_t flag;
> + uint8_t input_buffer[UNCI_NL_MSG_LEN];
> +
2 matches
Mail list logo