HomeSort by relevance Sort by last modified time
    Searched refs:bp (Results 1 - 25 of 516) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/tcpdump/
print-pim.c 119 static void pimv2_print(register const u_char *bp, register u_int len, u_int cksum);
122 pimv1_join_prune_print(register const u_char *bp, register u_int len)
128 if (TTEST2(bp[0], 30) && bp[11] == 1 &&
129 ((njoin = EXTRACT_16BITS(&bp[20])) + EXTRACT_16BITS(&bp[22])) == 1) {
132 (void)printf(" RPF %s ", ipaddr_string(bp));
133 hold = EXTRACT_16BITS(&bp[6]);
139 ipaddr_string(&bp[26]), bp[25] & 0x3f
    [all...]
print-carp.c 51 carp_print(register const u_char *bp, register u_int len, int ttl)
56 TCHECK(bp[0]);
57 version = (bp[0] & 0xf0) >> 4;
58 type = bp[0] & 0x0f;
68 TCHECK(bp[2]);
69 TCHECK(bp[5]);
71 bp[1], bp[5], bp[2], bp[3])
    [all...]
print-dvmrp.c 76 dvmrp_print(register const u_char *bp, register u_int len)
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[0], 4)
    [all...]
print-vrrp.c 88 vrrp_print(register const u_char *bp, register u_int len, int ttl)
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[5],len)
    [all...]
print-otv.c 44 otv_print(const u_char *bp, u_int len)
55 flags = *bp;
56 bp += 1;
58 overlay_id = EXTRACT_24BITS(bp);
59 bp += 3;
61 instance_id = EXTRACT_24BITS(bp);
62 bp += 4;
77 ether_print(gndo, bp, len - 8, len - 8, NULL, NULL);
print-bootp.c 66 register const struct bootp *bp; local
70 bp = (const struct bootp *)cp;
71 TCHECK(bp->bp_op);
74 tok2str(bootp_op_values, "unknown (0x%02x)", bp->bp_op));
76 if (bp->bp_htype == 1 && bp->bp_hlen == 6 && bp->bp_op == BOOTPREQUEST) {
77 TCHECK2(bp->bp_chaddr[0], 6);
78 printf(" from %s", etheraddr_string(bp->bp_chaddr));
86 TCHECK(bp->bp_secs)
    [all...]
print-vjc.c 85 vjc_print(register const char *bp, u_short proto _U_)
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);
print-calm-fast.c 39 * This is the top level routine of the printer. 'bp' points
43 calm_fast_print(netdissect_options *ndo, const u_char *eth, const u_char *bp, u_int length)
45 int srcNwref = bp[0];
46 int dstNwref = bp[1];
48 bp += 2;
55 default_print(bp, length);
print-ip6opts.c 74 ip6_sopt_print(const u_char *bp, int len)
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[i + 1])
    [all...]
print-gre.c 92 gre_print(const u_char *bp, u_int length)
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)
124 flags = EXTRACT_16BITS(bp);
130 bp += 2;
134 prot = EXTRACT_16BITS(bp);
136 bp += 2;
142 printf(", sum 0x%x", EXTRACT_16BITS(bp));
    [all...]
print-geonet.c 59 print_btp_body(const u_char *bp, u_int length)
70 version = bp[0];
71 msg_type = bp[1];
78 print_btp(const u_char *bp)
80 u_int16_t dest = EXTRACT_16BITS(bp+0);
81 u_int16_t src = EXTRACT_16BITS(bp+2);
86 print_long_pos_vector(const u_char *bp)
94 printf("%02x", bp[i]);
98 lat = EXTRACT_32BITS(bp+12);
100 lon = EXTRACT_32BITS(bp+16)
    [all...]
print-vxlan.c 44 vxlan_print(const u_char *bp, u_int len)
54 flags = *bp;
55 bp += 4;
57 vni = EXTRACT_24BITS(bp);
58 bp += 4;
72 ether_print(gndo, bp, len - 8, len - 8, NULL, NULL);
print-beep.c 52 beep_print(const u_char *bp, u_int length)
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))
print-igmp.c 110 print_mtrace(register const u_char *bp, register u_int len)
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)
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)
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[group]))
    [all...]
