Searched refs:pptr (Results 1 - 25 of 65) sorted by relevance

123

/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-syslog.c85 syslog_print(register const u_char *pptr, register u_int len) argument
97 if (!TTEST2(*pptr, 1))
100 if (*(pptr+msg_off) == '<') {
103 if (!TTEST2(*(pptr+msg_off), 1))
106 while ( *(pptr+msg_off) >= '0' &&
107 *(pptr+msg_off) <= '9' &&
110 if (!TTEST2(*(pptr+msg_off), 1))
113 pri = pri * 10 + (*(pptr+msg_off) - '0');
116 if (!TTEST2(*(pptr+msg_off), 1))
119 if (*(pptr
[all...]
H A Dprint-sip.c36 sip_print(register const u_char *pptr, register u_int len) argument
47 TCHECK2(*(pptr+idx), 2);
48 if (EXTRACT_16BITS(pptr+idx) != 0x0d0a) { /* linefeed ? */
49 safeputchar(*(pptr+idx));
58 print_unknown_data(pptr,"\n\t",len);
H A Ddecode_prefix.h36 extern int decode_prefix4(const u_char *pptr, u_int itemlen, char *buf, u_int buflen);
H A Dprint-bgp.c489 decode_prefix4(const u_char *pptr, u_int itemlen, char *buf, u_int buflen) argument
494 TCHECK(pptr[0]);
496 plen = pptr[0];
503 TCHECK2(pptr[1], plenbytes);
505 memcpy(&addr, &pptr[1], plenbytes);
521 decode_labeled_prefix4(const u_char *pptr, u_int itemlen, char *buf, u_int buflen) argument
527 TCHECK2(pptr[0], 4);
529 plen = pptr[0]; /* get prefix length */
550 TCHECK2(pptr[4], plenbytes);
552 memcpy(&addr, &pptr[
579 bgp_vpn_ip_print(const u_char *pptr, u_int addr_length) argument
626 bgp_vpn_sg_print(const u_char *pptr, char *buf, u_int buflen) argument
670 bgp_vpn_rd_print(const u_char *pptr) argument
710 decode_rt_routing_info(const u_char *pptr, char *buf, u_int buflen) argument
747 decode_labeled_vpn_prefix4(const u_char *pptr, char *buf, u_int buflen) argument
797 decode_mdt_vpn_nlri(const u_char *pptr, char *buf, u_int buflen) argument
852 decode_multicast_vpn(const u_char *pptr, char *buf, u_int buflen) argument
958 decode_labeled_vpn_l2(const u_char *pptr, char *buf, u_int buflen) argument
1083 decode_labeled_prefix6(const u_char *pptr, u_int itemlen, char *buf, u_int buflen) argument
1127 decode_labeled_vpn_prefix6(const u_char *pptr, char *buf, u_int buflen) argument
1166 decode_clnp_prefix(const u_char *pptr, char *buf, u_int buflen) argument
1195 decode_labeled_vpn_clnp_prefix(const u_char *pptr, char *buf, u_int buflen) argument
1240 bgp_attr_get_as_size(u_int8_t bgpa_type, const u_char *pptr, int len) argument
1290 bgp_attr_print(u_int atype, const u_char *pptr, u_int len) argument
2603 bgp_route_refresh_print(const u_char *pptr, int len) argument
[all...]
H A Dprint-isoclns.c570 static void osi_print_cksum(const u_int8_t *pptr, u_int16_t checksum,
775 static int clnp_print (const u_int8_t *pptr, u_int length) argument
783 clnp_header = (const struct clnp_header_t *) pptr;
787 optr = pptr;
806 pptr += sizeof(struct clnp_header_t);
808 dest_address_length = *pptr;
809 dest_address = pptr + 1;
811 pptr += (1 + dest_address_length);
813 source_address_length = *pptr;
814 source_address = pptr
1030 esis_print(const u_int8_t *pptr, u_int length) argument
2096 const u_int8_t *optr, *pptr, *tptr; local
3092 osi_print_cksum(const u_int8_t *pptr, u_int16_t checksum, u_int checksum_offset, u_int length) argument
[all...]
H A Dprint-forces.c34 prestlv_print(register const u_char * pptr, register u_int len, argument
37 const struct forces_tlv *tlv = (struct forces_tlv *)pptr;
71 fdatatlv_print(register const u_char * pptr, register u_int len, argument
74 const struct forces_tlv *tlv = (struct forces_tlv *)pptr;
105 sdatailv_print(register const u_char * pptr, register u_int len, argument
109 const struct forces_ilv *ilv = (struct forces_ilv *)pptr;
147 sdatatlv_print(register const u_char * pptr, register u_int len, argument
150 const struct forces_tlv *tlv = (struct forces_tlv *)pptr;
175 pkeyitlv_print(register const u_char * pptr, register u_int len, argument
178 const struct forces_tlv *tlv = (struct forces_tlv *)pptr;
215 pdatacnt_print(register const u_char * pptr, register u_int len, u_int16_t IDcnt, u_int16_t op_msk, int indent) argument
310 pdata_print(register const u_char * pptr, register u_int len, u_int16_t op_msk, int indent) argument
357 genoptlv_print(register const u_char * pptr, register u_int len, u_int16_t op_msk, int indent) argument
402 recpdoptlv_print(register const u_char * pptr, register u_int len, u_int16_t op_msk, int indent) argument
456 invoptlv_print(register const u_char * pptr, register u_int len, u_int16_t op_msk _U_, int indent) argument
517 asttlv_print(register const u_char * pptr, register u_int len, u_int16_t op_msk _U_, int indent) argument
574 asrtlv_print(register const u_char * pptr, register u_int len, u_int16_t op_msk _U_, int indent) argument
641 print_metailv(register const u_char * pptr, register u_int len, u_int16_t op_msk _U_, int indent) argument
668 print_metatlv(register const u_char * pptr, register u_int len, u_int16_t op_msk _U_, int indent) argument
710 print_reddata(register const u_char * pptr, register u_int len, u_int16_t op_msk _U_, int indent _U_) argument
755 redirect_print(register const u_char * pptr, register u_int len, u_int16_t op_msk _U_, int indent) argument
817 lfbselect_print(register const u_char * pptr, register u_int len, u_int16_t op_msk, int indent) argument
895 forces_type_print(register const u_char * pptr, const struct forcesh *fhdr _U_, register u_int mlen, const struct tom_h *tops) argument
983 forces_print(register const u_char * pptr, register u_int len) argument
[all...]
H A Dprint-dtp.c49 dtp_print (const u_char *pptr, u_int length) argument
57 tptr = pptr;
75 while (tptr < (pptr+length)) {
H A Dprint-zephyr.c88 parse_field(char **pptr, int *len) argument
92 if (*len <= 0 || !pptr || !*pptr)
94 if (*pptr > (char *) snapend)
97 s = *pptr;
98 while (*pptr <= (char *) snapend && *len >= 0 && **pptr) {
99 (*pptr)++;
102 (*pptr)++;
104 if (*len < 0 || *pptr > (cha
[all...]
H A Dprint-udld.c86 udld_print (const u_char *pptr, u_int length) argument
94 tptr = pptr;
120 while (tptr < (pptr+length)) {
H A Dforces.h77 int (*print) (register const u_char * pptr, register u_int len,
97 int lfbselect_print(register const u_char * pptr, register u_int len,
99 int redirect_print(register const u_char * pptr, register u_int len,
101 int asrtlv_print(register const u_char * pptr, register u_int len,
103 int asttlv_print(register const u_char * pptr, register u_int len,
105 int gentltlv_print(register const u_char * pptr, register u_int len,
107 int print_metailv(register const u_char * pptr, register u_int len,
109 int print_metatlv(register const u_char * pptr, register u_int len,
111 int print_reddata(register const u_char * pptr, register u_int len,
233 int forces_type_print(register const u_char * pptr, cons
[all...]
H A Dprint-bfd.c170 bfd_print(register const u_char *pptr, register u_int len, register u_int port) argument
176 bfd_header = (const struct bfd_header_t *)pptr;
254 pptr += sizeof (const struct bfd_header_t);
255 bfd_auth_header = (const struct bfd_auth_header_t *)pptr;
274 if(!print_unknown_data(pptr,"\n\t",len))
H A Dprint-lwapp.c172 lwapp_control_print(const u_char *pptr, u_int len, int has_ap_ident) { argument
180 tptr=pptr;
186 lwapp_trans_header = (const struct lwapp_transport_header *)(pptr+6);
188 lwapp_trans_header = (const struct lwapp_transport_header *)pptr;
298 lwapp_data_print(const u_char *pptr, u_int len) { argument
304 tptr=pptr;
309 lwapp_trans_header = (const struct lwapp_transport_header *)pptr;
H A Dprint-vqp.c109 vqp_print(register const u_char *pptr, register u_int len) argument
120 tptr=pptr;
122 vqp_common_header = (const struct vqp_common_header_t *)pptr;
H A Dprint-mpcp.c135 mpcp_print(register const u_char *pptr, register u_int length) { argument
151 tptr=pptr;
152 mpcp.common_header = (const struct mpcp_common_header_t *)pptr;
266 print_unknown_data(pptr, "\n\t", length);
H A Dsignature.c121 signature_verify (const u_char *pptr, u_int plen, u_char *sig_ptr) argument
137 signature_compute_hmac_md5(pptr, plen, (unsigned char *)sigsecret,
/freebsd-9.3-release/contrib/gcclibs/libgomp/
H A Dcritical.c53 GOMP_critical_name_start (void **pptr) argument
62 plock = (gomp_mutex_t *)pptr;
67 plock = *pptr;
75 plock = __sync_val_compare_and_swap (pptr, NULL, nlock);
85 plock = *pptr;
91 *pptr = plock;
102 GOMP_critical_name_end (void **pptr) argument
111 plock = (gomp_mutex_t *)pptr;
113 plock = *pptr;
/freebsd-9.3-release/lib/libc/net/
H A Dgetproto.c64 struct protoent *pptr; local
70 pptr = va_arg(ap, struct protoent *);
90 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) {
95 *((struct protoent **)retval) = pptr;
100 getprotobynumber_r(int proto, struct protoent *pptr, char *buffer, argument
122 defaultsrc, proto, pptr, buffer, buflen, &ret_errno);
H A Dgetprotoname.c66 struct protoent *pptr; local
72 pptr = va_arg(ap, struct protoent *);
98 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) {
103 *((struct protoent **)retval) = pptr;
109 getprotobyname_r(const char *name, struct protoent *pptr, char *buffer, argument
130 defaultsrc, name, pptr, buffer, buflen, &ret_errno);
H A Dgetprotoent.c296 __copy_protoent(struct protoent *pe, struct protoent *pptr, char *buf, argument
318 pptr->p_proto = pe->p_proto;
325 pptr->p_name = cp;
329 pptr->p_aliases = (char **)ALIGN(buf);
333 pptr->p_aliases[i] = cp;
336 pptr->p_aliases[i] = NULL;
417 struct protoent *pptr; local
422 pptr = va_arg(ap, struct protoent *);
437 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) {
442 *((struct protoent **)retval) = pptr;
473 getprotoent_r(struct protoent *pptr, char *buffer, size_t buflen, struct protoent **result) argument
[all...]
/freebsd-9.3-release/tools/tools/bus_autoconf/
H A Dbus_load_file.c39 load_file(const char *fname, uint8_t **pptr, uint32_t *plen) argument
74 *pptr = ptr;
/freebsd-9.3-release/contrib/libstdc++/src/
H A Dstrstream.cc139 { return pptr() ? pptr() - pbase() : 0; }
148 if (pptr() == epptr() && _M_dynamic && !_M_frozen && !_M_constant)
177 if (pptr() != epptr())
179 *pptr() = c;
215 if (gptr() == egptr() && pptr() && pptr() > egptr())
216 setg(eback(), gptr(), pptr());
246 if ((!do_get && !do_put) || (do_put && !pptr()) || !gptr())
262 newoff = do_put ? pptr()
[all...]
/freebsd-9.3-release/contrib/libc-pwcache/
H A Dpwcache.c266 UIDC *ptr, **pptr; local
274 pptr = uidtb + (uid % UID_SZ);
275 ptr = *pptr;
296 *pptr = ptr = (UIDC *)malloc(sizeof(UIDC));
335 GIDC *ptr, **pptr; local
343 pptr = gidtb + (gid % GID_SZ);
344 ptr = *pptr;
365 *pptr = ptr = (GIDC *)malloc(sizeof(GIDC));
402 UIDC *ptr, **pptr; local
417 pptr
466 GIDC *ptr, **pptr; local
[all...]
/freebsd-9.3-release/contrib/libc++/src/
H A Dstrstream.cpp147 return static_cast<int>(pptr() - pbase());
155 if (pptr() == epptr())
173 ptrdiff_t nout = pptr() - pbase();
187 *pptr() = static_cast<char>(__c);
221 if (egptr() >= pptr())
223 setg(eback(), gptr(), pptr());
249 if (pos_out && pptr() == nullptr)
261 newoff = (pos_in ? gptr() : pptr()) - eback();
294 if (!((pos_in && gptr() == nullptr) || (pos_out && pptr() == nullptr)))
/freebsd-9.3-release/contrib/libstdc++/include/std/
H A Dstd_sstream.h131 if (this->pptr())
134 if (this->pptr() > this->egptr())
135 __ret = __string_type(this->pbase(), this->pptr());
242 if (this->pptr() && this->pptr() > this->egptr())
245 this->setg(this->eback(), this->gptr(), this->pptr());
247 this->setg(this->pptr(), this->pptr(), this->pptr());
/freebsd-9.3-release/crypto/openssl/crypto/bio/
H A Dbss_mem.c206 char **pptr; local
232 pptr = (char **)ptr;
233 *pptr = (char *)&(bm->data[0]);
243 pptr = (char **)ptr;
244 *pptr = (char *)bm;

Completed in 117 milliseconds

123