Home
last modified time | relevance | path

Searched refs:pptr (Results 1 – 23 of 23) sorted by relevance

/external/tcpdump/
Dprint-bgp.c428 decode_prefix4(const u_char *pptr, char *buf, u_int buflen) in decode_prefix4() argument
433 TCHECK(pptr[0]); in decode_prefix4()
434 plen = pptr[0]; in decode_prefix4()
439 TCHECK2(pptr[1], (plen + 7) / 8); in decode_prefix4()
440 memcpy(&addr, &pptr[1], (plen + 7) / 8); in decode_prefix4()
453 decode_labeled_prefix4(const u_char *pptr, char *buf, u_int buflen) in decode_labeled_prefix4() argument
458 TCHECK(pptr[0]); in decode_labeled_prefix4()
459 plen = pptr[0]; /* get prefix length */ in decode_labeled_prefix4()
478 TCHECK2(pptr[4], (plen + 7) / 8); in decode_labeled_prefix4()
479 memcpy(&addr, &pptr[4], (plen + 7) / 8); in decode_labeled_prefix4()
[all …]
Dprint-syslog.c85 syslog_print(register const u_char *pptr, register u_int len) in syslog_print() argument
97 if (!TTEST2(*pptr, 1)) in syslog_print()
100 if (*(pptr+msg_off) == '<') { in syslog_print()
103 if (!TTEST2(*(pptr+msg_off), 1)) in syslog_print()
106 while ( *(pptr+msg_off) >= '0' && in syslog_print()
107 *(pptr+msg_off) <= '9' && in syslog_print()
110 if (!TTEST2(*(pptr+msg_off), 1)) in syslog_print()
113 pri = pri * 10 + (*(pptr+msg_off) - '0'); in syslog_print()
116 if (!TTEST2(*(pptr+msg_off), 1)) in syslog_print()
119 if (*(pptr+msg_off) == '>') in syslog_print()
[all …]
Dprint-isoclns.c713 static int clnp_print (const u_int8_t *pptr, u_int length) in clnp_print() argument
721 clnp_header = (const struct clnp_header_t *) pptr; in clnp_print()
725 optr = pptr; in clnp_print()
744 pptr += sizeof(struct clnp_header_t); in clnp_print()
746 dest_address_length = *pptr; in clnp_print()
747 dest_address = pptr + 1; in clnp_print()
749 pptr += (1 + dest_address_length); in clnp_print()
751 source_address_length = *pptr; in clnp_print()
752 source_address = pptr +1; in clnp_print()
754 pptr += (1 + source_address_length); in clnp_print()
[all …]
Dprint-zephyr.c88 parse_field(char **pptr, int *len) in parse_field() argument
92 if (*len <= 0 || !pptr || !*pptr) in parse_field()
94 if (*pptr > (char *) snapend) in parse_field()
97 s = *pptr; in parse_field()
98 while (*pptr <= (char *) snapend && *len >= 0 && **pptr) { in parse_field()
99 (*pptr)++; in parse_field()
102 (*pptr)++; in parse_field()
104 if (*len < 0 || *pptr > (char *) snapend) in parse_field()
Dprint-sip.c36 sip_print(register const u_char *pptr, register u_int len) in sip_print() argument
47 if (EXTRACT_16BITS(pptr+idx) != 0x0d0a) { /* linefeed ? */ in sip_print()
48 safeputchar(*(pptr+idx)); in sip_print()
57 print_unknown_data(pptr,"\n\t",len); in sip_print()
Dprint-bfd.c170 bfd_print(register const u_char *pptr, register u_int len, register u_int port) in bfd_print() argument
176 bfd_header = (const struct bfd_header_t *)pptr; in bfd_print()
250 pptr += sizeof (const struct bfd_header_t); in bfd_print()
251 bfd_auth_header = (const struct bfd_auth_header_t *)pptr; in bfd_print()
270 if(!print_unknown_data(pptr,"\n\t",len)) in bfd_print()
Dprint-ldp.c483 ldp_print(register const u_char *pptr, register u_int len) { in ldp_print() argument
487 processed = ldp_msg_print(pptr); in ldp_print()
491 pptr += processed; in ldp_print()
497 ldp_msg_print(register const u_char *pptr) { in ldp_msg_print() argument
506 tptr=pptr; in ldp_msg_print()
507 ldp_com_header = (const struct ldp_common_header *)pptr; in ldp_msg_print()
Dprint-slow.c120 slow_print(register const u_char *pptr, register u_int len) { in slow_print() argument
134 tptr=pptr; in slow_print()
135 slow_com_header = (const struct slow_common_header *)pptr; in slow_print()
Dprint-cdp.c89 cdp_print(const u_char *pptr, u_int length, u_int caplen) in cdp_print() argument
99 tptr = pptr; /* temporary pointer */ in cdp_print()
108 while (tptr < (pptr+length)) { in cdp_print()
Dprint-olsr.c205 olsr_print (const u_char *pptr, u_int length) in olsr_print() argument
221 tptr = pptr; in olsr_print()
247 while (tptr < (pptr+length)) { in olsr_print()
Ddecode_prefix.h36 extern int decode_prefix4(const u_char *pptr, char *buf, u_int buflen);
Dprint-eigrp.c214 eigrp_print(register const u_char *pptr, register u_int len) { in eigrp_print() argument
232 tptr=pptr; in eigrp_print()
233 eigrp_com_header = (const struct eigrp_common_header *)pptr; in eigrp_print()
Dprint-lmp.c362 lmp_print(register const u_char *pptr, register u_int len) { in lmp_print() argument
377 tptr=pptr; in lmp_print()
378 lmp_com_header = (const struct lmp_common_header *)pptr; in lmp_print()
Dprint-lspping.c461 lspping_print(register const u_char *pptr, register u_int len) { in lspping_print() argument
492 tptr=pptr; in lspping_print()
493 lspping_com_header = (const struct lspping_common_header *)pptr; in lspping_print()
Dprint-ppp.c424 handle_ctrl_proto(u_int proto, const u_char *pptr, int length) in handle_ctrl_proto() argument
432 tptr=pptr; in handle_ctrl_proto()
462 print_unknown_data(pptr-2,"\n\t",6); in handle_ctrl_proto()
578 print_unknown_data(pptr-2,"\n\t ",length+2); in handle_ctrl_proto()
Dprint-rsvp.c1651 rsvp_print(register const u_char *pptr, register u_int len) { in rsvp_print() argument
1657 tptr=pptr; in rsvp_print()
1659 rsvp_com_header = (const struct rsvp_common_header *)pptr; in rsvp_print()
/external/openssl/crypto/bio/
Dbss_mem.c204 char **pptr; in mem_ctrl() local
236 pptr=(char **)ptr; in mem_ctrl()
237 *pptr=(char *)&(bm->data[0]); in mem_ctrl()
248 pptr=(char **)ptr; in mem_ctrl()
249 *pptr=(char *)bm; in mem_ctrl()
Dbss_conn.c456 const char **pptr; in conn_ctrl() local
480 pptr=(const char **)ptr; in conn_ctrl()
483 *pptr=data->param_hostname; in conn_ctrl()
488 *pptr=data->param_port; in conn_ctrl()
492 *pptr= (char *)&(data->ip[0]); in conn_ctrl()
499 *pptr="not initialized"; in conn_ctrl()
/external/grub/stage2/
Dstage2.c576 char *pptr = password; in run_menu() local
587 while (! isspace (*pptr) && *pptr) in run_menu()
588 pptr++; in run_menu()
591 *pptr++ = 0; in run_menu()
596 while (isspace (*pptr)) in run_menu()
597 pptr++; in run_menu()
602 if (*pptr != 0) in run_menu()
604 while ((*(new_file++) = *(pptr++)) != 0) in run_menu()
/external/zlib/contrib/iostream3/
Dzfstream.cc220 if (this->pptr() > this->epptr() || this->pptr() < this->pbase()) in overflow()
225 *(this->pptr()) = traits_type::to_char_type(c); in overflow()
229 int bytes_to_write = this->pptr() - this->pbase(); in overflow()
/external/zlib/contrib/iostream/
Dzfstream.cpp197 *pptr() = c; in overflow()
224 n = pptr() - q; in flushbuf()
/external/qemu/slirp2/
Ddebug.c59 u_char *pptr = (u_char *)dat; local
67 DEBUG_MISC((dfd, "%02x ", *pptr++));
/external/qemu/distrib/sdl-1.2.12/src/video/os2fslib/
DSDL_os2fslib.c1634 char *pptr, *mptr, *dptr, *dmptr; in os2fslib_SetIcon() local
1688 pptr = (char *) (icon_rgb->pixels); in os2fslib_SetIcon()
1713 *dptr++ = *pptr++; in os2fslib_SetIcon()
1714 *dptr++ = *pptr++; in os2fslib_SetIcon()
1715 *dptr++ = *pptr++; in os2fslib_SetIcon()
1716 *dptr++ = *pptr++; in os2fslib_SetIcon()
1725 *dptr++ = 0; pptr++; in os2fslib_SetIcon()
1726 *dptr++ = 0; pptr++; in os2fslib_SetIcon()
1727 *dptr++ = 0; pptr++; in os2fslib_SetIcon()
1728 *dptr++ = 0; pptr++; in os2fslib_SetIcon()