Lines Matching refs:nb
47 struct tcf_em_nbyte nb; in nbyte_parse_eopt() local
49 memset(&nb, 0, sizeof(nb)); in nbyte_parse_eopt()
95 nb.len = needle->len; in nbyte_parse_eopt()
96 nb.layer = (__u8) layer; in nbyte_parse_eopt()
97 nb.off = (__u16) offset; in nbyte_parse_eopt()
100 addraw_l(n, MAX_MSG, &nb, sizeof(nb)); in nbyte_parse_eopt()
111 struct tcf_em_nbyte *nb = data; in nbyte_print_eopt() local
114 if (data_len < sizeof(*nb)) { in nbyte_print_eopt()
119 if (data_len < sizeof(*nb) + nb->len) { in nbyte_print_eopt()
124 needle = data + sizeof(*nb); in nbyte_print_eopt()
126 for (i = 0; i < nb->len; i++) in nbyte_print_eopt()
130 for (i = 0; i < nb->len; i++) in nbyte_print_eopt()
132 fprintf(fd, "\" at %d layer %d", nb->off, nb->layer); in nbyte_print_eopt()