Commit 0161d151 authored by Bijie Xu's avatar Bijie Xu Committed by David S. Miller

net: sched: provide missing kdoc for tcf_pkt_info and tcf_ematch_ops

Provide missing kdoc of fields of struct tcf_pkt_info and tcf_ematch_ops.

Found using ./scripts/kernel-doc -none -Werror include/net/pkt_cls.h
Signed-off-by: default avatarBijie Xu <bijie.xu@corigine.com>
Signed-off-by: default avatarSimon Horman <simon.horman@corigine.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c87a4c54
...@@ -337,6 +337,9 @@ int tcf_exts_dump_stats(struct sk_buff *skb, struct tcf_exts *exts); ...@@ -337,6 +337,9 @@ int tcf_exts_dump_stats(struct sk_buff *skb, struct tcf_exts *exts);
/** /**
* struct tcf_pkt_info - packet information * struct tcf_pkt_info - packet information
*
* @ptr: start of the pkt data
* @nexthdr: offset of the next header
*/ */
struct tcf_pkt_info { struct tcf_pkt_info {
unsigned char * ptr; unsigned char * ptr;
...@@ -355,6 +358,7 @@ struct tcf_ematch_ops; ...@@ -355,6 +358,7 @@ struct tcf_ematch_ops;
* @ops: the operations lookup table of the corresponding ematch module * @ops: the operations lookup table of the corresponding ematch module
* @datalen: length of the ematch specific configuration data * @datalen: length of the ematch specific configuration data
* @data: ematch specific data * @data: ematch specific data
* @net: the network namespace
*/ */
struct tcf_ematch { struct tcf_ematch {
struct tcf_ematch_ops * ops; struct tcf_ematch_ops * ops;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment