/barrelfish-master/lib/lwip2/src/netif/ |
H A D | ethernet.c | 83 struct eth_hdr* ethhdr; local 98 ethhdr = (struct eth_hdr *)p->payload; 101 (unsigned)ethhdr->dest.addr[0], (unsigned)ethhdr->dest.addr[1], (unsigned)ethhdr->dest.addr[2], 102 (unsigned)ethhdr->dest.addr[3], (unsigned)ethhdr->dest.addr[4], (unsigned)ethhdr->dest.addr[5], 103 (unsigned)ethhdr->src.addr[0], (unsigned)ethhdr 268 struct eth_hdr* ethhdr; local [all...] |
H A D | ethernetif.c | 259 struct eth_hdr *ethhdr;
|
/barrelfish-master/lib/lwip/src/netif/ |
H A D | etharp.c | 468 struct eth_hdr *ethhdr = p->payload; local 477 ethhdr->dest.addr[k] = dst->addr[k]; 478 ethhdr->src.addr[k] = src->addr[k]; 480 ethhdr->type = htons(ETHTYPE_IP); 705 || (hdr->ethhdr.type != htons(ETHTYPE_ARP))) { 710 ARPH_PROTOLEN(hdr), hdr->ethhdr.type)); 792 hdr->ethhdr.dest.addr[i] = ethdst_hwaddr[i]; 794 hdr->ethhdr.dest.addr[i] = hdr->shwaddr.addr[i]; 797 hdr->ethhdr.src.addr[i] = ethaddr->addr[i]; 1214 hdr->ethhdr 1275 struct eth_hdr *ethhdr; local [all...] |
H A D | bfeth.c | 193 struct eth_hdr *ethhdr; local 215 ethhdr = p->payload; 232 switch (htons(ethhdr->type)) { 259 ("unknown type %x!!!!!\n", htons(ethhdr->type)));
|
H A D | ethernetif.c | 219 struct eth_hdr *ethhdr; 230 ethhdr = p->payload; 232 switch (htons(ethhdr->type)) {
|
/barrelfish-master/lib/lwip2/test/minimal/ |
H A D | main.c | 146 struct eth_hdr* ethhdr = p->payload; local 150 memset(ethhdr->dest.addr, 0xaa, sizeof(ethhdr->dest.addr)); 151 memset(ethhdr->src.addr, 0xbb, sizeof(ethhdr->src.addr)); 152 ethhdr->type = PP_HTONS(ETHTYPE_IP);
|
/barrelfish-master/lib/lwip2/src/netif/ppp/ |
H A D | pppoe.c | 389 struct eth_hdr *ethhdr; local 399 if (pb->len < sizeof(*ethhdr)) { 402 ethhdr = (struct eth_hdr *)pb->payload; 403 off = sizeof(*ethhdr); 417 ph = (struct pppoehdr *) (ethhdr + 1); 601 MEMCPY(&sc->sc_dest, ethhdr->src.addr, sizeof(sc->sc_dest.addr)); 721 struct eth_hdr *ethhdr; local 733 ethhdr = (struct eth_hdr *)pb->payload; 735 ethhdr->type = lwip_htons(etype); 736 MEMCPY(ðhdr 1032 struct eth_hdr *ethhdr; local [all...] |
/barrelfish-master/include/lwip2/netif/ppp/ |
H A D | pppoe.c | 389 struct eth_hdr *ethhdr; local 399 if (pb->len < sizeof(*ethhdr)) { 402 ethhdr = (struct eth_hdr *)pb->payload; 403 off = sizeof(*ethhdr); 417 ph = (struct pppoehdr *) (ethhdr + 1); 601 MEMCPY(&sc->sc_dest, ethhdr->src.addr, sizeof(sc->sc_dest.addr)); 721 struct eth_hdr *ethhdr; local 733 ethhdr = (struct eth_hdr *)pb->payload; 735 ethhdr->type = lwip_htons(etype); 736 MEMCPY(ðhdr 1032 struct eth_hdr *ethhdr; local [all...] |
/barrelfish-master/usr/tests/e10ktest/ |
H A D | e10ktest_latencies.c | 158 struct eth_hdr *ethhdr = (struct eth_hdr *)p->payload; local 159 switch (htons(ethhdr->type)) { 236 memcpy(&myeth->dest, ðhdr->src, ETHARP_HWADDR_LEN); 237 memcpy(&myeth->src, ðhdr->dest, ETHARP_HWADDR_LEN);
|
H A D | e10ktest.c | 374 struct eth_hdr *ethhdr = (struct eth_hdr *)p->payload; local 375 switch (htons(ethhdr->type)) { 466 memcpy(&myeth->dest, ðhdr->src, ETHARP_HWADDR_LEN); 467 memcpy(&myeth->src, ðhdr->dest, ETHARP_HWADDR_LEN); 494 memcpy(&newpeer->mac.addr, ðhdr->src.addr, ETHARP_HWADDR_LEN);
|
H A D | subways.c | 431 struct eth_hdr *ethhdr = (struct eth_hdr *)p->payload; local 432 switch (htons(ethhdr->type)) { 570 memcpy(&newpeer->mac.addr, ðhdr->src.addr, ETHARP_HWADDR_LEN); 689 struct eth_hdr *ethhdr = (struct eth_hdr *)p; local 717 memcpy(ðhdr->dest, ðhdr->src, ETHARP_HWADDR_LEN); 718 memcpy(ðhdr->src, arranet_mymac, ETHARP_HWADDR_LEN); 719 /* memcpy(&myeth->src, ðhdr->dest, ETHARP_HWADDR_LEN); */ 730 /* switch (htons(ethhdr->type)) { */
|
/barrelfish-master/include/lwip/netif/ |
H A D | etharp.h | 91 PACK_STRUCT_FIELD(struct eth_hdr ethhdr);
|
/barrelfish-master/lib/devif/backends/net/mlx4/include/linux/ |
H A D | if_ether.h | 135 struct ethhdr { struct
|
/barrelfish-master/lib/arranet/ |
H A D | arranet.c | 2110 struct eth_hdr *ethhdr = (struct eth_hdr *)p->payload; local 2111 switch (htons(ethhdr->type)) { 2360 ph->eth.dest = ethhdr->src; 2440 memcpy(&newpeer->mac.addr, ðhdr->src.addr, ETHARP_HWADDR_LEN);
|