Lines Matching refs:nb
47 struct tcf_em_nbyte nb = {}; in nbyte_parse_eopt() local
93 nb.len = needle->len; in nbyte_parse_eopt()
94 nb.layer = (__u8) layer; in nbyte_parse_eopt()
95 nb.off = (__u16) offset; in nbyte_parse_eopt()
98 addraw_l(n, MAX_MSG, &nb, sizeof(nb)); in nbyte_parse_eopt()
109 struct tcf_em_nbyte *nb = data; in nbyte_print_eopt() local
112 if (data_len < sizeof(*nb)) { in nbyte_print_eopt()
117 if (data_len < sizeof(*nb) + nb->len) { in nbyte_print_eopt()
122 needle = data + sizeof(*nb); in nbyte_print_eopt()
124 for (i = 0; i < nb->len; i++) in nbyte_print_eopt()
128 for (i = 0; i < nb->len; i++) in nbyte_print_eopt()
130 fprintf(fd, "\" at %d layer %d", nb->off, nb->layer); in nbyte_print_eopt()