• Home
  • Raw
  • Download

Lines Matching refs:nr

85 	register const struct nfrec *nr;  in cnfp_print()  local
115 nr = (const struct nfrec *)&nh[1]; in cnfp_print()
118 nr = (const struct nfrec *)&nh->sequence; in cnfp_print()
124 for (; nrecs-- && (const u_char *)(nr + 1) <= snapend; nr++) { in cnfp_print()
129 EXTRACT_32BITS(&nr->start_time)/1000, in cnfp_print()
130 EXTRACT_32BITS(&nr->start_time)%1000, in cnfp_print()
131 EXTRACT_32BITS(&nr->last_time)/1000, in cnfp_print()
132 EXTRACT_32BITS(&nr->last_time)%1000); in cnfp_print()
137 (EXTRACT_32BITS(&nr->masks) >> 24) & 0xff); in cnfp_print()
139 (EXTRACT_32BITS(&nr->asses) >> 16) & 0xffff); in cnfp_print()
141 printf("\n %s%s%s:%u ", intoa(nr->src_ina.s_addr), buf, asbuf, in cnfp_print()
142 EXTRACT_32BITS(&nr->ports) >> 16); in cnfp_print()
146 (EXTRACT_32BITS(&nr->masks) >> 16) & 0xff); in cnfp_print()
148 EXTRACT_32BITS(&nr->asses) & 0xffff); in cnfp_print()
150 printf("> %s%s%s:%u ", intoa(nr->dst_ina.s_addr), buf, asbuf, in cnfp_print()
151 EXTRACT_32BITS(&nr->ports) & 0xffff); in cnfp_print()
153 printf(">> %s\n ", intoa(nr->nhop_ina.s_addr)); in cnfp_print()
155 pent = getprotobynumber((EXTRACT_32BITS(&nr->proto_tos) >> 8) & 0xff); in cnfp_print()
158 (EXTRACT_32BITS(&nr->proto_tos) >> 8) & 0xff); in cnfp_print()
166 flags = (EXTRACT_32BITS(&nr->asses) >> 24) & 0xff; in cnfp_print()
168 flags = (EXTRACT_32BITS(&nr->proto_tos) >> 16) & 0xff; in cnfp_print()
182 (EXTRACT_32BITS(&nr->masks) >> 8) & 0xff, in cnfp_print()
183 (EXTRACT_32BITS(&nr->masks)) & 0xff); in cnfp_print()
186 EXTRACT_32BITS(&nr->proto_tos) & 0xff, in cnfp_print()
187 EXTRACT_32BITS(&nr->packets), in cnfp_print()
188 EXTRACT_32BITS(&nr->octets), buf); in cnfp_print()