Searched refs:ethhdr (Results 1 – 3 of 3) sorted by relevance
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ |
A D | ethernet.c | 79 struct eth_hdr* ethhdr; local 97 (unsigned)ethhdr->dest.addr[0], (unsigned)ethhdr->dest.addr[1], (unsigned)ethhdr->dest.addr[2], 98 (unsigned)ethhdr->dest.addr[3], (unsigned)ethhdr->dest.addr[4], (unsigned)ethhdr->dest.addr[5], 99 (unsigned)ethhdr->src.addr[0], (unsigned)ethhdr->src.addr[1], (unsigned)ethhdr->src.addr[2], 100 (unsigned)ethhdr->src.addr[3], (unsigned)ethhdr->src.addr[4], (unsigned)ethhdr->src.addr[5], 101 lwip_htons(ethhdr->type))); 103 type = ethhdr->type; 136 if (ethhdr->dest.addr[0] & 1) { 264 struct eth_hdr* ethhdr; local 291 ethhdr->type = eth_type_be; [all …]
|
A D | ethernetif.c | 259 struct eth_hdr *ethhdr;
|
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/ |
A D | pppoe.c | 389 struct eth_hdr *ethhdr; in pppoe_disc_input() local 399 if (pb->len < sizeof(*ethhdr)) { in pppoe_disc_input() 403 off = sizeof(*ethhdr); in pppoe_disc_input() 721 struct eth_hdr *ethhdr; in pppoe_output() local 735 ethhdr->type = lwip_htons(etype); in pppoe_output() 736 MEMCPY(ðhdr->dest.addr, &sc->sc_dest.addr, sizeof(ethhdr->dest.addr)); in pppoe_output() 737 MEMCPY(ðhdr->src.addr, &sc->sc_ethif->hwaddr, sizeof(ethhdr->src.addr)); in pppoe_output() 1033 struct eth_hdr *ethhdr; in pppoe_send_padt() local 1046 MEMCPY(ðhdr->dest.addr, dest, sizeof(ethhdr->dest.addr)); in pppoe_send_padt() 1047 MEMCPY(ðhdr->src.addr, &outgoing_if->hwaddr, sizeof(ethhdr->src.addr)); in pppoe_send_padt() [all …]
|
Completed in 11 milliseconds