Searched refs:eth_hdr (Results 1 – 7 of 7) sorted by relevance
301 struct eth_hdr *ethhdr; in pppoe_dispatch_disc_pkt()311 ethhdr = (struct eth_hdr *)pb->payload; in pppoe_dispatch_disc_pkt()571 MEMCPY(shost, ((struct eth_hdr *)pb->payload)->src.addr, sizeof(shost)); in pppoe_data_input()573 if (pbuf_header(pb, -(int)sizeof(struct eth_hdr)) != 0) { in pppoe_data_input()639 struct eth_hdr *ethhdr; in pppoe_output()648 ethhdr = (struct eth_hdr *)pb->payload; in pppoe_output()694 sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len <= 0xffff); in pppoe_send_padi()697 pb = pbuf_alloc(PBUF_LINK, (u16_t)(sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len), PBUF_RAM); in pppoe_send_padi()703 p = (u8_t*)pb->payload + sizeof (struct eth_hdr); in pppoe_send_padi()913 sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len <= 0xffff); in pppoe_send_padr()[all …]
417 struct eth_hdr *ethhdr = (struct eth_hdr *)p->payload; in etharp_send_ip()641 struct eth_hdr *ethhdr;648 ethhdr = (struct eth_hdr *)p->payload;691 struct eth_hdr *ethhdr;713 ethhdr = (struct eth_hdr *)p->payload;890 if (pbuf_header(q, sizeof(struct eth_hdr)) != 0) {925 sizeof(struct eth_hdr));1183 struct eth_hdr *ethhdr;1203 ethhdr = (struct eth_hdr *)p->payload;1279 struct eth_hdr* ethhdr;[all …]
226 struct eth_hdr *ethhdr;
78 struct eth_hdr *ethhdr; in create_arp_response()80 …struct pbuf *p = pbuf_alloc(PBUF_RAW, sizeof(struct eth_hdr) + sizeof(struct etharp_hdr), PBUF_RAM… in create_arp_response()84 ethhdr = (struct eth_hdr*)p->payload; in create_arp_response()
186 #define PPPOE_HDRLEN (sizeof(struct eth_hdr) + PPPOE_HEADERLEN)
72 struct eth_hdr { struct
258 struct eth_hdr *ethhdr; in ethernetif_input()