Home
last modified time | relevance | path

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

/third_party/lwip/src/netif/
Dzepif.c70 struct zep_hdr { struct
113 struct zep_hdr *zep; in zepif_udp_recv()
125 if (p->len < sizeof(struct zep_hdr)) { in zepif_udp_recv()
129 zep = (struct zep_hdr *)p->payload; in zepif_udp_recv()
146 if (zep->len != p->tot_len - sizeof(struct zep_hdr)) { in zepif_udp_recv()
150 if (pbuf_remove_header(p, sizeof(struct zep_hdr))) { in zepif_udp_recv()
172 struct zep_hdr *zep; in zepif_linkoutput()
186 q = pbuf_alloc(PBUF_TRANSPORT, sizeof(struct zep_hdr) + p->tot_len, PBUF_RAM); in zepif_linkoutput()
190 zep = (struct zep_hdr *)q->payload; in zepif_linkoutput()
191 memset(zep, 0, sizeof(struct zep_hdr)); in zepif_linkoutput()
[all …]