Home
last modified time | relevance | path

Searched refs:eth_hdr (Results 1 – 25 of 728) sorted by path

12345678910>>...30

/dports/benchmarks/iperf/iperf-2.1.4/include/
H A DListener.hpp75 struct ether_header *eth_hdr; member in Listener
H A DServer.hpp118 struct ether_header *eth_hdr; member in Server
/dports/benchmarks/iperf/iperf-2.1.4/src/
H A DServer.cpp580 eth_hdr = reinterpret_cast<struct ether_header *>(mSettings->mBuf); in L2_processing()
/dports/benchmarks/spp/caia-swin-spp-8cfe6814ce52/src/
H A Dinstance.c394 struct ether_header * eth_hdr = (struct ether_header *)pkt; in createInstance() local
406 … if(eth_hdr->ether_type != 8 && eth_hdr->ether_type != 2048) { // If we are not carrying IP in createInstance()
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/octoclock/lib/
H A Dnetwork.c339 eth_hdr_t *eth_hdr = (eth_hdr_t *)eth_buf; in handle_eth_packet() local
340 uint16_t ethertype = htons(eth_hdr->ethertype); in handle_eth_packet()
356 bool is_bcast = memcmp(&eth_hdr->dst, &BCAST_MAC_ADDR, sizeof(BCAST_MAC_ADDR)) == 0; in handle_eth_packet()
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/usrp2/apps/
H A Dtxrx_uhd.c274 padded_eth_hdr_t eth_hdr; in handle_inp_packet() member
281 …if (recovery_packet->eth_hdr.ethertype == 0xbeee && strncmp(recovery_packet->code, "addr", 4) == 0… in handle_inp_packet()
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/usrp2/lib/
H A Dnet_common.c464 padded_eth_hdr_t *eth_hdr = (padded_eth_hdr_t *)p; in handle_eth_packet() local
466 if (eth_hdr->ethertype == ETHERTYPE_ARP){ in handle_eth_packet()
470 else if (eth_hdr->ethertype == ETHERTYPE_IPV4){ in handle_eth_packet()
479 bool is_bcast = memcmp(&eth_hdr->dst, &BCAST_MAC_ADDR, sizeof(BCAST_MAC_ADDR)) == 0; in handle_eth_packet()
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/usrp2/lwip/lwip-1.3.1/src/include/netif/
H A Detharp.h75 struct eth_hdr { struct
94 PACK_STRUCT_FIELD(struct eth_hdr ethhdr);
114 PACK_STRUCT_FIELD(struct eth_hdr eth);
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/usrp2/lwip/lwip-1.3.1/src/netif/
H A Detharp.c430 struct eth_hdr *ethhdr = p->payload; in etharp_send_ip()
789 if (pbuf_header(q, sizeof(struct eth_hdr)) != 0) { in etharp_output()
1128 struct eth_hdr* ethhdr; in ethernet_input()
1148 if(pbuf_header(p, -(s16_t)sizeof(struct eth_hdr))) { in ethernet_input()
H A Dethernetif.c222 struct eth_hdr *ethhdr;
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/usrp2/lwip/lwip-1.3.1/src/netif/ppp/
H A Dppp_oe.c402 struct eth_hdr *ethhdr; in pppoe_dispatch_disc_pkt()
412 ethhdr = (struct eth_hdr *)pb->payload; in pppoe_dispatch_disc_pkt()
753 struct eth_hdr *ethhdr; in pppoe_output()
762 ethhdr = (struct eth_hdr *)pb->payload; in pppoe_output()
809 p = (u8_t*)pb->payload + sizeof (struct eth_hdr); in pppoe_send_padi()
1016 p = (u8_t*)pb->payload + sizeof (struct eth_hdr); in pppoe_send_padr()
1044 struct eth_hdr *ethhdr; in pppoe_send_padt()
1053 ethhdr = (struct eth_hdr *)pb->payload; in pppoe_send_padt()
1090 p = (u8_t*)pb->payload + sizeof (struct eth_hdr); in pppoe_send_pado()
1126 p = (u8_t*)pb->payload + sizeof (struct eth_hdr); in pppoe_send_pads()
[all …]
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/usrp2/lwip_port/netif/
H A Deth_driver.c212 struct eth_hdr *ethhdr;
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/usrp3/lib/
H A Du3_net_stack.c534 const padded_eth_hdr_t *eth_hdr = (padded_eth_hdr_t *)buff; in handle_eth_packet() local
536 UHD_FW_TRACE_FSTR(DEBUG, "handle_eth_packet got ethertype 0x%x", (unsigned)eth_hdr->ethertype); in handle_eth_packet()
538 if (eth_hdr->ethertype == ETHERTYPE_ARP) in handle_eth_packet()
542 handle_arp_packet(eth_hdr->ethno, arp); in handle_eth_packet()
544 else if (eth_hdr->ethertype == ETHERTYPE_IPV4) in handle_eth_packet()
555 u3_net_stack_arp_cache_update(&ip->src, &eth_hdr->src, eth_hdr->ethno); in handle_eth_packet()
560 eth_hdr->ethno, &ip->src, &ip->dest, in handle_eth_packet()
569 eth_hdr->ethno, &ip->src, &ip->dest, in handle_eth_packet()
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/usrp3/lwip/lwip-1.3.1/src/include/netif/
H A Detharp.h75 struct eth_hdr { struct
94 PACK_STRUCT_FIELD(struct eth_hdr ethhdr);
114 PACK_STRUCT_FIELD(struct eth_hdr eth);
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/usrp3/lwip/lwip-1.3.1/src/netif/
H A Detharp.c430 struct eth_hdr *ethhdr = p->payload; in etharp_send_ip()
789 if (pbuf_header(q, sizeof(struct eth_hdr)) != 0) { in etharp_output()
1128 struct eth_hdr* ethhdr; in ethernet_input()
1148 if(pbuf_header(p, -(s16_t)sizeof(struct eth_hdr))) { in ethernet_input()
H A Dethernetif.c222 struct eth_hdr *ethhdr;
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/usrp3/lwip/lwip-1.3.1/src/netif/ppp/
H A Dppp_oe.c402 struct eth_hdr *ethhdr; in pppoe_dispatch_disc_pkt()
412 ethhdr = (struct eth_hdr *)pb->payload; in pppoe_dispatch_disc_pkt()
753 struct eth_hdr *ethhdr; in pppoe_output()
762 ethhdr = (struct eth_hdr *)pb->payload; in pppoe_output()
809 p = (u8_t*)pb->payload + sizeof (struct eth_hdr); in pppoe_send_padi()
1016 p = (u8_t*)pb->payload + sizeof (struct eth_hdr); in pppoe_send_padr()
1044 struct eth_hdr *ethhdr; in pppoe_send_padt()
1053 ethhdr = (struct eth_hdr *)pb->payload; in pppoe_send_padt()
1090 p = (u8_t*)pb->payload + sizeof (struct eth_hdr); in pppoe_send_pado()
1126 p = (u8_t*)pb->payload + sizeof (struct eth_hdr); in pppoe_send_pads()
[all …]
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/usrp3/lwip_port/netif/
H A Deth_driver.c212 struct eth_hdr *ethhdr;
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/fpga/usrp3/lib/rfnoc/xport_sv/eth_interface_tb/
H A Deth_ifc_tb.sv357 automatic eth_hdr_t eth_hdr; register
374 udp_raw = build_udp_pkt(eth_hdr,ipv4_hdr,udp_hdr,pay,
380 udp_raw = build_udp_pkt(eth_hdr,ipv4_hdr,udp_hdr,pay,
489 automatic eth_hdr_t eth_hdr; register
613 automatic eth_hdr_t eth_hdr; register
752 automatic eth_hdr_t eth_hdr; register
807 eth_hdr.src_mac = DEF_DEST_MAC_ADDR;
833 automatic eth_hdr_t eth_hdr; register
876 automatic eth_hdr_t eth_hdr; register
963 eth_hdr.src_mac = DEF_DEST_MAC_ADDR;
[all …]
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/fpga/usrp3/sim/rfnoc/
H A DPkgEthernet.sv424 input eth_hdr_t eth_hdr, port
439 eth_pkt.hdr = eth_hdr;
465 output eth_hdr_t eth_hdr, port
478 eth_hdr = eth_pkt.hdr;
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/host/lib/include/uhdlib/transport/dpdk/
H A Dudp.hpp47 struct ether_hdr* eth_hdr = rte_pktmbuf_mtod(mbuf, struct ether_hdr*); in fill_ipv4_hdr() local
48 struct ipv4_hdr* ip_hdr = (struct ipv4_hdr*)&eth_hdr[1]; in fill_ipv4_hdr()
76 struct ether_hdr* eth_hdr; in fill_udp_hdr() local
83 eth_hdr = rte_pktmbuf_mtod(mbuf, struct ether_hdr*); in fill_udp_hdr()
84 ip_hdr = (struct ipv4_hdr*)&eth_hdr[1]; in fill_udp_hdr()
/dports/devel/arduino-core/Arduino-b439a77/hardware/arduino/avr/firmwares/wifishield/wifiHD/src/SOFTWARE_FRAMEWORK/COMPONENTS/WIFI/HD/
H A Dwl_api.h1351 wl_err_t wl_process_tx(char *eth_hdr,
/dports/devel/arduino-core/Arduino-b439a77/hardware/arduino/avr/firmwares/wifishield/wifiHD/src/SOFTWARE_FRAMEWORK/SERVICES/LWIP/lwip-1.3.2/src/include/netif/
H A Detharp.h77 struct eth_hdr { struct
/dports/devel/arduino-core/Arduino-b439a77/hardware/arduino/avr/firmwares/wifishield/wifiHD/src/SOFTWARE_FRAMEWORK/SERVICES/LWIP/lwip-1.3.2/src/netif/
H A Detharp.c432 struct eth_hdr *ethhdr = p->payload; in etharp_send_ip()
584 struct eth_hdr *ethhdr; in etharp_ip_input()
630 struct eth_hdr *ethhdr; in etharp_arp_input()
808 if (pbuf_header(q, sizeof(struct eth_hdr)) != 0) { in etharp_output()
1057 struct eth_hdr *ethhdr; in etharp_raw()
1151 struct eth_hdr* ethhdr; in ethernet_input()
/dports/devel/arduino-core/Arduino-b439a77/hardware/arduino/avr/firmwares/wifishield/wifiHD/src/SOFTWARE_FRAMEWORK/SERVICES/LWIP/lwip-port-1.3.2/HD/if/netif/
H A Dwlif.c172 if (p->len < sizeof(struct eth_hdr)) in low_level_output()
258 struct eth_hdr *ethhdr; in wlif_input()

12345678910>>...30