On Monday 2012-06-04 14:21, pablo@xxxxxxxxxxxxx wrote: >+static int >+nfnl_cthelper_from_nlattr(struct nlattr *attr, struct nf_conn *ct) >+{ >+ const struct nf_conn_help *help = nfct_help(ct); >+ >+ if (help->helper->data_len == 0) >+ return -EINVAL; >+ >+ memcpy(&help->data, nla_data(attr), help->helper->data_len); memcpy(help->data, ...) >+static int >+nfnl_cthelper_to_nlattr(struct sk_buff *skb, const struct nf_conn *ct) >+{ >+ const struct nf_conn_help *help = nfct_help(ct); >+ >+ if (help->helper->data_len && >+ nla_put(skb, CTA_HELP_INFO, help->helper->data_len, &help->data)) >+ goto nla_put_failure; help->data -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html