Home
last modified time | relevance | path

Searched refs:ph (Results 1 – 5 of 5) sorted by relevance

/components/net/lwip/lwip-2.0.3/src/netif/ppp/
A Dpppoe.c216 if(!ph) { in pppoe_write()
225 pbuf_cat(ph, p); in pppoe_write()
227 tot_len = ph->tot_len; in pppoe_write()
230 ret = pppoe_xmit(sc, ph); in pppoe_write()
386 struct pppoehdr *ph; in pppoe_disc_input() local
423 plen = lwip_ntohs(ph->plen); in pppoe_disc_input()
424 off += sizeof(*ph); in pppoe_disc_input()
503 switch (ph->code) { in pppoe_disc_input()
654 struct pppoehdr *ph; in pppoe_data_input() local
669 if (pb->len < sizeof(*ph)) { in pppoe_data_input()
[all …]
A Dpppol2tp.c167 struct pbuf *ph; /* UDP + L2TP header */ in pppol2tp_write() local
175 ph = pbuf_alloc(PBUF_TRANSPORT, (u16_t)(PPPOL2TP_OUTPUT_DATA_HEADER_LEN), PBUF_RAM); in pppol2tp_write()
176 if(!ph) { in pppol2tp_write()
184 pbuf_header(ph, -(s16_t)PPPOL2TP_OUTPUT_DATA_HEADER_LEN); /* hide L2TP header */ in pppol2tp_write()
185 pbuf_cat(ph, p); in pppol2tp_write()
187 tot_len = ph->tot_len; in pppol2tp_write()
190 ret = pppol2tp_xmit(l2tp, ph); in pppol2tp_write()
/components/net/lwip/lwip-2.1.2/src/netif/ppp/
A Dpppoe.c217 if(!ph) { in pppoe_write()
226 pbuf_cat(ph, p); in pppoe_write()
228 tot_len = ph->tot_len; in pppoe_write()
231 ret = pppoe_xmit(sc, ph); in pppoe_write()
387 struct pppoehdr *ph; in pppoe_disc_input() local
421 plen = lwip_ntohs(ph->plen); in pppoe_disc_input()
504 switch (ph->code) { in pppoe_disc_input()
656 struct pppoehdr *ph; in pppoe_data_input() local
671 if (pb->len < sizeof(*ph)) { in pppoe_data_input()
681 if (ph->code != 0) { in pppoe_data_input()
[all …]
A Dpppol2tp.c167 struct pbuf *ph; /* UDP + L2TP header */ in pppol2tp_write() local
175 ph = pbuf_alloc(PBUF_TRANSPORT, (u16_t)(PPPOL2TP_OUTPUT_DATA_HEADER_LEN), PBUF_RAM); in pppol2tp_write()
176 if(!ph) { in pppol2tp_write()
184 pbuf_remove_header(ph, PPPOL2TP_OUTPUT_DATA_HEADER_LEN); /* hide L2TP header */ in pppol2tp_write()
185 pbuf_cat(ph, p); in pppol2tp_write()
187 tot_len = ph->tot_len; in pppol2tp_write()
190 ret = pppol2tp_xmit(l2tp, ph); in pppol2tp_write()
/components/net/lwip/lwip-1.4.1/src/netif/ppp/
A Dppp_oe.c298 struct pppoehdr *ph; in pppoe_dispatch_disc_pkt() local
327 if (ph->vertype != PPPOE_VERTYPE) { in pppoe_dispatch_disc_pkt()
331 session = ntohs(ph->session); in pppoe_dispatch_disc_pkt()
332 plen = ntohs(ph->plen); in pppoe_dispatch_disc_pkt()
333 off += sizeof(*ph); in pppoe_dispatch_disc_pkt()
410 switch (ph->code) { in pppoe_dispatch_disc_pkt()
565 struct pppoehdr *ph; in pppoe_data_input() local
587 if (pb->len < sizeof(*ph)) { in pppoe_data_input()
597 if (ph->code != 0) { in pppoe_data_input()
601 session = ntohs(ph->session); in pppoe_data_input()
[all …]

Completed in 42 milliseconds