Lines Matching refs:cfg
27 struct tcf_em_nbyte cfg; member
35 n->cfg.off = offset; in rtnl_ematch_nbyte_set_offset()
36 n->cfg.layer = layer; in rtnl_ematch_nbyte_set_offset()
41 return ((struct nbyte_data *) rtnl_ematch_data(e))->cfg.off; in rtnl_ematch_nbyte_get_offset()
46 return ((struct nbyte_data *) rtnl_ematch_data(e))->cfg.layer; in rtnl_ematch_nbyte_get_layer()
58 n->cfg.len = len; in rtnl_ematch_nbyte_set_pattern()
68 return ((struct nbyte_data *) rtnl_ematch_data(e))->cfg.len; in rtnl_ematch_nbyte_get_len()
91 memcpy(&n->cfg, data, hdrlen); in nbyte_parse()
107 nl_dump(p, "pattern(%u:[", n->cfg.len); in nbyte_dump()
109 for (i = 0; i < n->cfg.len; i++) { in nbyte_dump()
111 if (i+1 < n->cfg.len) in nbyte_dump()
115 nl_dump(p, "] at %s+%u)", layer_txt(&n->cfg), n->cfg.off); in nbyte_dump()