Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 3 of 3) sorted by relevance

/lib/liblwip/src/netif/ppp/
Dppp.c703 nPut(PPPControl *pc, struct pbuf *nb) in nPut() argument
708 for(b = nb; b != NULL; b = b->next) { in nPut()
715 pbuf_free(nb); in nPut()
720 snmp_add_ifoutoctets(&pc->netif, nb->tot_len); in nPut()
722 pbuf_free(nb); in nPut()
733 pppAppend(u_char c, struct pbuf *nb, ext_accm *outACCM) in pppAppend() argument
735 struct pbuf *tb = nb; in pppAppend()
741 if (nb && (PBUF_POOL_BUFSIZE - nb->len) < 2) { in pppAppend()
744 nb->next = tb; in pppAppend()
748 nb = tb; in pppAppend()
[all …]
Dvj.h153 extern int vj_uncompress_uncomp(struct pbuf *nb, struct vjcompress *comp);
154 extern int vj_uncompress_tcp (struct pbuf **nb, struct vjcompress *comp);
Dvj.c427 vj_uncompress_uncomp(struct pbuf *nb, struct vjcompress *comp) in vj_uncompress_uncomp() argument
433 ip = (struct ip_hdr *)nb->payload; in vj_uncompress_uncomp()
436 || hlen + sizeof(struct tcp_hdr) > nb->len in vj_uncompress_uncomp()
438 > nb->len in vj_uncompress_uncomp()
441 IPH_PROTO(ip), hlen, nb->len)); in vj_uncompress_uncomp()
464 vj_uncompress_tcp(struct pbuf **nb, struct vjcompress *comp) in vj_uncompress_tcp() argument
470 struct pbuf *n0 = *nb; in vj_uncompress_tcp()
640 *nb = n0; in vj_uncompress_tcp()