Home
last modified time | relevance | path

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

/AliOS-Things-master/components/lwip/lwip2.0.0/netif/
A Dethernet.c79 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 Dethernetif.c259 struct eth_hdr *ethhdr;
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/
A Dpppoe.c389 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(&ethhdr->dest.addr, &sc->sc_dest.addr, sizeof(ethhdr->dest.addr)); in pppoe_output()
737 MEMCPY(&ethhdr->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(&ethhdr->dest.addr, dest, sizeof(ethhdr->dest.addr)); in pppoe_send_padt()
1047 MEMCPY(&ethhdr->src.addr, &outgoing_if->hwaddr, sizeof(ethhdr->src.addr)); in pppoe_send_padt()
[all …]

Completed in 11 milliseconds