Home
last modified time | relevance | path

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

1234

/dragonfly/contrib/tcpdump/
H A Dprint-bgp.c725 pptr++; in bgp_vpn_sg_print()
739 pptr++; in bgp_vpn_sg_print()
774 GET_U_1(pptr + 4), GET_U_1(pptr + 5), in bgp_vpn_rd_print()
775 GET_U_1(pptr + 6), GET_U_1(pptr + 7)); in bgp_vpn_rd_print()
781 GET_U_1(pptr + 2), GET_U_1(pptr + 3), in bgp_vpn_rd_print()
782 GET_U_1(pptr + 4), GET_U_1(pptr + 5), in bgp_vpn_rd_print()
791 GET_U_1(pptr + 3), GET_U_1(pptr + 4), in bgp_vpn_rd_print()
969 *(pptr+2), *(pptr+3), *(pptr+4), *(pptr+5), in bgp_rt_prefix_print()
1103 pptr++; in decode_mdt_vpn_nlri()
1154 pptr++; in decode_multicast_vpn()
[all …]
H A Dprint-bfd.c186 auth_print(netdissect_options *ndo, const u_char *pptr) in auth_print() argument
192 pptr += sizeof (struct bfd_header_t); in auth_print()
200 pptr += 2; in auth_print()
222 pptr++; in auth_print()
249 pptr += 2; in auth_print()
251 pptr += 4; in auth_print()
279 pptr += 2; in auth_print()
281 pptr += 4; in auth_print()
291 bfd_print(netdissect_options *ndo, const u_char *pptr, in bfd_print() argument
348 auth_print(ndo, pptr); in bfd_print()
[all …]
H A Dprint-forces.c843 ND_TCHECK_4(pptr); in pdatacnt_print()
846 id = GET_BE_U_4(pptr); in pdatacnt_print()
850 pptr += 4; in pdatacnt_print()
867 pptr += 4; in pdatacnt_print()
870 endi = GET_BE_U_4(pptr); in pdatacnt_print()
871 pptr += 4; in pdatacnt_print()
889 pptr += 4; in pdatacnt_print()
907 pptr += tll; in pdatacnt_print()
970 pptr, len); in pdatacnt_print()
1037 pptr += consumed; in pdata_print()
[all …]
H A Dprint-ssh.c27 ssh_print_version(netdissect_options *ndo, const u_char *pptr, u_int len) in ssh_print_version() argument
31 if ( GET_U_1(pptr+idx) != 'S' ) in ssh_print_version()
34 if ( GET_U_1(pptr+idx) != 'S' ) in ssh_print_version()
37 if ( GET_U_1(pptr+idx) != 'H' ) in ssh_print_version()
40 if ( GET_U_1(pptr+idx) != '-' ) in ssh_print_version()
47 c = GET_U_1(pptr + idx); in ssh_print_version()
61 if (GET_U_1(pptr + idx + 1) == '\n') { in ssh_print_version()
89 ND_PRINT(": %.*s", (int)idx, pptr); in ssh_print_version()
94 ssh_print(netdissect_options *ndo, const u_char *pptr, u_int len) in ssh_print() argument
98 ssh_print_version(ndo, pptr, len); in ssh_print()
H A Dprint-isoclns.c884 pptr += 1; in clnp_print()
1257 pptr++; in esis_print()
1264 dst = pptr; in esis_print()
1265 pptr += dstl; in esis_print()
1275 pptr++; in esis_print()
1282 snpa = pptr; in esis_print()
1283 pptr += snpal; in esis_print()
1291 pptr++; in esis_print()
1297 neta = pptr; in esis_print()
1298 pptr += netal; in esis_print()
[all …]
H A Dprint-syslog.c81 const u_char *pptr, u_int len) in syslog_print() argument
94 if (GET_U_1(pptr) != '<') in syslog_print()
99 GET_U_1(pptr + msg_off) >= '0' && in syslog_print()
100 GET_U_1(pptr + msg_off) <= '9') { in syslog_print()
101 pri = pri * 10 + (GET_U_1(pptr + msg_off) - '0'); in syslog_print()
105 if (GET_U_1(pptr + msg_off) != '>') in syslog_print()
142 (void)nd_printn(ndo, pptr + msg_off, len - msg_off, NULL); in syslog_print()
145 print_unknown_data(ndo, pptr, "\n\t", len); in syslog_print()
H A Dsignature.c118 signature_verify(netdissect_options *ndo, const u_char *pptr, u_int plen, in signature_verify() argument
133 if (!ND_TTEST_LEN(pptr, plen)) { in signature_verify()
145 if (sig_ptr + sizeof(sig) > pptr + plen) { in signature_verify()
158 memcpy(packet_copy, pptr, plen); in signature_verify()
163 sig_copy = packet_copy + (sig_ptr - pptr); in signature_verify()
170 (*clear_rtn)((void *)(packet_copy + ((const uint8_t *)clear_arg - pptr))); in signature_verify()
201 signature_verify(netdissect_options *ndo _U_, const u_char *pptr _U_, in signature_verify()
H A Dutil-print.c679 if (!ND_TTEST_1(pptr + idx)) { in fetch_token()
683 c = GET_U_1(pptr + idx); in fetch_token()
714 if (!ND_TTEST_1(pptr + idx)) { in fetch_token()
718 c = GET_U_1(pptr + idx); in fetch_token()
743 const u_char *pptr, u_int idx, u_int len) in print_txt_line() argument
751 c = GET_U_1(pptr + idx); in print_txt_line()
767 if (GET_U_1(pptr + idx + 1) == '\n') { in print_txt_line()
800 ND_PRINT("%s%.*s", prefix, (int)linelen, pptr + startidx); in print_txt_line()
805 ND_PRINT("%s%.*s", prefix, (int)linelen, pptr + startidx); in print_txt_line()
853 idx = fetch_token(ndo, pptr, idx, len, token, in txtproto_print()
[all …]
H A Dprint-slow.c247 const u_char *pptr, u_int len) in slow_print() argument
255 subtype = GET_U_1(pptr); in slow_print()
264 if (GET_U_1(pptr + 1) != LACP_VERSION) { in slow_print()
266 GET_U_1(pptr + 1)); in slow_print()
275 if (GET_U_1(pptr + 1) != MARKER_VERSION) { in slow_print()
277 GET_U_1(pptr + 1)); in slow_print()
296 GET_U_1((pptr + 1)), in slow_print()
307 print_unknown_data(ndo, pptr, "\n\t", len); in slow_print()
321 pptr += 1; in slow_print()
322 slow_oam_print(ndo, pptr, len); in slow_print()
[all …]
H A Dprint-lwapp.c167 const u_char *pptr, u_int len, int has_ap_ident) in lwapp_control_print() argument
177 tptr=pptr; in lwapp_control_print()
182 lwapp_trans_header = (const struct lwapp_transport_header *)(pptr+6); in lwapp_control_print()
184 lwapp_trans_header = (const struct lwapp_transport_header *)pptr; in lwapp_control_print()
302 const u_char *pptr, u_int len) in lwapp_data_print() argument
310 tptr=pptr; in lwapp_data_print()
314 lwapp_trans_header = (const struct lwapp_transport_header *)pptr; in lwapp_data_print()
H A Dprint-mpcp.c121 mpcp_print(netdissect_options *ndo, const u_char *pptr, u_int length) in mpcp_print() argument
136 tptr=pptr; in mpcp_print()
137 mpcp_common_header = (const struct mpcp_common_header_t *)pptr; in mpcp_print()
232 print_unknown_data(ndo,pptr, "\n\t", length); in mpcp_print()
H A Dchecksum.c139 create_osi_cksum (const uint8_t *pptr, int checksum_offset, int length) in create_osi_cksum() argument
160 pptr++; in create_osi_cksum()
162 c0 = c0 + *(pptr++); in create_osi_cksum()
H A Dprint-zephyr.c89 parse_field(netdissect_options *ndo, const char **pptr, int *len) in parse_field() argument
94 s = *pptr; in parse_field()
101 if (GET_U_1(*pptr) == '\0') { in parse_field()
106 (*pptr)++; in parse_field()
110 (*pptr)++; in parse_field()
H A Dprint-vtp.c121 const u_char *pptr, const u_int length) in vtp_print() argument
131 tptr = pptr; in vtp_print()
242 while ((unsigned)(tptr - pptr) < length) { in vtp_print()
391 ND_TCHECK_LEN(pptr, length); in vtp_print()
/dragonfly/contrib/gcc-8.0/libgomp/
H A Dcritical.c53 GOMP_critical_name_start (void **pptr) in GOMP_critical_name_start() argument
62 plock = (gomp_mutex_t *)pptr; in GOMP_critical_name_start()
67 plock = *pptr; in GOMP_critical_name_start()
75 plock = __sync_val_compare_and_swap (pptr, NULL, nlock); in GOMP_critical_name_start()
85 plock = *pptr; in GOMP_critical_name_start()
91 *pptr = plock; in GOMP_critical_name_start()
102 GOMP_critical_name_end (void **pptr) in GOMP_critical_name_end() argument
111 plock = (gomp_mutex_t *)pptr; in GOMP_critical_name_end()
113 plock = *pptr; in GOMP_critical_name_end()
/dragonfly/contrib/gcc-4.7/libgomp/
H A Dcritical.c52 GOMP_critical_name_start (void **pptr) in GOMP_critical_name_start() argument
61 plock = (gomp_mutex_t *)pptr; in GOMP_critical_name_start()
66 plock = *pptr; in GOMP_critical_name_start()
74 plock = __sync_val_compare_and_swap (pptr, NULL, nlock); in GOMP_critical_name_start()
84 plock = *pptr; in GOMP_critical_name_start()
90 *pptr = plock; in GOMP_critical_name_start()
101 GOMP_critical_name_end (void **pptr) in GOMP_critical_name_end() argument
110 plock = (gomp_mutex_t *)pptr; in GOMP_critical_name_end()
112 plock = *pptr; in GOMP_critical_name_end()
/dragonfly/lib/libc/gen/
H A Dpwcache.c260 UIDC *ptr, **pptr; in user_from_uid() local
268 pptr = uidtb + (uid % UID_SZ); in user_from_uid()
269 ptr = *pptr; in user_from_uid()
290 *pptr = ptr = (UIDC *)malloc(sizeof(UIDC)); in user_from_uid()
329 GIDC *ptr, **pptr; in group_from_gid() local
337 pptr = gidtb + (gid % GID_SZ); in group_from_gid()
338 ptr = *pptr; in group_from_gid()
396 UIDC *ptr, **pptr; in uid_from_user() local
412 ptr = *pptr; in uid_from_user()
460 GIDC *ptr, **pptr; in gid_from_group() local
[all …]
/dragonfly/lib/libc/net/
H A Dgetproto.c54 struct protoent *pptr; in files_getprotobynumber() local
60 pptr = va_arg(ap, struct protoent *); in files_getprotobynumber()
80 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) { in files_getprotobynumber()
85 *((struct protoent **)retval) = pptr; in files_getprotobynumber()
90 getprotobynumber_r(int proto, struct protoent *pptr, char *buffer, in getprotobynumber_r() argument
112 defaultsrc, proto, pptr, buffer, buflen, &ret_errno); in getprotobynumber_r()
H A Dgetprotoname.c56 struct protoent *pptr; in files_getprotobyname() local
62 pptr = va_arg(ap, struct protoent *); in files_getprotobyname()
88 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) { in files_getprotobyname()
93 *((struct protoent **)retval) = pptr; in files_getprotobyname()
99 getprotobyname_r(const char *name, struct protoent *pptr, char *buffer, in getprotobyname_r() argument
120 defaultsrc, name, pptr, buffer, buflen, &ret_errno); in getprotobyname_r()
H A Dgetprotoent.c315 pptr->p_proto = pe->p_proto; in __copy_protoent()
322 pptr->p_name = cp; in __copy_protoent()
326 pptr->p_aliases = (char **)ALIGN(buf); in __copy_protoent()
330 pptr->p_aliases[i] = cp; in __copy_protoent()
333 pptr->p_aliases[i] = NULL; in __copy_protoent()
414 struct protoent *pptr; in files_getprotoent_r() local
419 pptr = va_arg(ap, struct protoent *); in files_getprotoent_r()
432 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) { in files_getprotoent_r()
437 *((struct protoent **)retval) = pptr; in files_getprotoent_r()
469 getprotoent_r(struct protoent *pptr, char *buffer, size_t buflen, in getprotoent_r() argument
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/src/c++98/
H A Dstrstream.cc136 { return pptr() ? pptr() - pbase() : 0; } in pcount()
145 if (pptr() == epptr() && _M_dynamic && !_M_frozen && !_M_constant) in overflow()
174 if (pptr() != epptr()) in overflow()
176 *pptr() = c; in overflow()
212 if (gptr() == egptr() && pptr() && pptr() > egptr()) in underflow()
213 setg(eback(), gptr(), pptr()); in underflow()
243 if ((!do_get && !do_put) || (do_put && !pptr()) || !gptr()) in seekoff()
259 newoff = do_put ? pptr() - seeklow : gptr() - seeklow; in seekoff()
286 else if (off <= pptr() - seeklow) in seekoff()
287 setg(seeklow, seeklow + off, pptr()); in seekoff()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/src/c++98/
H A Dstrstream.cc137 { return pptr() ? pptr() - pbase() : 0; } in pcount()
146 if (pptr() == epptr() && _M_dynamic && !_M_frozen && !_M_constant) in overflow()
175 if (pptr() != epptr()) in overflow()
177 *pptr() = c; in overflow()
213 if (gptr() == egptr() && pptr() && pptr() > egptr()) in underflow()
214 setg(eback(), gptr(), pptr()); in underflow()
244 if ((!do_get && !do_put) || (do_put && !pptr()) || !gptr()) in seekoff()
260 newoff = do_put ? pptr() - seeklow : gptr() - seeklow; in seekoff()
287 else if (off <= pptr() - seeklow) in seekoff()
288 setg(seeklow, seeklow + off, pptr()); in seekoff()
/dragonfly/crypto/libressl/ssl/
H A Dd1_srtp.c152 const SRTP_PROTECTION_PROFILE **pptr, unsigned int len) in srtp_find_profile_by_name() argument
160 *pptr = p; in srtp_find_profile_by_name()
172 const SRTP_PROTECTION_PROFILE **pptr) in srtp_find_profile_by_num() argument
179 *pptr = p; in srtp_find_profile_by_num()
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/bits/
H A Dsstream.tcc97 _M_pbump(__base, __base + __capacity, this->pptr() - this->pbase()); in overflow()
104 *this->pptr() = traits_type::to_char_type(__c); in overflow()
111 const bool __testput = this->pptr() < this->epptr(); in overflow()
139 this->gptr() - this->eback(), this->pptr() - this->pbase()); in overflow()
142 *this->pptr() = __conv; in overflow()
189 __newoffo += this->pptr() - __beg; in seekoff()
/dragonfly/crypto/libressl/crypto/bio/
H A Dbss_mem.c262 void **pptr; in mem_ctrl() local
283 pptr = (void **)ptr; in mem_ctrl()
284 *pptr = bio_mem_read_ptr(bm); in mem_ctrl()
296 pptr = (void **)ptr; in mem_ctrl()
297 *pptr = bm->buf; in mem_ctrl()

1234