Searched refs:pbuf_header (Results 1 - 25 of 50) sorted by relevance

12

/barrelfish-master/lib/lwip/src/netif/
H A Dethernetif.c130 pbuf_header(p, -ETH_PAD_SIZE); /* drop the padding word */
143 pbuf_header(p, ETH_PAD_SIZE); /* reclaim the padding word */
179 pbuf_header(p, -ETH_PAD_SIZE); /* drop the padding word */
193 pbuf_header(p, ETH_PAD_SIZE); /* reclaim the padding word */
H A Dbfeth.c141 pbuf_header(p, -ETH_PAD_SIZE); /* drop the padding word */
148 pbuf_header(p, ETH_PAD_SIZE); /* reclaim the padding word */
/barrelfish-master/lib/lwip2/src/netif/
H A Dethernetif.c145 pbuf_header(p, -ETH_PAD_SIZE); /* drop the padding word */
168 pbuf_header(p, ETH_PAD_SIZE); /* reclaim the padding word */
205 pbuf_header(p, -ETH_PAD_SIZE); /* drop the padding word */
232 pbuf_header(p, ETH_PAD_SIZE); /* reclaim the padding word */
H A Dethernet.c172 if ((p->len < ip_hdr_offset) || pbuf_header(p, (s16_t)-ip_hdr_offset)) {
189 if ((p->len < ip_hdr_offset) || pbuf_header(p, (s16_t)-ip_hdr_offset)) {
216 if ((p->len < ip_hdr_offset) || pbuf_header(p, (s16_t)-ip_hdr_offset)) {
278 if (pbuf_header(p, SIZEOF_ETH_HDR + SIZEOF_VLAN_HDR) != 0) {
289 if (pbuf_header(p, SIZEOF_ETH_HDR) != 0) {
/barrelfish-master/lib/lwip/src/core/ipv4/
H A Dicmp.c115 if (pbuf_header(p, -hlen) || (p->tot_len < sizeof(u16_t) * 2)) {
169 if (pbuf_header(p, (PBUF_IP_HLEN + PBUF_LINK_HLEN))) {
176 if (pbuf_header(p, hlen)) {
199 if (pbuf_header(r, -hlen)) {
210 if (pbuf_header(p, -(s16_t) (PBUF_IP_HLEN + PBUF_LINK_HLEN))) {
250 if (pbuf_header(p, hlen)) {
/barrelfish-master/lib/lwip2/src/core/ipv4/
H A Dicmp.c155 if (pbuf_header(p, (s16_t)(hlen + PBUF_LINK_HLEN + PBUF_LINK_ENCAPSULATION_HLEN))) {
174 if (pbuf_header(r, (s16_t)-hlen)) {
191 if (pbuf_header(p, -(s16_t)(hlen + PBUF_LINK_HLEN + PBUF_LINK_ENCAPSULATION_HLEN))) {
201 if (pbuf_header(p, (s16_t)hlen)) {
/barrelfish-master/lib/lwip2/src/netif/ppp/
H A Dmppe.c210 pbuf_header(np, -(s16_t)(MPPE_OVHD + sizeof(protocol)));
218 pbuf_header(np, (s16_t)(MPPE_OVHD + sizeof(protocol)));
249 pbuf_header(np, -(s16_t)MPPE_OVHD);
260 pbuf_header(np, (s16_t)MPPE_OVHD);
385 pbuf_header(n0, -(s16_t)(MPPE_OVHD));
H A Dvj.c415 if (pbuf_header(np, -(s16_t)hlen)){
417 LWIP_ASSERT("pbuf_header failed\n", 0);
424 if (pbuf_header(np, -(s16_t)hlen)) {
426 LWIP_ASSERT("pbuf_header failed\n", 0);
626 if (pbuf_header(n0, -(s16_t)vjlen)) {
628 LWIP_ASSERT("pbuf_header failed\n", 0);
650 if (pbuf_header(np, -(s16_t)cs->cs_hlen)) {
652 LWIP_ASSERT("pbuf_header failed\n", 0);
670 if (pbuf_header(n0, (s16_t)cs->cs_hlen)) {
H A Dpppoe.c213 pbuf_header(p, -(s16_t)2);
224 pbuf_header(ph, -(s16_t)PPPOE_HEADERLEN); /* hide PPPoE header */
255 /* @todo: try to use pbuf_header() here! */
264 pbuf_header(pb, -(s16_t)PPPOE_HEADERLEN);
662 if (pbuf_header(pb, -(s16_t)sizeof(struct eth_hdr)) != 0) {
664 PPPDEBUG(LOG_ERR, ("pppoe_data_input: pbuf_header failed\n"));
695 if (pbuf_header(pb, -(s16_t)(PPPOE_HEADERLEN)) != 0) {
697 PPPDEBUG(LOG_ERR, ("pppoe_data_input: pbuf_header PPPOE_HEADERLEN failed\n"));
726 if (pbuf_header(pb, (s16_t)(sizeof(struct eth_hdr))) != 0) {
1042 pbuf_header(p
[all...]
H A Dpppol2tp.c184 pbuf_header(ph, -(s16_t)PPPOL2TP_OUTPUT_DATA_HEADER_LEN); /* hide L2TP header */
215 /* @todo: try to use pbuf_header() here! */
224 pbuf_header(pb, -(s16_t)PPPOL2TP_OUTPUT_DATA_HEADER_LEN);
437 if (pbuf_header(p, -(s16_t)hlen) != 0) {
472 pbuf_header(p, -(s16_t)2);
657 if (pbuf_header(p, -(s16_t)(avplen + sizeof(avpflags) + sizeof(vendorid) + sizeof(attributetype)) ) != 0) {
1104 if (pbuf_header(pb, (s16_t)PPPOL2TP_OUTPUT_DATA_HEADER_LEN) != 0) {
/barrelfish-master/include/lwip2/netif/ppp/
H A Dmppe.c210 pbuf_header(np, -(s16_t)(MPPE_OVHD + sizeof(protocol)));
218 pbuf_header(np, (s16_t)(MPPE_OVHD + sizeof(protocol)));
249 pbuf_header(np, -(s16_t)MPPE_OVHD);
260 pbuf_header(np, (s16_t)MPPE_OVHD);
385 pbuf_header(n0, -(s16_t)(MPPE_OVHD));
H A Dvj.c415 if (pbuf_header(np, -(s16_t)hlen)){
417 LWIP_ASSERT("pbuf_header failed\n", 0);
424 if (pbuf_header(np, -(s16_t)hlen)) {
426 LWIP_ASSERT("pbuf_header failed\n", 0);
626 if (pbuf_header(n0, -(s16_t)vjlen)) {
628 LWIP_ASSERT("pbuf_header failed\n", 0);
650 if (pbuf_header(np, -(s16_t)cs->cs_hlen)) {
652 LWIP_ASSERT("pbuf_header failed\n", 0);
670 if (pbuf_header(n0, (s16_t)cs->cs_hlen)) {
H A Dpppoe.c213 pbuf_header(p, -(s16_t)2);
224 pbuf_header(ph, -(s16_t)PPPOE_HEADERLEN); /* hide PPPoE header */
255 /* @todo: try to use pbuf_header() here! */
264 pbuf_header(pb, -(s16_t)PPPOE_HEADERLEN);
662 if (pbuf_header(pb, -(s16_t)sizeof(struct eth_hdr)) != 0) {
664 PPPDEBUG(LOG_ERR, ("pppoe_data_input: pbuf_header failed\n"));
695 if (pbuf_header(pb, -(s16_t)(PPPOE_HEADERLEN)) != 0) {
697 PPPDEBUG(LOG_ERR, ("pppoe_data_input: pbuf_header PPPOE_HEADERLEN failed\n"));
726 if (pbuf_header(pb, (s16_t)(sizeof(struct eth_hdr))) != 0) {
1042 pbuf_header(p
[all...]
H A Dpppol2tp.c184 pbuf_header(ph, -(s16_t)PPPOL2TP_OUTPUT_DATA_HEADER_LEN); /* hide L2TP header */
215 /* @todo: try to use pbuf_header() here! */
224 pbuf_header(pb, -(s16_t)PPPOL2TP_OUTPUT_DATA_HEADER_LEN);
437 if (pbuf_header(p, -(s16_t)hlen) != 0) {
472 pbuf_header(p, -(s16_t)2);
657 if (pbuf_header(p, -(s16_t)(avplen + sizeof(avpflags) + sizeof(vendorid) + sizeof(attributetype)) ) != 0) {
1104 if (pbuf_header(pb, (s16_t)PPPOL2TP_OUTPUT_DATA_HEADER_LEN) != 0) {
/barrelfish-master/lib/lwip/src/core/
H A Draw.c212 if (pbuf_header(p, IP_HLEN)) {
230 if (pbuf_header(q, -IP_HLEN)) {
239 /* free any temporary header pbuf allocated by pbuf_header() */
252 /* free any temporary header pbuf allocated by pbuf_header() */
H A Dudp.c104 || pbuf_header(p, -(s16_t) (IPH_HL(iphdr) * 4))) {
285 if (pbuf_header(p, -UDP_HLEN)) {
287 LWIP_ASSERT("pbuf_header failed\n", 0);
313 pbuf_header(p, (IPH_HL(iphdr) * 4) + UDP_HLEN);
450 if (pbuf_header(p, UDP_HLEN)) {
/barrelfish-master/lib/net/test/
H A Dping.c79 pbuf_header(p, -PBUF_IP_HLEN) == 0) {
106 pbuf_header(p, PBUF_IP_HLEN);
/barrelfish-master/include/lwip/lwip/
H A Dpbuf.h123 u8_t pbuf_header(struct pbuf *p, s16_t header_size);
/barrelfish-master/lib/lwip2/src/core/ipv6/
H A Dip6.c580 pbuf_header(p, -IP6_HLEN);
607 pbuf_header(p, -(s16_t)hlen);
630 pbuf_header(p, -(s16_t)hlen);
653 pbuf_header(p, -(s16_t)hlen);
687 pbuf_header(p, -(s16_t)hlen);
703 pbuf_header(p, -IP6_HLEN);
746 pbuf_header(p, -(s16_t)ip_data.current_ip_header_tot_len);
753 pbuf_header(p, -(s16_t)ip_data.current_ip_header_tot_len);
760 pbuf_header(p, -(s16_t)ip_data.current_ip_header_tot_len);
853 if (pbuf_header(
[all...]
H A Dip6_frag.c529 pbuf_header(next_pbuf, -IP6_FRAG_HLEN);
533 u8_t hdrerr = pbuf_header(next_pbuf, -(s16_t)(IPV6_FRAG_REQROOM));
550 u8_t hdrerr = pbuf_header(ipr->p, -(s16_t)(IPV6_FRAG_REQROOM));
706 if (pbuf_header(rambuf, IP6_HLEN)) {
/barrelfish-master/lib/lwip2/src/apps/ping/
H A Dping.c299 pbuf_header(p, -PBUF_IP_HLEN) == 0) {
313 pbuf_header(p, PBUF_IP_HLEN);
/barrelfish-master/lib/lwip2/src/core/
H A Draw.c300 if (pbuf_header(p, header_size)) {
317 if (pbuf_header(q, -header_size)) {
333 /* free any temporary header pbuf allocated by pbuf_header() */
346 /* free any temporary header pbuf allocated by pbuf_header() */
/barrelfish-master/include/lwip2/lwip/
H A Dpbuf.h230 u8_t pbuf_header(struct pbuf *p, s16_t header_size);
/barrelfish-master/lib/lwip/src/core/ipv6/
H A Dip6.c217 if (pbuf_header(p, -IP_HLEN)) {
268 if (pbuf_header(p, IP_HLEN)) {
/barrelfish-master/lib/net/
H A Darp.c167 if (p->len < SIZEOF_ETH_HDR || pbuf_header(p, (s16_t)-SIZEOF_ETH_HDR)) {
174 pbuf_header(p, (s16_t)SIZEOF_ETH_HDR);

Completed in 358 milliseconds

12