Searched defs:ethhdr (Results 1 - 11 of 11) sorted by relevance
/vbox/src/VBox/Devices/Network/lwip-new/src/core/ipv6/ |
H A D | ethip6.c | 105 struct eth_hdr *ethhdr = (struct eth_hdr *)p->payload; local 109 SMEMCPY(ðhdr->dest, dst, 6); 110 SMEMCPY(ðhdr->src, src, 6); 111 ethhdr->type = PP_HTONS(ETHTYPE_IPV6);
|
/vbox/src/VBox/Devices/Network/lwip/src/netif/ |
H A D | ethernetif.c | 221 struct eth_hdr *ethhdr; local 231 ethhdr = p->payload; 237 ethhdr = p->payload; 239 switch (htons(ethhdr->type)) {
|
H A D | etharp.c | 412 struct eth_hdr *ethhdr = p->payload; local 420 ethhdr->dest.addr[k] = ethaddr->addr[k]; 421 ethhdr->src.addr[k] = netif->hwaddr[k]; 423 ethhdr->type = htons(ETHTYPE_IP); 587 hdr->ethhdr.dest.addr[i] = hdr->dhwaddr.addr[i]; 588 hdr->ethhdr.src.addr[i] = ethaddr->addr[i]; 597 hdr->ethhdr.type = htons(ETHTYPE_ARP); 652 struct eth_hdr *ethhdr; local 704 ethhdr = q->payload; 708 ethhdr 795 struct eth_hdr *ethhdr = q->payload; local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ |
H A D | legacy.c | 28 struct ethhdr *ethhdr; local 32 ethhdr = iobuf->data; 33 iob_pull ( iobuf, sizeof ( *ethhdr ) ); 34 nic->nic_op->transmit ( nic, ( const char * ) ethhdr->h_dest, 35 ntohs ( ethhdr->h_protocol ),
|
/vbox/src/VBox/Devices/PC/ipxe/src/core/ |
H A D | gdbudp.c | 62 struct ethhdr *ethhdr; local 74 if ( iob_len ( iob ) < sizeof ( *ethhdr ) ) { 77 ethhdr = iob->data; 78 iob_pull ( iob, sizeof ( *ethhdr ) ); 81 if ( ethhdr->h_protocol == htons ( ETH_P_ARP ) ) { 100 ethhdr = iob_push ( iob, sizeof ( *ethhdr ) ); 101 memcpy ( ethhdr->h_dest, ethhdr 160 struct ethhdr *ethhdr; local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/ |
H A D | if_ether.h | 30 struct ethhdr { struct
|
/vbox/src/VBox/Devices/PC/ipxe/src/net/ |
H A D | ethernet.c | 56 struct ethhdr *ethhdr = iob_push ( iobuf, sizeof ( *ethhdr ) ); local 59 memcpy ( ethhdr->h_dest, ll_dest, ETH_ALEN ); 60 memcpy ( ethhdr->h_source, ll_source, ETH_ALEN ); 61 ethhdr->h_protocol = net_proto; 80 struct ethhdr *ethhdr = iobuf->data; local 83 if ( iob_len ( iobuf ) < sizeof ( *ethhdr ) ) { 90 iob_pull ( iobuf, sizeof ( *ethhdr ) ); [all...] |
/vbox/src/VBox/Devices/Network/ |
H A D | DevINIP.cpp | 415 const struct eth_hdr *ethhdr; local 452 ethhdr = (const struct eth_hdr *)p->payload; 456 switch (htons(ethhdr->type))
|
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/ppp/ |
H A D | ppp_oe.c | 301 struct eth_hdr *ethhdr; local 308 if (pb->len < sizeof(*ethhdr)) { 311 ethhdr = (struct eth_hdr *)pb->payload; 312 off = sizeof(*ethhdr); 326 ph = (struct pppoehdr *) (ethhdr + 1); 508 MEMCPY(&sc->sc_dest, ethhdr->src.addr, sizeof(sc->sc_dest.addr)); 639 struct eth_hdr *ethhdr; local 648 ethhdr = (struct eth_hdr *)pb->payload; 650 ethhdr->type = htons(etype); 651 MEMCPY(ethhdr 950 struct eth_hdr *ethhdr; local [all...] |
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/ |
H A D | etharp.c | 421 struct eth_hdr *ethhdr = (struct eth_hdr *)p->payload; local 425 ETHADDR32_COPY(ðhdr->dest, dst); 426 ETHADDR16_COPY(ðhdr->src, src); 427 ethhdr->type = PP_HTONS(ETHTYPE_IP); 645 struct eth_hdr *ethhdr; local 652 ethhdr = (struct eth_hdr *)p->payload; 653 iphdr = (struct ip_hdr *)((u8_t*)ethhdr + SIZEOF_ETH_HDR); 655 if (ethhdr->type == PP_HTONS(ETHTYPE_VLAN)) { 656 iphdr = (struct ip_hdr *)((u8_t*)ethhdr + SIZEOF_ETH_HDR + SIZEOF_VLAN_HDR); 672 etharp_update_arp_entry(netif, &iphdr_src, &(ethhdr 695 struct eth_hdr *ethhdr; local 1208 struct eth_hdr *ethhdr; local 1304 struct eth_hdr* ethhdr; local [all...] |
/vbox/src/VBox/Devices/Network/slirp/ |
H A D | slirp.h | 382 struct ethhdr struct 388 AssertCompileSize(struct ethhdr, 14);
|
Completed in 60 milliseconds