diff options
| author | Jamal Hadi Salim <jhs@mojatatu.com> | 2016-09-18 07:31:42 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-09-19 21:55:28 -0400 |
| commit | 6a5d58b67e205f2ffc62d0a9ee4ef7d237e9a7fb (patch) | |
| tree | 81b3772aa9d8208c22abd93029193eda03f95f70 /include/net/tc_act | |
| parent | 766a0e978fc2ba98d4865b466f8b572402317189 (diff) | |
net sched ife action: add 16 bit helpers
encoder and checker for 16 bits metadata
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tc_act')
| -rw-r--r-- | include/net/tc_act/tc_ife.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_ife.h b/include/net/tc_act/tc_ife.h index 5164bd7a38fb..9fd2bea0a6e0 100644 --- a/include/net/tc_act/tc_ife.h +++ b/include/net/tc_act/tc_ife.h | |||
| @@ -50,9 +50,11 @@ int ife_tlv_meta_encode(void *skbdata, u16 attrtype, u16 dlen, | |||
| 50 | int ife_alloc_meta_u32(struct tcf_meta_info *mi, void *metaval, gfp_t gfp); | 50 | int ife_alloc_meta_u32(struct tcf_meta_info *mi, void *metaval, gfp_t gfp); |
| 51 | int ife_alloc_meta_u16(struct tcf_meta_info *mi, void *metaval, gfp_t gfp); | 51 | int ife_alloc_meta_u16(struct tcf_meta_info *mi, void *metaval, gfp_t gfp); |
| 52 | int ife_check_meta_u32(u32 metaval, struct tcf_meta_info *mi); | 52 | int ife_check_meta_u32(u32 metaval, struct tcf_meta_info *mi); |
| 53 | int ife_check_meta_u16(u16 metaval, struct tcf_meta_info *mi); | ||
| 53 | int ife_encode_meta_u32(u32 metaval, void *skbdata, struct tcf_meta_info *mi); | 54 | int ife_encode_meta_u32(u32 metaval, void *skbdata, struct tcf_meta_info *mi); |
| 54 | int ife_validate_meta_u32(void *val, int len); | 55 | int ife_validate_meta_u32(void *val, int len); |
| 55 | int ife_validate_meta_u16(void *val, int len); | 56 | int ife_validate_meta_u16(void *val, int len); |
| 57 | int ife_encode_meta_u16(u16 metaval, void *skbdata, struct tcf_meta_info *mi); | ||
| 56 | void ife_release_meta_gen(struct tcf_meta_info *mi); | 58 | void ife_release_meta_gen(struct tcf_meta_info *mi); |
| 57 | int register_ife_op(struct tcf_meta_ops *mops); | 59 | int register_ife_op(struct tcf_meta_ops *mops); |
| 58 | int unregister_ife_op(struct tcf_meta_ops *mops); | 60 | int unregister_ife_op(struct tcf_meta_ops *mops); |
