/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-sip.c | 51 sip_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument 53 txtproto_print(ndo, pptr, len, "sip", sipcmds, RESP_CODE_SECOND_TOKEN);
|
H A D | print-smtp.c | 29 smtp_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument 31 txtproto_print(ndo, pptr, len, "smtp", NULL, 0);
|
H A D | print-ftp.c | 29 ftp_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument 31 txtproto_print(ndo, pptr, len, "ftp", NULL, 0);
|
H A D | print-syslog.c | 81 register const u_char *pptr, register u_int len) 93 ND_TCHECK2(*pptr, 1); 94 if (*(pptr+msg_off) == '<') { 96 ND_TCHECK2(*(pptr + msg_off), 1); 97 while ( *(pptr+msg_off) >= '0' && 98 *(pptr+msg_off) <= '9' && 100 pri = pri * 10 + (*(pptr+msg_off) - '0'); 102 ND_TCHECK2(*(pptr + msg_off), 1); 104 if (*(pptr+msg_off) != '>') { 135 ND_TCHECK2(*(pptr 80 syslog_print(netdissect_options *ndo, register const u_char *pptr, register u_int len) argument [all...] |
H A D | print-rtsp.c | 44 rtsp_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument 46 txtproto_print(ndo, pptr, len, "rtsp", rtspcmds, RESP_CODE_SECOND_TOKEN);
|
H A D | print-http.c | 74 http_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument 76 txtproto_print(ndo, pptr, len, "http", httpcmds, RESP_CODE_SECOND_TOKEN);
|
H A D | print-bfd.c | 178 auth_print(netdissect_options *ndo, register const u_char *pptr) argument 183 pptr += sizeof (const struct bfd_header_t); 184 bfd_auth_header = (const struct bfd_auth_header_t *)pptr; 190 pptr += 2; 191 ND_PRINT((ndo, "\n\t Auth Key ID: %d", *pptr)); 212 pptr++; 215 if (fn_printn(ndo, pptr, bfd_auth_header->auth_len - 3, 241 pptr += 2; 242 ND_TCHECK2(*pptr, 4); 243 ND_PRINT((ndo, ", Sequence Number: 0x%08x", EXTRACT_32BITS(pptr))); 289 bfd_print(netdissect_options *ndo, register const u_char *pptr, register u_int len, register u_int port) argument [all...] |
H A D | print-bgp.c | 533 const u_char *pptr, u_int itemlen, char *buf, u_int buflen) 538 ND_TCHECK(pptr[0]); 540 plen = pptr[0]; 547 ND_TCHECK2(pptr[1], plenbytes); 549 memcpy(&addr, &pptr[1], plenbytes); 566 const u_char *pptr, u_int itemlen, char *buf, u_int buflen) 572 ND_TCHECK2(pptr[0], 4); 574 plen = pptr[0]; /* get prefix length */ 595 ND_TCHECK2(pptr[4], plenbytes); 597 memcpy(&addr, &pptr[ 532 decode_prefix4(netdissect_options *ndo, const u_char *pptr, u_int itemlen, char *buf, u_int buflen) argument 565 decode_labeled_prefix4(netdissect_options *ndo, const u_char *pptr, u_int itemlen, char *buf, u_int buflen) argument 624 bgp_vpn_ip_print(netdissect_options *ndo, const u_char *pptr, u_int addr_length) argument 671 bgp_vpn_sg_print(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 715 bgp_vpn_rd_print(netdissect_options *ndo, const u_char *pptr) argument 756 decode_rt_routing_info(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 812 decode_labeled_vpn_prefix4(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 863 decode_mdt_vpn_nlri(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 920 decode_multicast_vpn(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 1027 decode_labeled_vpn_l2(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 1152 decode_labeled_prefix6(netdissect_options *ndo, const u_char *pptr, u_int itemlen, char *buf, u_int buflen) argument 1197 decode_labeled_vpn_prefix6(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 1236 decode_clnp_prefix(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 1266 decode_labeled_vpn_clnp_prefix(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 1312 bgp_attr_get_as_size(netdissect_options *ndo, uint8_t bgpa_type, const u_char *pptr, int len) argument 1363 bgp_attr_print(netdissect_options *ndo, u_int atype, const u_char *pptr, u_int len, const unsigned attr_set_level) argument 2725 bgp_route_refresh_print(netdissect_options *ndo, const u_char *pptr, int len) argument [all...] |
H A D | print-dtp.c | 47 dtp_print (netdissect_options *ndo, const u_char *pptr, u_int length) argument 55 tptr = pptr; 72 while (tptr < (pptr+length)) { 92 fn_printzp(ndo, tptr+4, len-4, pptr+length);
|
H A D | signature.c | 118 signature_verify(netdissect_options *ndo, const u_char *pptr, u_int plen, argument 133 if (!ND_TTEST2(*pptr, plen)) { 145 if (sig_ptr + sizeof(sig) > pptr + plen) { 158 memcpy(packet_copy, pptr, plen); 163 sig_copy = packet_copy + (sig_ptr - pptr); 170 (*clear_rtn)((void *)(packet_copy + ((const uint8_t *)clear_arg - pptr))); 201 signature_verify(netdissect_options *ndo _U_, const u_char *pptr _U_,
|
H A D | print-isoclns.c | 567 static void osi_print_cksum(netdissect_options *, const uint8_t *pptr, 767 const uint8_t *pptr, u_int length) 775 clnp_header = (const struct clnp_header_t *) pptr; 779 optr = pptr; 800 while (pptr < ndo->ndo_snapend) 801 ND_PRINT((ndo, "%02X", *pptr++)); 810 pptr += sizeof(struct clnp_header_t); 817 ND_TCHECK(*pptr); 818 dest_address_length = *pptr; 819 pptr 766 clnp_print(netdissect_options *ndo, const uint8_t *pptr, u_int length) argument 1090 esis_print(netdissect_options *ndo, const uint8_t *pptr, u_int length) argument 2190 const uint8_t *optr, *pptr, *tptr; local 3151 osi_print_cksum(netdissect_options *ndo, const uint8_t *pptr, uint16_t checksum, int checksum_offset, u_int length) argument [all...] |
H A D | print-forces.c | 69 int (*print) (netdissect_options *ndo, register const u_char * pptr, register u_int len, 233 int (*print) (netdissect_options *ndo, register const u_char * pptr, register u_int len, 237 static int genoptlv_print(netdissect_options *, register const u_char * pptr, register u_int len, 239 static int recpdoptlv_print(netdissect_options *, register const u_char * pptr, register u_int len, 241 static int invoptlv_print(netdissect_options *, register const u_char * pptr, register u_int len, 445 static int lfbselect_print(netdissect_options *, register const u_char * pptr, register u_int len, 447 static int redirect_print(netdissect_options *, register const u_char * pptr, register u_int len, 449 static int asrtlv_print(netdissect_options *, register const u_char * pptr, register u_int len, 451 static int asttlv_print(netdissect_options *, register const u_char * pptr, register u_int len, 503 int (*print) (netdissect_options *, register const u_char * pptr, registe 645 prestlv_print(netdissect_options *ndo, register const u_char * pptr, register u_int len, uint16_t op_msk _U_, int indent) argument 683 fdatatlv_print(netdissect_options *ndo, register const u_char * pptr, register u_int len, uint16_t op_msk _U_, int indent) argument 718 sdatailv_print(netdissect_options *ndo, register const u_char * pptr, register u_int len, uint16_t op_msk _U_, int indent) argument 764 sdatatlv_print(netdissect_options *ndo, register const u_char * pptr, register u_int len, uint16_t op_msk, int indent) argument 793 pkeyitlv_print(netdissect_options *ndo, register const u_char * pptr, register u_int len, uint16_t op_msk, int indent) argument 836 pdatacnt_print(netdissect_options *ndo, register const u_char * pptr, register u_int len, uint16_t IDcnt, uint16_t op_msk, int indent) argument 991 pdata_print(netdissect_options *ndo, register const u_char * pptr, register u_int len, uint16_t op_msk, int indent) argument 1055 genoptlv_print(netdissect_options *ndo, register const u_char * pptr, register u_int len, uint16_t op_msk, int indent) argument 1101 recpdoptlv_print(netdissect_options *ndo, register const u_char * pptr, register u_int len, uint16_t op_msk, int indent) argument 1155 invoptlv_print(netdissect_options *ndo, register const u_char * pptr, register u_int len, uint16_t op_msk _U_, int indent) argument 1216 asttlv_print(netdissect_options *ndo, register const u_char * pptr, register u_int len, uint16_t op_msk _U_, int indent) argument 1274 asrtlv_print(netdissect_options *ndo, register const u_char * pptr, register u_int len, uint16_t op_msk _U_, int indent) argument 1346 print_metailv(netdissect_options *ndo, register const u_char * pptr, uint16_t op_msk _U_, int indent) argument 1374 print_metatlv(netdissect_options *ndo, register const u_char * pptr, register u_int len, uint16_t op_msk _U_, int indent) argument 1416 print_reddata(netdissect_options *ndo, register const u_char * pptr, register u_int len, uint16_t op_msk _U_, int indent) argument 1438 redirect_print(netdissect_options *ndo, register const u_char * pptr, register u_int len, uint16_t op_msk _U_, int indent) argument 1507 lfbselect_print(netdissect_options *ndo, register const u_char * pptr, register u_int len, uint16_t op_msk, int indent) argument 1586 forces_type_print(netdissect_options *ndo, register const u_char * pptr, const struct forcesh *fhdr _U_, register u_int mlen, const struct tom_h *tops) argument 1676 forces_print(netdissect_options *ndo, register const u_char * pptr, register u_int len) argument [all...] |
H A D | util-print.c | 697 fetch_token(netdissect_options *ndo, const u_char *pptr, u_int idx, u_int len, argument 703 if (!ND_TTEST(*(pptr + idx))) { 707 if (!isascii(*(pptr + idx))) { 711 if (isspace(*(pptr + idx))) { 715 if (!isprint(*(pptr + idx))) { 723 tbuf[toklen] = *(pptr + idx); 737 if (!ND_TTEST(*(pptr + idx))) { 741 if (*(pptr + idx) == '\r' || *(pptr + idx) == '\n') { 745 if (!isascii(*(pptr 764 print_txt_line(netdissect_options *ndo, const char *protoname, const char *prefix, const u_char *pptr, u_int idx, u_int len) argument 834 txtproto_print(netdissect_options *ndo, const u_char *pptr, u_int len, const char *protoname, const char **cmds, u_int flags) argument [all...] |
H A D | print-udld.c | 97 udld_print (netdissect_options *ndo, const u_char *pptr, u_int length) argument 105 tptr = pptr; 130 while (tptr < (pptr+length)) {
|
H A D | print-lwapp.c | 166 const u_char *pptr, u_int len, int has_ap_ident) 174 tptr=pptr; 179 lwapp_trans_header = (const struct lwapp_transport_header *)(pptr+6); 181 lwapp_trans_header = (const struct lwapp_transport_header *)pptr; 289 const u_char *pptr, u_int len) 295 tptr=pptr; 299 lwapp_trans_header = (const struct lwapp_transport_header *)pptr; 165 lwapp_control_print(netdissect_options *ndo, const u_char *pptr, u_int len, int has_ap_ident) argument 288 lwapp_data_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
|
H A D | print-mpcp.c | 124 mpcp_print(netdissect_options *ndo, register const u_char *pptr, register u_int length) argument 140 tptr=pptr; 141 mpcp.common_header = (const struct mpcp_common_header_t *)pptr; 245 print_unknown_data(ndo,pptr, "\n\t", length);
|
/freebsd-11-stable/contrib/gcclibs/libgomp/ |
H A D | critical.c | 53 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-11-stable/lib/libc/net/ |
H A D | getproto.c | 58 struct protoent *pptr; local 64 pptr = va_arg(ap, struct protoent *); 84 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) { 89 *((struct protoent **)retval) = pptr; 94 getprotobynumber_r(int proto, struct protoent *pptr, char *buffer, argument 116 defaultsrc, proto, pptr, buffer, buflen, &ret_errno);
|
H A D | getprotoname.c | 66 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 D | getprotoent.c | 295 __copy_protoent(struct protoent *pe, struct protoent *pptr, char *buf, argument 317 pptr->p_proto = pe->p_proto; 324 pptr->p_name = cp; 328 pptr->p_aliases = (char **)ALIGN(buf); 332 pptr->p_aliases[i] = cp; 335 pptr->p_aliases[i] = NULL; 416 struct protoent *pptr; local 421 pptr = va_arg(ap, struct protoent *); 436 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) { 441 *((struct protoent **)retval) = pptr; 472 getprotoent_r(struct protoent *pptr, char *buffer, size_t buflen, struct protoent **result) argument [all...] |
/freebsd-11-stable/tools/tools/bus_autoconf/ |
H A D | bus_load_file.c | 39 load_file(const char *fname, uint8_t **pptr, uint32_t *plen) argument 74 *pptr = ptr;
|
/freebsd-11-stable/contrib/libstdc++/src/ |
H A D | strstream.cc | 139 { 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-11-stable/contrib/libc-pwcache/ |
H A D | pwcache.c | 266 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-11-stable/contrib/libstdc++/include/std/ |
H A D | std_sstream.h | 131 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-11-stable/contrib/llvm-project/libcxx/src/ |
H A D | strstream.cpp | 149 return static_cast<int>(pptr() - pbase()); 157 if (pptr() == epptr()) 178 ptrdiff_t nout = pptr() - pbase(); 191 *pptr() = static_cast<char>(__c); 225 if (egptr() >= pptr()) 227 setg(eback(), gptr(), pptr()); 253 if (pos_out && pptr() == nullptr) 265 newoff = (pos_in ? gptr() : pptr()) - eback(); 300 if (!((pos_in && gptr() == nullptr) || (pos_out && pptr() == nullptr)))
|