print-ntp.c 87 register const struct ntpdata *bp; local
90 bp = (struct ntpdata *)cp;
92 TCHECK(bp->status);
94 version = (int)(bp->status & VERSIONMASK) >> 3;
97 mode = bp->status & MODEMASK;
109 leapind = bp->status & LEAPMASK;
114 TCHECK(bp->stratum);
116 bp->stratum,
117 tok2str(ntp_stratum_values, (bp->stratum >=2 && bp->stratum<=15) ? "secondary reference" : "reserved", bp->stratum))
    [all...]
print-rx.c 449 rx_print(register const u_char *bp, int length, int sport, int dport,
456 if (snapend - bp < (int)sizeof (struct rx_header)) {
461 rxh = (struct rx_header *) bp;
516 rx_cache_insert(bp, (const struct ip *) bp2, dport);
520 fs_print(bp, length);
523 cb_print(bp, length);
526 prot_print(bp, length);
529 vldb_print(bp, length);
532 kauth_print(bp, length);
535 vol_print(bp, length)
    [all...]
  /external/ltrace/
breakpoints.c 63 breakpoint_on_hit(struct breakpoint *bp, struct process *proc)
65 assert(bp != NULL);
66 if (bp->cbs != NULL && bp->cbs->on_hit != NULL)
67 (bp->cbs->on_hit)(bp, proc);
71 breakpoint_on_continue(struct breakpoint *bp, struct process *proc)
73 assert(bp != NULL);
74 if (bp->cbs != NULL && bp->cbs->on_continue != NULL
258 struct breakpoint *bp = malloc(sizeof *bp); local
278 struct breakpoint *bp = malloc(sizeof *bp); local
341 struct breakpoint *bp = NULL; local
    [all...]
breakpoint.h 47 void (*on_hit)(struct breakpoint *bp, struct process *proc);
48 void (*on_continue)(struct breakpoint *bp, struct process *proc);
49 void (*on_install)(struct breakpoint *bp, struct process *proc);
50 void (*on_retract)(struct breakpoint *bp, struct process *proc);
53 * function. BP is the breakpoint that was just hit and for
59 struct breakpoint *bp, struct process *proc);
72 /* Call ON_HIT handler of BP, if any is set. */
73 void breakpoint_on_hit(struct breakpoint *bp, struct process *proc);
75 /* Call ON_CONTINUE handler of BP. If none is set, call
77 void breakpoint_on_continue(struct breakpoint *bp, struct process *proc)
    [all...]
  /ndk/tests/device/test-stlport_shared-exception/jni/
ref9.cpp 11 basic *bp; member in struct:ex
12 ex() : bp(0) { }
23 inline ex::~ex() { if (--bp->refcount == 0) delete bp; }
26 bp = tmpex.bp;
27 bp->refcount++;
  /ndk/tests/device/test-stlport_static-exception/jni/
ref9.cpp 11 basic *bp; member in struct:ex
12 ex() : bp(0) { }
23 inline ex::~ex() { if (--bp->refcount == 0) delete bp; }
26 bp = tmpex.bp;
27 bp->refcount++;
  /external/boringssl/src/crypto/asn1/
t_pkey.c 63 int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num,
71 if(!BIO_indent(bp,off,128))
75 if (BIO_printf(bp, "%s 0\n", number) <= 0)
82 if (BIO_printf(bp,"%s %s%lu (%s0x%lx)\n",number,neg,
89 if (BIO_printf(bp,"%s%s",number,
102 if(BIO_puts(bp,"\n") <= 0
103 || !BIO_indent(bp,off+4,128))
106 if (BIO_printf(bp,"%02x%s",buf[i],((i+1) == n)?"":":")
109 if (BIO_write(bp,"\n",1) <= 0) return(0);
  /external/clang/test/Parser/
pointer_promotion.c 8 struct bar *bp; local
13 if (fp < bp) {} // expected-warning {{comparison of distinct pointer types ('struct foo *' and 'struct bar *')}}
  /external/google-breakpad/src/common/mac/
bootstrap_compat.cc 35 kern_return_t BootstrapRegister(mach_port_t bp,
38 return bootstrap_register(bp, service_name, sp);
  /external/libunwind/src/mi/
_ReadSLEB.c 8 unsigned char *bp = *dpp; local
12 byte = *bp++;
23 *dpp = bp;
_ReadULEB.c 8 unsigned char *bp = *dpp; local
12 byte = *bp++;
18 *dpp = bp;

Completed in 974 milliseconds

1 2 3 4 5 6 7 8 91011>>