Searched refs:metaval (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/net/sched/ |
D | act_ife.c | 43 int ife_encode_meta_u16(u16 metaval, void *skbdata, struct tcf_meta_info *mi) in ife_encode_meta_u16() argument 47 if (mi->metaval) in ife_encode_meta_u16() 48 edata = *(u16 *)mi->metaval; in ife_encode_meta_u16() 49 else if (metaval) in ife_encode_meta_u16() 50 edata = metaval; in ife_encode_meta_u16() 62 if (mi->metaval) in ife_get_meta_u32() 63 return nla_put_u32(skb, mi->metaid, *(u32 *)mi->metaval); in ife_get_meta_u32() 69 int ife_check_meta_u32(u32 metaval, struct tcf_meta_info *mi) in ife_check_meta_u32() argument 71 if (metaval || mi->metaval) in ife_check_meta_u32() 78 int ife_check_meta_u16(u16 metaval, struct tcf_meta_info *mi) in ife_check_meta_u16() argument [all …]
|
/Linux-v6.1/include/net/tc_act/ |
D | tc_ife.h | 30 void *metaval; member 55 int ife_alloc_meta_u32(struct tcf_meta_info *mi, void *metaval, gfp_t gfp); 56 int ife_alloc_meta_u16(struct tcf_meta_info *mi, void *metaval, gfp_t gfp); 57 int ife_check_meta_u32(u32 metaval, struct tcf_meta_info *mi); 58 int ife_check_meta_u16(u16 metaval, struct tcf_meta_info *mi); 59 int ife_encode_meta_u32(u32 metaval, void *skbdata, struct tcf_meta_info *mi); 62 int ife_encode_meta_u16(u16 metaval, void *skbdata, struct tcf_meta_info *mi);
|