Home
last modified time | relevance | path

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

1234

/freebsd-14.2/contrib/tcpdump/
H A Dprint-bgp.c721 pptr++; in bgp_vpn_sg_print()
735 pptr++; in bgp_vpn_sg_print()
770 GET_U_1(pptr + 4), GET_U_1(pptr + 5), in bgp_vpn_rd_print()
771 GET_U_1(pptr + 6), GET_U_1(pptr + 7)); in bgp_vpn_rd_print()
777 GET_U_1(pptr + 2), GET_U_1(pptr + 3), in bgp_vpn_rd_print()
778 GET_U_1(pptr + 4), GET_U_1(pptr + 5), in bgp_vpn_rd_print()
787 GET_U_1(pptr + 3), GET_U_1(pptr + 4), in bgp_vpn_rd_print()
965 *(pptr+2), *(pptr+3), *(pptr+4), *(pptr+5), in bgp_rt_prefix_print()
1099 pptr++; in decode_mdt_vpn_nlri()
1150 pptr++; in decode_multicast_vpn()
[all …]
H A Dprint-bfd.c184 auth_print(netdissect_options *ndo, const u_char *pptr) in auth_print() argument
190 pptr += sizeof (struct bfd_header_t); in auth_print()
198 pptr += 2; in auth_print()
220 pptr++; in auth_print()
247 pptr += 2; in auth_print()
249 pptr += 4; in auth_print()
277 pptr += 2; in auth_print()
279 pptr += 4; in auth_print()
289 bfd_print(netdissect_options *ndo, const u_char *pptr, in bfd_print() argument
345 auth_print(ndo, pptr); in bfd_print()
[all …]
H A Dprint-ssh.c25 ssh_print_version(netdissect_options *ndo, const u_char *pptr, u_int len) in ssh_print_version() argument
29 if ( GET_U_1(pptr+idx) != 'S' ) in ssh_print_version()
32 if ( GET_U_1(pptr+idx) != 'S' ) in ssh_print_version()
35 if ( GET_U_1(pptr+idx) != 'H' ) in ssh_print_version()
38 if ( GET_U_1(pptr+idx) != '-' ) in ssh_print_version()
45 c = GET_U_1(pptr + idx); in ssh_print_version()
59 if (GET_U_1(pptr + idx + 1) == '\n') { in ssh_print_version()
87 ND_PRINT(": %.*s", (int)idx, pptr); in ssh_print_version()
92 ssh_print(netdissect_options *ndo, const u_char *pptr, u_int len) in ssh_print() argument
96 ssh_print_version(ndo, pptr, len); in ssh_print()
H A Dprint-forces.c841 ND_TCHECK_4(pptr); in pdatacnt_print()
844 id = GET_BE_U_4(pptr); in pdatacnt_print()
848 pptr += 4; in pdatacnt_print()
865 pptr += 4; in pdatacnt_print()
868 endi = GET_BE_U_4(pptr); in pdatacnt_print()
869 pptr += 4; in pdatacnt_print()
887 pptr += 4; in pdatacnt_print()
905 pptr += tll; in pdatacnt_print()
968 pptr, len); in pdatacnt_print()
1035 pptr += consumed; in pdata_print()
[all …]
H A Dprint-isoclns.c882 pptr += 1; in clnp_print()
1256 pptr++; in esis_print()
1263 dst = pptr; in esis_print()
1264 pptr += dstl; in esis_print()
1274 pptr++; in esis_print()
1281 snpa = pptr; in esis_print()
1282 pptr += snpal; in esis_print()
1290 pptr++; in esis_print()
1296 neta = pptr; in esis_print()
1297 pptr += netal; in esis_print()
[all …]
H A Dprint-syslog.c79 const u_char *pptr, u_int len) in syslog_print() argument
92 if (GET_U_1(pptr) != '<') in syslog_print()
97 GET_U_1(pptr + msg_off) >= '0' && in syslog_print()
98 GET_U_1(pptr + msg_off) <= '9') { in syslog_print()
99 pri = pri * 10 + (GET_U_1(pptr + msg_off) - '0'); in syslog_print()
103 if (GET_U_1(pptr + msg_off) != '>') in syslog_print()
139 (void)nd_printn(ndo, pptr + msg_off, len - msg_off, NULL); in syslog_print()
142 print_unknown_data(ndo, pptr, "\n\t", len); in syslog_print()
H A Dsignature.c117 signature_verify(netdissect_options *ndo, const u_char *pptr, u_int plen, in signature_verify() argument
132 if (!ND_TTEST_LEN(pptr, plen)) { in signature_verify()
144 if (sig_ptr + sizeof(sig) > pptr + plen) { in signature_verify()
157 memcpy(packet_copy, pptr, plen); in signature_verify()
162 sig_copy = packet_copy + (sig_ptr - pptr); in signature_verify()
169 (*clear_rtn)((void *)(packet_copy + ((const uint8_t *)clear_arg - pptr))); in signature_verify()
200 signature_verify(netdissect_options *ndo _U_, const u_char *pptr _U_, in signature_verify()
H A Dutil-print.c707 if (!ND_TTEST_1(pptr + idx)) { in fetch_token()
711 c = GET_U_1(pptr + idx); in fetch_token()
742 if (!ND_TTEST_1(pptr + idx)) { in fetch_token()
746 c = GET_U_1(pptr + idx); in fetch_token()
771 const u_char *pptr, u_int idx, u_int len) in print_txt_line() argument
779 c = GET_U_1(pptr + idx); in print_txt_line()
795 if (GET_U_1(pptr + idx + 1) == '\n') { in print_txt_line()
828 ND_PRINT("%s%.*s", prefix, (int)linelen, pptr + startidx); in print_txt_line()
832 ND_PRINT("%s%.*s", prefix, (int)linelen, pptr + startidx); in print_txt_line()
880 idx = fetch_token(ndo, pptr, idx, len, token, in txtproto_print()
[all …]
H A Dprint-lwapp.c165 const u_char *pptr, u_int len, int has_ap_ident) in lwapp_control_print() argument
175 tptr=pptr; in lwapp_control_print()
180 lwapp_trans_header = (const struct lwapp_transport_header *)(pptr+6); in lwapp_control_print()
182 lwapp_trans_header = (const struct lwapp_transport_header *)pptr; in lwapp_control_print()
300 const u_char *pptr, u_int len) in lwapp_data_print() argument
308 tptr=pptr; in lwapp_data_print()
312 lwapp_trans_header = (const struct lwapp_transport_header *)pptr; in lwapp_data_print()
H A Dprint-slow.c245 const u_char *pptr, u_int len) in slow_print() argument
253 subtype = GET_U_1(pptr); in slow_print()
262 if (GET_U_1(pptr + 1) != LACP_VERSION) { in slow_print()
264 GET_U_1(pptr + 1)); in slow_print()
273 if (GET_U_1(pptr + 1) != MARKER_VERSION) { in slow_print()
275 GET_U_1(pptr + 1)); in slow_print()
294 GET_U_1((pptr + 1)), in slow_print()
305 print_unknown_data(ndo, pptr, "\n\t", len); in slow_print()
319 pptr += 1; in slow_print()
320 slow_oam_print(ndo, pptr, len); in slow_print()
[all …]
H A Dchecksum.c104 create_osi_cksum (const uint8_t *pptr, int checksum_offset, int length) in create_osi_cksum() argument
125 pptr++; in create_osi_cksum()
127 c0 = c0 + *(pptr++); in create_osi_cksum()
H A Dprint-mpcp.c119 mpcp_print(netdissect_options *ndo, const u_char *pptr, u_int length) in mpcp_print() argument
134 tptr=pptr; in mpcp_print()
135 mpcp_common_header = (const struct mpcp_common_header_t *)pptr; in mpcp_print()
230 print_unknown_data(ndo,pptr, "\n\t", length); in mpcp_print()
H A Dprint-smtp.c23 smtp_print(netdissect_options *ndo, const u_char *pptr, u_int len) in smtp_print() argument
26 txtproto_print(ndo, pptr, len, NULL, 0); in smtp_print()
H A Dprint-ftp.c23 ftp_print(netdissect_options *ndo, const u_char *pptr, u_int len) in ftp_print() argument
26 txtproto_print(ndo, pptr, len, NULL, 0); in ftp_print()
/freebsd-14.2/lib/libsecureboot/openpgp/
H A Ddecode.c114 if (pptr == NULL) in decode_new_len()
116 ptr = *pptr; in decode_new_len()
133 *pptr = ptr; in decode_new_len()
154 ptr = *pptr; in decode_len()
176 *pptr = ptr; in decode_len()
195 ptr = *pptr; in decode_mpi()
203 *pptr = ptr; in decode_mpi()
229 ptr = *pptr; in mpi2bn()
236 *pptr = ptr; in mpi2bn()
278 *pptr = nptr; in decode_packet()
[all …]
H A Ddecode.h29 unsigned char * mpi2bn(unsigned char **pptr, size_t *sz);
35 BIGNUM * mpi2bn(unsigned char **pptr);
52 unsigned char * decode_mpi(unsigned char **pptr, size_t *sz);
54 int decode_packet(int want, unsigned char **pptr, size_t nbytes,
56 unsigned char * decode_subpacket(unsigned char **pptr, int *stag, int *sz);
/freebsd-14.2/contrib/libc-pwcache/
H A Dpwcache.c265 UIDC *ptr, **pptr; in user_from_uid() local
273 pptr = uidtb + (uid % UID_SZ); in user_from_uid()
274 ptr = *pptr; in user_from_uid()
295 *pptr = ptr = (UIDC *)malloc(sizeof(UIDC)); in user_from_uid()
334 GIDC *ptr, **pptr; in group_from_gid() local
342 pptr = gidtb + (gid % GID_SZ); in group_from_gid()
343 ptr = *pptr; in group_from_gid()
401 UIDC *ptr, **pptr; in uid_from_user() local
417 ptr = *pptr; in uid_from_user()
465 GIDC *ptr, **pptr; in gid_from_group() local
[all …]
/freebsd-14.2/lib/libc/net/
H A Dgetproto.c57 struct protoent *pptr; in files_getprotobynumber() local
63 pptr = va_arg(ap, struct protoent *); in files_getprotobynumber()
83 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) { in files_getprotobynumber()
88 *((struct protoent **)retval) = pptr; in files_getprotobynumber()
93 getprotobynumber_r(int proto, struct protoent *pptr, char *buffer, in getprotobynumber_r() argument
115 defaultsrc, proto, pptr, buffer, buflen, &ret_errno); in getprotobynumber_r()
H A Dgetprotoname.c65 struct protoent *pptr; in files_getprotobyname() local
71 pptr = va_arg(ap, struct protoent *); in files_getprotobyname()
97 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) { in files_getprotobyname()
102 *((struct protoent **)retval) = pptr; in files_getprotobyname()
108 getprotobyname_r(const char *name, struct protoent *pptr, char *buffer, in getprotobyname_r() argument
129 defaultsrc, name, pptr, buffer, buflen, &ret_errno); in getprotobyname_r()
H A Dgetprotoent.c316 pptr->p_proto = pe->p_proto; in __copy_protoent()
323 pptr->p_name = cp; in __copy_protoent()
327 pptr->p_aliases = (char **)ALIGN(buf); in __copy_protoent()
331 pptr->p_aliases[i] = cp; in __copy_protoent()
334 pptr->p_aliases[i] = NULL; in __copy_protoent()
415 struct protoent *pptr; in files_getprotoent_r() local
420 pptr = va_arg(ap, struct protoent *); in files_getprotoent_r()
435 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) { in files_getprotoent_r()
440 *((struct protoent **)retval) = pptr; in files_getprotoent_r()
471 getprotoent_r(struct protoent *pptr, char *buffer, size_t buflen, in getprotoent_r() argument
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/src/
H A Dstrstream.cpp103 int strstreambuf::pcount() const { return static_cast<int>(pptr() - pbase()); } in pcount()
108 if (pptr() == epptr()) { in overflow()
128 ptrdiff_t nout = pptr() - pbase(); in overflow()
140 *pptr() = static_cast<char>(__c); in overflow()
166 if (egptr() >= pptr()) in underflow()
168 setg(eback(), gptr(), pptr()); in underflow()
190 if (pos_out && pptr() == nullptr) in seekoff()
200 newoff = (pos_in ? gptr() : pptr()) - eback(); in seekoff()
230 if ((pos_in && gptr() == nullptr) || (pos_out && pptr() == nullptr)) in seekpos()
/freebsd-14.2/contrib/arm-optimized-routines/networking/
H A Dchksum.c14 slurp_head32(const void **pptr, uint32_t *nbytes) in slurp_head32() argument
18 uint32_t off = (uintptr_t) *pptr % 4; in slurp_head32()
22 const unsigned char *ptr32 = align_ptr(*pptr, 4); in slurp_head32()
25 *pptr = ptr32 + 4; in slurp_head32()
/freebsd-14.2/crypto/openssl/crypto/ui/
H A Dui_util.c72 void **pptr, int idx, long argl, void *argp) in ui_dup_method_data() argument
74 if (*pptr != NULL) { in ui_dup_method_data()
75 *pptr = OPENSSL_memdup(*pptr, sizeof(struct pem_password_cb_data)); in ui_dup_method_data()
76 if (*pptr != NULL) in ui_dup_method_data()
/freebsd-14.2/contrib/arm-optimized-routines/networking/aarch64/
H A Dchksum_simd.c19 slurp_head64(const void **pptr, uint32_t *nbytes) in slurp_head64() argument
23 uint32_t off = (uintptr_t) *pptr % 8; in slurp_head64()
27 const unsigned char *ptr64 = align_ptr(*pptr, 8); in slurp_head64()
33 *pptr = ptr64 + 8; in slurp_head64()
/freebsd-14.2/contrib/kyua/utils/process/
H A Dsystembuf.cpp127 PRE(pptr() >= epptr()); in overflow()
131 traits_type::assign(*pptr(), c); in overflow()
144 ssize_t cnt = pptr() - pbase(); in sync()

1234