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

1 2 3 4 5 6 7 8 91011>>

  /external/tcpdump/
print-pim.c 121 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)
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[25] & 0x3f
    [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-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-pgm.c 149 pgm_print(register const u_char *bp, register u_int length,
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...]
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-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-rx.c 434 rx_print(register const u_char *bp, int length, int sport, int dport,
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, length)
    [all...]
  /external/libppp/src/
mbuf.c 78 m_length(struct mbuf *bp)
82 for (len = 0; bp; bp = bp->m_next)
83 len += bp->m_len;
107 struct mbuf *bp; local
126 bp = &(*mb)->u.m;
145 bp = &(*mb)->u.m;
153 memset(bp, '\0', sizeof(struct mbuf));
154 bp->m_size = size - sizeof *bp
347 struct mbuf *bp; local
400 bcopy(MBUF_CTOP(bp), bp + 1, bp->m_len); local
    [all...]
proto.c 56 proto_Prepend(struct mbuf *bp, u_short proto, unsigned comp, int extra)
64 bp = m_prepend(bp, cp + 1, 1, extra);
66 bp = m_prepend(bp, cp, 2, extra);
68 return bp;
72 proto_LayerPush(struct bundle *b __unused, struct link *l, struct mbuf *bp,
76 bp = proto_Prepend(bp, *proto, l->lcp.his_protocomp,
78 m_settype(bp, MB_PROTOOUT)
    [all...]
sync.c 53 struct mbuf *bp, int pri __unused, u_short *proto __unused)
55 log_DumpBp(LogSYNC, "Write", bp);
56 m_settype(bp, MB_SYNCOUT);
57 bp->priv = 0;
58 return bp;
62 sync_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp,
71 log_DumpBp(LogSYNC, "Read", bp);
74 len = m_length(bp);
78 m_settype(bp, MB_SYNCIN);
81 return bp;
    [all...]
acf.c 59 acf_LayerPush(struct bundle *b __unused, struct link *l, struct mbuf *bp,
65 bp = m_prepend(bp, cp, 2, 0);
66 m_settype(bp, MB_ACFOUT);
69 return bp;
73 acf_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp,
81 return bp;
84 if (mbuf_View(bp, cp, 2) == 2) {
87 bp = mbuf_Read(bp, cp, 2)
    [all...]
vjcomp.c 73 vj_LayerPush(struct bundle *bundle, struct link *l __unused, struct mbuf *bp,
80 bp = m_pullup(bp);
81 pip = (struct ip *)MBUF_CTOP(bp);
84 type = sl_compress_tcp(bp, pip, &bundle->ncp.ipcp.vj.cslc,
95 m_settype(bp, MB_VJOUT);
101 m_settype(bp, MB_VJOUT);
106 m_freem(bp);
111 return bp;
115 VjUncompressTcp(struct ipcp *ipcp, struct mbuf *bp, u_char type
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/
FontFamily.cpp 49 const FontFamily* bp; local
50 for (ap = a.next(), bp = b.next(); ap != bp; ap = ap->next(), bp = bp->next()) {
51 if (!ap || !bp)
53 if (ap->family() != bp->family())
  /external/openssl/crypto/asn1/
t_pkey.c 65 int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num,
73 if(!BIO_indent(bp,off,128))
77 if (BIO_printf(bp, "%s 0\n", number) <= 0)
84 if (BIO_printf(bp,"%s %s%lu (%s0x%lx)\n",number,neg,
91 if (BIO_printf(bp,"%s%s",number,
104 if(BIO_puts(bp,"\n") <= 0
105 || !BIO_indent(bp,off+4,128))
108 if (BIO_printf(bp,"%02x%s",buf[i],((i+1) == n)?"":":")
111 if (BIO_write(bp,"\n",1) <= 0) return(0);
  /external/openssl/ssl/
ssl_txt.c 107 int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
113 if (BIO_puts(bp,"SSL-Session:\n") <= 0) goto err;
130 if (BIO_printf(bp," Protocol : %s\n",s) <= 0) goto err;
136 if (BIO_printf(bp," Cipher : %06lX\n",x->cipher_id&0xffffff) <= 0)
141 if (BIO_printf(bp," Cipher : %04lX\n",x->cipher_id&0xffff) <= 0)
147 if (BIO_printf(bp," Cipher : %s\n",((x->cipher == NULL)?"unknown":x->cipher->name)) <= 0)
150 if (BIO_puts(bp," Session-ID: ") <= 0) goto err;
153 if (BIO_printf(bp,"%02X",x->session_id[i]) <= 0) goto err;
155 if (BIO_puts(bp,"\n Session-ID-ctx: ") <= 0) goto err;
158 if (BIO_printf(bp,"%02X",x->sid_ctx[i]) <= 0
    [all...]
  /external/openssl/crypto/ocsp/
ocsp_prn.c 69 static int ocsp_certid_print(BIO *bp, OCSP_CERTID* a, int indent)
71 BIO_printf(bp, "%*sCertificate ID:\n", indent, "");
73 BIO_printf(bp, "%*sHash Algorithm: ", indent, "");
74 i2a_ASN1_OBJECT(bp, a->hashAlgorithm->algorithm);
75 BIO_printf(bp, "\n%*sIssuer Name Hash: ", indent, "");
76 i2a_ASN1_STRING(bp, a->issuerNameHash, V_ASN1_OCTET_STRING);
77 BIO_printf(bp, "\n%*sIssuer Key Hash: ", indent, "");
78 i2a_ASN1_STRING(bp, a->issuerKeyHash, V_ASN1_OCTET_STRING);
79 BIO_printf(bp, "\n%*sSerial Number: ", indent, "");
80 i2a_ASN1_INTEGER(bp, a->serialNumber)
    [all...]
  /external/linux-tools-perf/util/include/linux/added/
hw_breakpoint.h 58 static inline unsigned long hw_breakpoint_addr(struct perf_event *bp)
60 return bp->attr.bp_addr;
63 static inline int hw_breakpoint_type(struct perf_event *bp)
65 return bp->attr.bp_type;
68 static inline unsigned long hw_breakpoint_len(struct perf_event *bp)
70 return bp->attr.bp_len;
80 modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr);
94 extern int register_perf_hw_breakpoint(struct perf_event *bp);
95 extern int __register_perf_hw_breakpoint(struct perf_event *bp);
96 extern void unregister_hw_breakpoint(struct perf_event *bp);
    [all...]
  /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 *')}}
  /bionic/libc/tzcode/
strptime.c 114 const unsigned char *bp; local
118 bp = (unsigned char *)buf;
125 while (isspace(*bp))
126 bp++;
139 if (c != *bp++)
163 if (!(bp = _strptime(bp, _ctloc(d_t_fmt), tm, cr)))
169 if (!(bp = _strptime(bp, "%m/%d/%y", tm, cr)))
175 if (!(bp = _strptime(bp, "%H:%M", tm, cr))
    [all...]
  /external/openssh/openbsd-compat/
strptime.c 70 const unsigned char *bp; local
80 bp = (unsigned char *)buf;
87 while (isspace(*bp))
88 bp++;
101 if (c != *bp++)
126 if (!(bp = _strptime(bp, _ctloc(d_t_fmt), tm, 0)))
132 if (!(bp = _strptime(bp, "%m/%d/%y", tm, 0)))
138 if (!(bp = _strptime(bp, "%H:%M", tm, 0))
    [all...]
  /external/clang/test/Sema/
block-misc.c 163 void (^bp)(int);
166 void *vp = bp;
168 f(1 ? bp : vp);
169 f(1 ? vp : bp);
170 f(1 ? bp : bp1);
171 (void)(bp > rp); // expected-error {{invalid operands}}
172 (void)(bp > 0); // expected-error {{invalid operands}}
173 (void)(bp > bp); // expected-error {{invalid operands}}
174 (void)(bp > vp); // expected-error {{invalid operands}
    [all...]

Completed in 711 milliseconds

1 2 3 4 5 6 7 8 91011>>