/external/libppp/src/ |
nat_cmd.c | 507 PacketAliasOut(MBUF_CTOP(bp), bp->m_len); 508 bp->m_len = ntohs(((struct ip *)MBUF_CTOP(bp))->ip_len); 529 ret = PacketAliasIn(MBUF_CTOP(bp), bp->m_len); 531 bp->m_len = ntohs(((struct ip *)MBUF_CTOP(bp))->ip_len); 562 while ((fptr = PacketAliasGetFragment(MBUF_CTOP(bp))) != NULL) { 564 PacketAliasFragmentIn(MBUF_CTOP(bp), fptr); 567 memcpy(MBUF_CTOP(*last), fptr, len); 573 "w %d)\n", (unsigned long)((struct ip *)MBUF_CTOP(bp))->ip_id, 584 PacketCheck(bundle, AF_INET, MBUF_CTOP(bp), bp->m_len, NULL,
|
async.c | 124 sp = MBUF_CTOP(wp); 139 memcpy(MBUF_CTOP(bp), p->async.xbuff, cnt); 207 ch = MBUF_CTOP(bp);
|
pred.c | 186 hp = wp = MBUF_CTOP(mwp); 211 mwp->m_len = wp - MBUF_CTOP(mwp); 227 cp = MBUF_CTOP(bp); 229 pp = bufp = MBUF_CTOP(wp); 266 pp = MBUF_CTOP(wp); 279 const char *pre = *MBUF_CTOP(bp) & 0x80 ? "" : "un";
|
mbuf.c | 206 memcpy(ptr, MBUF_CTOP(bp), nb); 233 memcpy(ptr, MBUF_CTOP(bp), nb); 252 memcpy(MBUF_CTOP(bp), ptr, len); 266 memcpy(MBUF_CTOP(head), ptr, len); 314 memcpy(MBUF_CTOP(bp), ptr, nb); 392 for (cp = MBUF_CTOP(nbp); bp; bp = m_free(bp)) { 393 memcpy(cp, MBUF_CTOP(bp), bp->m_len); 400 bcopy(MBUF_CTOP(bp), bp + 1, bp->m_len);
|
tcpmss.c | 154 pip = (struct ip *)MBUF_CTOP(bp); 164 MSSFixup((struct tcphdr *)(MBUF_CTOP(bp) + hlen), plen - hlen,
|
deflate.c | 84 rp = MBUF_CTOP(mi); 97 wp = MBUF_CTOP(mo); 106 state->cx.next_in = MBUF_CTOP(mi); 128 state->cx.next_in = MBUF_CTOP(mi); 139 state->cx.next_out = MBUF_CTOP(mo); 238 wp = MBUF_CTOP(mo); 246 state->cx.next_in = MBUF_CTOP(mi); 273 state->cx.next_in = MBUF_CTOP(mi); 294 state->cx.next_out = MBUF_CTOP(mo); 355 rp = MBUF_CTOP(mi) [all...] |
pap.c | 102 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); 103 cp = MBUF_CTOP(bp) + sizeof(struct fsmheader); 127 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); 128 cp = MBUF_CTOP(bp) + sizeof(struct fsmheader); 233 txt = MBUF_CTOP(bp);
|
vjcomp.c | 81 pip = (struct ip *)MBUF_CTOP(bp); 128 bufp = MBUF_CTOP(bp);
|
mbuf.h | 48 #define MBUF_CTOP(bp) \
|
hdlc.c | 127 pos = MBUF_CTOP(m); 133 pos = MBUF_CTOP(m); 156 cp = MBUF_CTOP(last) + last->m_len; 161 cp = MBUF_CTOP(tail); 317 fcs = hdlc_Fcs(MBUF_CTOP(bp), len);
|
fsm.c | 215 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); 217 memcpy(MBUF_CTOP(bp) + sizeof(struct fsmheader), ptr, count); 493 cp = MBUF_CTOP(bp); 512 lcp_SendProtoRej(&fp->link->lcp, MBUF_CTOP(bp), bp->m_len); 627 cp = MBUF_CTOP(bp); 711 cp = MBUF_CTOP(bp); 844 cp = MBUF_CTOP(bp); 959 cp = MBUF_CTOP(bp); 1002 cp = MBUF_CTOP(bp); 1074 fsm_Output(fp, CODE_CODEREJ, id++, MBUF_CTOP(bp), bp->m_len, MB_UNKNOWN) [all...] |
link.c | 298 memcpy(MBUF_CTOP(lbp[0]), buf, len); 390 lcp_SendProtoRej(&l->lcp, MBUF_CTOP(bp), bp->m_len);
|
lqr.c | 219 lcp_SendProtoRej(lcp, MBUF_CTOP(bp), bp->m_len); 224 lqr = (struct lqrdata *)MBUF_CTOP(bp); 506 lqr_ChangeOrder(&lqr, (struct lqrdata *)MBUF_CTOP(bp));
|
mppe.c | 184 rp = MBUF_CTOP(mo); 216 rp = MBUF_CTOP(mp); 361 rp = MBUF_CTOP(mp);
|
ncp.c | 237 memcpy(MBUF_CTOP(bp), ptr, count); 251 memcpy(MBUF_CTOP(bp), ptr, count);
|
cbcp.c | 202 head = (struct cbcp_header *)MBUF_CTOP(bp); 206 memcpy(MBUF_CTOP(bp) + sizeof *head, data, data->length); 642 head = (struct cbcp_header *)MBUF_CTOP(bp); 655 data = (struct cbcp_data *)MBUF_CTOP(bp);
|
mp.c | 141 ua_ntohs(MBUF_CTOP(m), &val); 151 ua_ntohl(MBUF_CTOP(m), &header->seq); 579 link_PullPacket(&mp->link, MBUF_CTOP(q), q->m_len, mp->bundle); 780 m = mbuf_Read(m, MBUF_CTOP(mo), mo->m_len); [all...] |
chap.c | 112 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); 114 memcpy(MBUF_CTOP(bp) + sizeof(struct fsmheader), ptr, count);
|
ipv6cp.c | 448 if (!FilterCheck(MBUF_CTOP(bp), AF_INET6, &bundle->filter.alive,
|
physical.c | 420 nw = physical_Write(p, MBUF_CTOP(p->out), p->out->m_len);
|
ipcp.c | [all...] |