/freebsd-11.0-release/contrib/tcpdump/ |
H A D | print-sip.c | 50 sip_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument 52 txtproto_print(ndo, pptr, len, "sip", sipcmds, RESP_CODE_SECOND_TOKEN);
|
H A D | print-smtp.c | 27 smtp_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument 29 txtproto_print(ndo, pptr, len, "smtp", NULL, 0);
|
H A D | print-syslog.c | 80 register const u_char *pptr, register u_int len) 92 ND_TCHECK2(*pptr, 1); 93 if (*(pptr+msg_off) == '<') { 95 ND_TCHECK2(*(pptr + msg_off), 1); 96 while ( *(pptr+msg_off) >= '0' && 97 *(pptr+msg_off) <= '9' && 99 pri = pri * 10 + (*(pptr+msg_off) - '0'); 101 ND_TCHECK2(*(pptr + msg_off), 1); 103 if (*(pptr+msg_off) != '>') { 134 ND_TCHECK2(*(pptr 79 syslog_print(netdissect_options *ndo, register const u_char *pptr, register u_int len) argument [all...] |
H A D | print-ftp.c | 32 ftp_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument 34 txtproto_print(ndo, pptr, len, "ftp", NULL, 0);
|
H A D | print-http.c | 77 http_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument 79 txtproto_print(ndo, pptr, len, "http", httpcmds, RESP_CODE_SECOND_TOKEN);
|
H A D | print-rtsp.c | 47 rtsp_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument 49 txtproto_print(ndo, pptr, len, "rtsp", rtspcmds, RESP_CODE_SECOND_TOKEN);
|
H A D | print-bgp.c | 485 const u_char *pptr, u_int itemlen, char *buf, u_int buflen) 490 ND_TCHECK(pptr[0]); 492 plen = pptr[0]; 499 ND_TCHECK2(pptr[1], plenbytes); 501 memcpy(&addr, &pptr[1], plenbytes); 518 const u_char *pptr, u_int itemlen, char *buf, u_int buflen) 524 ND_TCHECK2(pptr[0], 4); 526 plen = pptr[0]; /* get prefix length */ 547 ND_TCHECK2(pptr[4], plenbytes); 549 memcpy(&addr, &pptr[ 484 decode_prefix4(netdissect_options *ndo, const u_char *pptr, u_int itemlen, char *buf, u_int buflen) argument 517 decode_labeled_prefix4(netdissect_options *ndo, const u_char *pptr, u_int itemlen, char *buf, u_int buflen) argument 576 bgp_vpn_ip_print(netdissect_options *ndo, const u_char *pptr, u_int addr_length) argument 625 bgp_vpn_sg_print(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 670 bgp_vpn_rd_print(netdissect_options *ndo, const u_char *pptr) argument 711 decode_rt_routing_info(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 751 decode_labeled_vpn_prefix4(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 802 decode_mdt_vpn_nlri(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 858 decode_multicast_vpn(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 965 decode_labeled_vpn_l2(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 1092 decode_labeled_prefix6(netdissect_options *ndo, const u_char *pptr, u_int itemlen, char *buf, u_int buflen) argument 1137 decode_labeled_vpn_prefix6(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 1177 decode_clnp_prefix(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 1207 decode_labeled_vpn_clnp_prefix(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 1253 bgp_attr_get_as_size(netdissect_options *ndo, uint8_t bgpa_type, const u_char *pptr, int len) argument 1304 bgp_attr_print(netdissect_options *ndo, u_int atype, const u_char *pptr, u_int len) argument 2622 bgp_route_refresh_print(netdissect_options *ndo, const u_char *pptr, int len) argument [all...] |
H A D | print-dtp.c | 46 dtp_print (netdissect_options *ndo, const u_char *pptr, u_int length) argument 54 tptr = pptr; 71 while (tptr < (pptr+length)) {
|
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 _U_) 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.c | 510 fetch_token(netdissect_options *ndo, const u_char *pptr, u_int idx, u_int len, argument 516 if (!ND_TTEST(*(pptr + idx))) { 520 if (!isascii(*(pptr + idx))) { 524 if (isspace(*(pptr + idx))) { 528 if (!isprint(*(pptr + idx))) { 536 tbuf[toklen] = *(pptr + idx); 550 if (!ND_TTEST(*(pptr + idx))) { 554 if (*(pptr + idx) == '\r' || *(pptr + idx) == '\n') { 558 if (!isascii(*(pptr 577 print_txt_line(netdissect_options *ndo, const char *protoname, const char *prefix, const u_char *pptr, u_int idx, u_int len) argument 647 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-isoclns.c | 564 static void osi_print_cksum(netdissect_options *, const uint8_t *pptr, uint16_t checksum, 764 const uint8_t *pptr, u_int length) 772 clnp_header = (const struct clnp_header_t *) pptr; 776 optr = pptr; 795 pptr += sizeof(struct clnp_header_t); 797 dest_address_length = *pptr; 798 dest_address = pptr + 1; 800 pptr += (1 + dest_address_length); 802 source_address_length = *pptr; 803 source_address = pptr 763 clnp_print(netdissect_options *ndo, const uint8_t *pptr, u_int length) argument 1019 esis_print(netdissect_options *ndo, const uint8_t *pptr, u_int length) argument 2085 const uint8_t *optr, *pptr, *tptr; local 3080 osi_print_cksum(netdissect_options *ndo, const uint8_t *pptr, uint16_t checksum, u_int checksum_offset, u_int length) argument [all...] |
H A D | print-zephyr.c | 84 parse_field(netdissect_options *ndo, char **pptr, int *len) argument 88 if (*len <= 0 || !pptr || !*pptr) 90 if (*pptr > (char *) ndo->ndo_snapend) 93 s = *pptr; 94 while (*pptr <= (char *) ndo->ndo_snapend && *len >= 0 && **pptr) { 95 (*pptr)++; 98 (*pptr)++; 100 if (*len < 0 || *pptr > (cha [all...] |
H A D | print-udld.c | 82 udld_print (netdissect_options *ndo, const u_char *pptr, u_int length) argument 90 tptr = pptr; 115 while (tptr < (pptr+length)) {
|
H A D | print-bfd.c | 162 bfd_print(netdissect_options *ndo, register const u_char *pptr, argument 169 bfd_header = (const struct bfd_header_t *)pptr; 247 pptr += sizeof (const struct bfd_header_t); 248 bfd_auth_header = (const struct bfd_auth_header_t *)pptr; 267 if(!print_unknown_data(ndo, pptr,"\n\t",len))
|
H A D | print-lwapp.c | 165 const u_char *pptr, u_int len, int has_ap_ident) 173 tptr=pptr; 178 lwapp_trans_header = (const struct lwapp_transport_header *)(pptr+6); 180 lwapp_trans_header = (const struct lwapp_transport_header *)pptr; 288 const u_char *pptr, u_int len) 294 tptr=pptr; 298 lwapp_trans_header = (const struct lwapp_transport_header *)pptr; 164 lwapp_control_print(netdissect_options *ndo, const u_char *pptr, u_int len, int has_ap_ident) argument 287 lwapp_data_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
|
H A D | print-vqp.c | 101 vqp_print(netdissect_options *ndo, register const u_char *pptr, register u_int len) argument 112 tptr=pptr; 114 vqp_common_header = (const struct vqp_common_header_t *)pptr;
|
/freebsd-11.0-release/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.0-release/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.0-release/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.0-release/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.0-release/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.0-release/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.0-release/contrib/libc++/src/ |
H A D | strstream.cpp | 147 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)))
|