Searched refs:bp (Results 1 - 25 of 201) sorted by relevance

123456789

/haiku-fatelf/src/bin/network/tcpdump/
H A Dprint-pim.c121 static void pimv2_print(register const u_char *bp, register u_int len);
124 pimv1_join_prune_print(register const u_char *bp, register u_int len) argument
130 if (TTEST2(bp[0], 30) && bp[11] == 1 &&
131 ((njoin = EXTRACT_16BITS(&bp[20])) + EXTRACT_16BITS(&bp[22])) == 1) {
134 (void)printf(" RPF %s ", ipaddr_string(bp));
135 hold = EXTRACT_16BITS(&bp[6]);
141 ipaddr_string(&bp[26]), bp[2
212 pimv1_print(register const u_char *bp, register u_int len) argument
326 cisco_autorp_print(register const u_char *bp, register u_int len) argument
416 pim_print(register const u_char *bp, register u_int len) argument
520 pimv2_addr_print(const u_char *bp, enum pimv2_addrtype at, int silent) argument
621 pimv2_print(register const u_char *bp, register u_int len) argument
[all...]
H A Dprint-dvmrp.c76 dvmrp_print(register const u_char *bp, register u_int len) argument
82 if (bp >= ep)
85 TCHECK(bp[1]);
86 type = bp[1];
89 bp += 8;
97 if (print_probe(bp, ep, len) < 0)
105 if (print_report(bp, ep, len) < 0)
116 if (print_neighbors(bp, ep, len) < 0)
130 bp -= 4;
131 TCHECK2(bp[
169 print_report(register const u_char *bp, register const u_char *ep, register u_int len) argument
226 print_probe(register const u_char *bp, register const u_char *ep, register u_int len) argument
259 print_neighbors(register const u_char *bp, register const u_char *ep, register u_int len) argument
290 print_neighbors2(register const u_char *bp, register const u_char *ep, register u_int len) argument
339 print_prune(register const u_char *bp) argument
352 print_graft(register const u_char *bp) argument
362 print_graft_ack(register const u_char *bp) argument
[all...]
H A Dprint-vrrp.c88 vrrp_print(register const u_char *bp, register u_int len, int ttl) argument
93 TCHECK(bp[0]);
94 version = (bp[0] & 0xf0) >> 4;
95 type = bp[0] & 0x0f;
102 TCHECK(bp[2]);
103 printf(", vrid %u, prio %u", bp[1], bp[2]);
104 TCHECK(bp[5]);
105 auth_type = bp[4];
107 printf(", intvl %us, length %u", bp[
[all...]
H A Dprint-vjc.c85 vjc_print(register const char *bp, u_short proto _U_) argument
89 switch (bp[0] & 0xf0) {
102 if (bp[1] & (0x80 >> i))
105 if (bp[1])
107 printf("C=0x%02x ", bp[2]);
108 printf("sum=0x%04x ", *(u_short *)&bp[3]);
116 printf("(vjc type=0x%02x) ", bp[0] & 0xf0);
H A Dprint-bootp.c65 register const struct bootp *bp; local
69 bp = (const struct bootp *)cp;
70 TCHECK(bp->bp_op);
73 tok2str(bootp_op_values, "unknown (0x%02x)", bp->bp_op));
75 if (bp->bp_htype == 1 && bp->bp_hlen == 6 && bp->bp_op == BOOTPREQUEST) {
76 TCHECK2(bp->bp_chaddr[0], 6);
77 printf(" from %s", etheraddr_string(bp->bp_chaddr));
85 TCHECK(bp
359 rfc1048_print(register const u_char *bp) argument
678 cmu_print(register const u_char *bp) argument
[all...]
H A Dprint-pgm.c149 pgm_print(register const u_char *bp, register u_int length, argument
168 pgm = (struct pgm_header *)bp;
268 bp = (u_char *) (spm + 1);
269 TCHECK2(*bp, addr_size);
270 nla = bp;
271 bp += addr_size;
290 bp = (u_char *) (poll + 1);
315 bp = (u_char *) (polr + 1);
316 TCHECK2(*bp, addr_size);
317 nla = bp;
[all...]
H A Dprint-ip6opts.c74 ip6_sopt_print(const u_char *bp, int len) argument
80 if (bp[i] == IP6OPT_PAD1)
84 optlen = bp[i + 1] + 2;
91 switch (bp[i]) {
107 printf(", ui: 0x%04x ", EXTRACT_16BITS(&bp[i + 2]));
114 printf(", alt-CoA: %s", ip6addr_string(&bp[i+2]));
121 printf(", auth spi: 0x%08x", EXTRACT_32BITS(&bp[i + 2]));
125 printf(", sopt_type %d: trunc)", bp[i]);
128 printf(", sopt_type 0x%02x: len=%d", bp[i], bp[
139 ip6_opt_print(const u_char *bp, int len) argument
289 hbhopt_print(register const u_char *bp) argument
309 dstopt_print(register const u_char *bp) argument
[all...]
H A Dprint-gre.c92 gre_print(const u_char *bp, u_int length) argument
100 vers = EXTRACT_16BITS(bp) & GRE_VERS_MASK;
105 gre_print_0(bp, len);
108 gre_print_1(bp, len);
119 gre_print_0(const u_char *bp, u_int length) argument
124 flags = EXTRACT_16BITS(bp);
130 bp += 2;
134 prot = EXTRACT_16BITS(bp);
136 bp += 2;
142 printf(", sum 0x%x", EXTRACT_16BITS(bp));
238 gre_print_1(const u_char *bp, u_int length) argument
318 gre_sre_print(u_int16_t af, u_int8_t sreoff, u_int8_t srelen, const u_char *bp, u_int len) argument
337 gre_sre_ip_print(u_int8_t sreoff, u_int8_t srelen, const u_char *bp, u_int len) argument
371 gre_sre_asn_print(u_int8_t sreoff, u_int8_t srelen, const u_char *bp, u_int len) argument
[all...]
H A Dprint-beep.c52 beep_print(const u_char *bp, u_int length) argument
55 if (l_strnstart("MSG", 4, (const char *)bp, length)) /* A REQuest */
57 else if (l_strnstart("RPY ", 4, (const char *)bp, length))
59 else if (l_strnstart("ERR ", 4, (const char *)bp, length))
61 else if (l_strnstart("ANS ", 4, (const char *)bp, length))
63 else if (l_strnstart("NUL ", 4, (const char *)bp, length))
65 else if (l_strnstart("SEQ ", 4, (const char *)bp, length))
67 else if (l_strnstart("END", 4, (const char *)bp, length))
H A Dprint-igmp.c110 print_mtrace(register const u_char *bp, register u_int len) argument
112 register const struct tr_query *tr = (const struct tr_query *)(bp + 8);
132 print_mresp(register const u_char *bp, register u_int len) argument
134 register const struct tr_query *tr = (const struct tr_query *)(bp + 8);
154 print_igmpv3_report(register const u_char *bp, register u_int len) argument
164 TCHECK2(bp[6], 2);
165 ngroups = EXTRACT_16BITS(&bp[6]);
175 TCHECK2(bp[group+4], 4);
176 (void)printf(" [gaddr %s", ipaddr_string(&bp[group+4]));
178 bp[grou
208 print_igmpv3_query(register const u_char *bp, register u_int len) argument
260 igmp_print(register const u_char *bp, register u_int len) argument
[all...]
H A Dprint-rx.c434 rx_print(register const u_char *bp, int length, int sport, int dport, argument
441 if (snapend - bp < (int)sizeof (struct rx_header)) {
446 rxh = (struct rx_header *) bp;
501 rx_cache_insert(bp, (const struct ip *) bp2, dport);
505 fs_print(bp, length);
508 cb_print(bp, length);
511 prot_print(bp, length);
514 vldb_print(bp, length);
517 kauth_print(bp, length);
520 vol_print(bp, lengt
587 rx_cache_insert(const u_char *bp, const struct ip *ip, int dport) argument
771 fs_print(register const u_char *bp, int length) argument
922 fs_reply_print(register const u_char *bp, int length, int32_t opcode) argument
1086 cb_print(register const u_char *bp, int length) argument
1168 cb_reply_print(register const u_char *bp, int length, int32_t opcode) argument
1217 prot_print(register const u_char *bp, int length) argument
1359 prot_reply_print(register const u_char *bp, int length, int32_t opcode) argument
1471 vldb_print(register const u_char *bp, int length) argument
1564 vldb_reply_print(register const u_char *bp, int length, int32_t opcode) argument
1751 kauth_print(register const u_char *bp, int length) argument
1844 kauth_reply_print(register const u_char *bp, int length, int32_t opcode) argument
1895 vol_print(register const u_char *bp, int length) argument
1933 vol_reply_print(register const u_char *bp, int length, int32_t opcode) argument
1977 bos_print(register const u_char *bp, int length) argument
2068 bos_reply_print(register const u_char *bp, int length, int32_t opcode) argument
2126 ubik_print(register const u_char *bp) argument
2235 ubik_reply_print(register const u_char *bp, int length, int32_t opcode) argument
2298 rx_ack_print(register const u_char *bp, int length) argument
[all...]
H A Dprint-ntp.c81 register const struct ntpdata *bp; local
84 bp = (struct ntpdata *)cp;
86 TCHECK(bp->status);
88 version = (int)(bp->status & VERSIONMASK) >> 3;
91 mode = bp->status & MODEMASK;
103 leapind = bp->status & LEAPMASK;
108 TCHECK(bp->stratum);
109 printf(", Stratum %u", bp->stratum);
111 TCHECK(bp->ppoll);
112 printf(", poll %us", bp
[all...]
/haiku-fatelf/src/bin/gdb/gdb/gdbserver/
H A Dmem-break.c54 struct breakpoint *bp; local
59 bp = malloc (sizeof (struct breakpoint));
60 memset (bp, 0, sizeof (struct breakpoint));
62 (*the_target->read_memory) (where, bp->old_data,
67 bp->pc = where;
68 bp->handler = handler;
70 bp->next = breakpoints;
71 breakpoints = bp;
75 delete_breakpoint (struct breakpoint *bp) argument
79 if (breakpoints == bp)
105 struct breakpoint *bp = breakpoints; local
139 struct breakpoint *bp, *orig_bp; local
160 struct breakpoint *bp; local
174 struct breakpoint *bp; local
190 struct breakpoint *bp; local
215 struct breakpoint *bp = breakpoints; local
248 struct breakpoint *bp = breakpoints; local
[all...]
/haiku-fatelf/headers/private/kernel/arch/x86/
H A Darch_debug.h13 addr_t bp; member in struct:arch_debug_registers
/haiku-fatelf/src/bin/less/
H A Dch.c86 #define FOR_BUFS_IN_CHAIN(h,bp) \
87 for (bp = thisfile->hashtbl[h].buf_hnext; \
88 bp != END_OF_HCHAIN(h); bp = bp->hnext)
90 #define HASH_RM(bp) \
91 (bp)->hnext->hprev = (bp)->hprev; \
92 (bp)->hprev->hnext = (bp)
132 register struct buf *bp; local
388 register struct buf *bp; local
426 register struct buf *bp; local
513 register struct buf *bp, *firstbp; local
631 register struct buf *bp; local
696 register struct buf *bp; local
736 register struct buf *bp; local
[all...]
/haiku-fatelf/src/libs/ncurses/form/
H A Dfty_ipv4.c32 char *bp = field_buffer(field, 0); local
36 if (isdigit(UChar(*bp))) /* Must start with digit */
38 num = sscanf(bp, "%u.%u.%u.%u%n", &d1, &d2, &d3, &d4, &len);
41 bp += len; /* Make bp point to what sscanf() left */
42 while (*bp && isspace(UChar(*bp)))
43 bp++; /* Allow trailing whitespace */
46 return ((num != 4 || *bp || d1 > 255 || d2 > 255
H A Dfty_int.c111 unsigned char *bp = (unsigned char *)field_buffer(field, 0); local
112 char *s = (char *)bp;
117 while (*bp && *bp == ' ')
118 bp++;
119 if (*bp)
121 if (*bp == '-')
122 bp++;
124 if (*bp)
129 wchar_t *list = _nc_Widen_String((char *)bp,
[all...]
H A Dfty_num.c127 unsigned char *bp = (unsigned char *)field_buffer(field, 0); local
128 char *s = (char *)bp;
134 while (*bp && *bp == ' ')
135 bp++;
136 if (*bp)
138 if (*bp == '-' || *bp == '+')
139 bp++;
141 if (*bp)
[all...]
/haiku-fatelf/src/bin/bash/
H A Dinput.c185 BUFFERED_STREAM *bp; local
187 bp = (BUFFERED_STREAM *)xmalloc (sizeof (BUFFERED_STREAM));
189 buffers[fd] = bp;
190 bp->b_fd = fd;
191 bp->b_buffer = buffer;
192 bp->b_size = bufsize;
193 bp->b_used = bp->b_inputp = bp->b_flag = 0;
195 bp
528 BUFFERED_STREAM *bp; local
571 BUFFERED_STREAM *bp; local
623 BUFFERED_STREAM *bp; local
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Dmem-break.c48 const unsigned char *bp; local
52 bp = BREAKPOINT_FROM_PC (&addr, &bplen);
53 if (bp == NULL)
61 val = target_write_memory (addr, (char *) bp, bplen);
70 const unsigned char *bp; local
74 bp = BREAKPOINT_FROM_PC (&addr, &bplen);
75 if (bp == NULL)
/haiku-fatelf/src/libs/pdflib/libs/tiff/
H A Dtif_next.c51 register tif_char *bp, *op; local
66 bp = (tif_char *)tif->tif_rawcp;
70 n = *bp++, cc--;
78 _TIFFmemcpy(row, bp, scanline);
79 bp += scanline;
88 off = (bp[0] * 256) + bp[1];
89 n = (bp[2] * 256) + bp[3];
92 _TIFFmemcpy(row+off, bp
[all...]
/haiku-fatelf/src/libs/tiff/
H A Dtif_next.c51 unsigned char *bp, *op; local
65 bp = (unsigned char *)tif->tif_rawcp;
69 n = *bp++, cc--;
77 _TIFFmemcpy(row, bp, scanline);
78 bp += scanline;
87 off = (bp[0] * 256) + bp[1];
88 n = (bp[2] * 256) + bp[3];
91 _TIFFmemcpy(row+off, bp
[all...]
/haiku-fatelf/src/add-ons/translators/icns/openjpeg/
H A Dbio.c78 if (bio->bp >= bio->end) {
81 *bio->bp++ = bio->buf >> 8;
88 if (bio->bp >= bio->end) {
91 bio->buf |= *bio->bp++;
129 return (bio->bp - bio->start);
132 void bio_init_enc(opj_bio_t *bio, unsigned char *bp, int len) { argument
133 bio->start = bp;
134 bio->end = bp + len;
135 bio->bp = bp;
140 bio_init_dec(opj_bio_t *bio, unsigned char *bp, int len) argument
[all...]
H A Draw.h56 unsigned char *bp; member in struct:opj_raw
85 @param bp Pointer to the start of the buffer from which the bytes will be read
88 void raw_init_dec(opj_raw_t *raw, unsigned char *bp, int len);
/haiku-fatelf/src/bin/network/wget/src/
H A Dprogress.c560 struct bar_progress *bp = xnew0 (struct bar_progress);
567 bp->initial_length = initial;
568 bp->total_length = total;
583 bp->width = screen_width - 1;
586 bp->buffer = xmalloc (bp->width + 100);
590 create_image (bp, 0, false);
591 display_image (bp->buffer);
593 return bp;
601 struct bar_progress *bp
558 struct bar_progress *bp = xnew0 (struct bar_progress); local
599 struct bar_progress *bp = progress; local
645 struct bar_progress *bp = progress; local
680 update_speed_ring(struct bar_progress *bp, wgint howmuch, double dltime) argument
852 create_image(struct bar_progress *bp, double dl_total_time, bool done) argument
[all...]

Completed in 181 milliseconds

123456789