/linux-master/drivers/net/ethernet/sgi/ |
H A D | ioc3-eth.c | 299 struct ethhdr *eh = eth_hdr(skb); local 319 if (eh->h_proto != htons(ETH_P_IP)) 322 ih = (struct iphdr *)((char *)eh + ETH_HLEN); 338 ew = (u16 *)eh; 349 cp = (char *)eh + len; /* points at trailing CRC */ 1000 u16 *eh; local 1005 eh = (u16 *)skb->data; 1008 ehsum = eh[0] + eh[1] + eh[ [all...] |
/linux-master/net/ipv4/ |
H A D | ip_tunnel_core.c | 101 struct ethhdr *eh; local 106 eh = (struct ethhdr *)skb->data; 107 if (likely(eth_proto_is_802_3(eh->h_proto))) 108 skb->protocol = eh->h_proto; 200 struct ethhdr eh; local 206 skb_copy_bits(skb, skb_mac_offset(skb), &eh, ETH_HLEN); 248 eth_header(skb, skb->dev, ntohs(eh.h_proto), eh.h_source, eh.h_dest, 0); 293 struct ethhdr eh; local [all...] |
/linux-master/net/ipv6/ |
H A D | ioam6_iptunnel.c | 29 struct ipv6_hopopt_hdr eh; member in struct:ioam6_lwt_encap 184 tuninfo->eh.hdrlen = ((sizeof(*tuninfo) + len_aligned) >> 3) - 1; 228 hdrlen = (tuninfo->eh.hdrlen + 1) << 3; 244 tuninfo->eh.nexthdr = hdr->nexthdr; 265 hdrlen = (tuninfo->eh.hdrlen + 1) << 3; 279 tuninfo->eh.nexthdr = NEXTHDR_IPV6;
|
/linux-master/net/bluetooth/bnep/ |
H A D | bnep.h | 154 struct ethhdr eh; member in struct:bnep_session
|
/linux-master/tools/testing/selftests/net/ |
H A D | csum.c | 277 struct udp_encap_hdr *eh = _uh + sizeof(*uh); local 286 sizeof(*eh) + 290 eh->nexthdr = IPPROTO_TCP; 292 return build_packet_tcp(eh + 1); 628 struct udp_encap_hdr *eh = th; local 630 if (len < sizeof(*eh) || eh->nexthdr != IPPROTO_TCP) 633 return recv_verify_packet_tcp(eh + 1, len - sizeof(*eh));
|
/linux-master/arch/riscv/kernel/compat_vdso/ |
H A D | Makefile | 50 --build-id=sha1 --hash-style=both --eh-frame-hdr
|
/linux-master/arch/riscv/kernel/vdso/ |
H A D | Makefile | 55 --build-id=sha1 --hash-style=both --eh-frame-hdr
|
/linux-master/arch/powerpc/include/asm/ |
H A D | bitops.h | 151 #define DEFINE_TESTOP(fn, op, prefix, postfix, eh) \ 166 : "rK" (mask), "r" (p), "n" (eh) \
|
H A D | ppc-opcode.h | 356 #define __PPC_EH(eh) (((eh) & 0x1) << 0) 379 #define PPC_RAW_LQARX(t, a, b, eh) (0x7c000228 | ___PPC_RT(t) | ___PPC_RA(a) | ___PPC_RB(b) | __PPC_EH(eh)) 380 #define PPC_RAW_LDARX(t, a, b, eh) (0x7c0000a8 | ___PPC_RT(t) | ___PPC_RA(a) | ___PPC_RB(b) | __PPC_EH(eh)) 381 #define PPC_RAW_LWARX(t, a, b, eh) (0x7c000028 | ___PPC_RT(t) | ___PPC_RA(a) | ___PPC_RB(b) | __PPC_EH(eh)) 600 #define PPC_LQARX(t, a, b, eh) stringify_in_c(.long PPC_RAW_LQARX(t, a, b, eh)) [all...] |
/linux-master/net/netfilter/ |
H A D | nf_log_syslog.c | 482 const struct ip_esp_hdr *eh; local 492 eh = skb_header_pointer(skb, iphoff + ih->ihl * 4, 494 if (!eh) { 501 nf_log_buf_add(m, "SPI=0x%x ", ntohl(eh->spi)); 655 const struct ip_esp_hdr *eh; local 666 eh = skb_header_pointer(skb, ptr, sizeof(_esph), 668 if (!eh) { 676 ntohl(eh->spi));
|
/linux-master/drivers/scsi/fnic/ |
H A D | fnic_fcs.c | 606 struct ethhdr *eh; local 626 eh = (struct ethhdr *)skb->data; 627 if (eh->h_proto == htons(ETH_P_FIP)) { 628 skb_pull(skb, sizeof(*eh)); 662 struct ethhdr *eh; local 669 eh = (struct ethhdr *)skb->data; 670 if (eh->h_proto == htons(ETH_P_8021Q)) { 671 memmove((u8 *)eh + VLAN_HLEN, eh, ETH_ALEN * 2); 672 eh [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_bonding.c | 209 struct ethhdr eh = { local 254 memcpy(buf, &eh, sizeof(eh)); 255 memcpy(buf + sizeof(eh), &iph, sizeof(iph)); 256 memcpy(buf + sizeof(eh) + sizeof(iph), &uh, sizeof(uh));
|
/linux-master/drivers/scsi/fcoe/ |
H A D | fcoe.c | 1343 struct ethhdr *eh; local 1368 eh = eth_hdr(skb); 1371 !ether_addr_equal(eh->h_source, ctlr->dest_addr)) { 1373 eh->h_source); 1388 if (ntoh24(&eh->h_dest[3]) != ntoh24(fh->fh_d_id)) { 1390 eh->h_dest); 1474 struct ethhdr *eh; local 1560 eh = eth_hdr(skb); 1561 eh->h_proto = htons(ETH_P_FCOE); 1562 memcpy(eh [all...] |
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | core.c | 294 struct ethhdr *eh; local 345 if (skb->len < sizeof(*eh)) { 351 eh = (struct ethhdr *)(skb->data); 353 if (eh->h_proto == htons(ETH_P_PAE)) 540 struct ethhdr *eh; local 543 eh = (struct ethhdr *)(txp->data); 544 type = ntohs(eh->h_proto);
|
H A D | msgbuf.c | 669 struct ethhdr *eh = (struct ethhdr *)(skb->data); local 677 flowid = brcmf_flowring_create(msgbuf->flow, eh->h_dest, 686 memcpy(create->sa, eh->h_source, ETH_ALEN); 687 memcpy(create->da, eh->h_dest, ETH_ALEN); 805 struct ethhdr *eh = (struct ethhdr *)(skb->data); local 810 flowid = brcmf_flowring_lookup(flow, eh->h_dest, skb->priority, ifidx);
|
/linux-master/drivers/bluetooth/ |
H A D | bt3c_cs.c | 292 struct hci_event_hdr *eh; local 299 eh = hci_event_hdr(info->rx_skb); 301 info->rx_count = eh->plen;
|
H A D | bluecard_cs.c | 451 struct hci_event_hdr *eh; local 458 eh = hci_event_hdr(info->rx_skb); 460 info->rx_count = eh->plen;
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | ef100_rep.c | 434 u8 *eh = efx_rx_buf_va(rx_buf); local 459 memcpy(skb->data, eh, rx_buf->len);
|
/linux-master/drivers/scsi/qedi/ |
H A D | qedi_main.c | 671 struct ethhdr *eh; local 685 eh = (struct ethhdr *)skb->data; 687 if (eh->h_proto == htons(ETH_P_8021Q)) { 688 memmove((u8 *)eh + VLAN_HLEN, eh, ETH_ALEN * 2); 689 eh = (struct ethhdr *)skb_pull(skb, VLAN_HLEN); 694 if (eh->h_proto != htons(ETH_P_ARP) && 695 eh->h_proto != htons(ETH_P_IP) && 696 eh->h_proto != htons(ETH_P_IPV6)) { 699 eh [all...] |
/linux-master/drivers/scsi/ |
H A D | sr.c | 170 struct event_header *eh = (void *)buf; local 184 if (result || be16_to_cpu(eh->data_len) < sizeof(*med)) 187 if (eh->nea || eh->notification_class != 0x4)
|
/linux-master/tools/perf/util/ |
H A D | parse-events.c | 1657 int eh; member in struct:event_modifier 1676 int eh = evsel ? evsel->core.attr.exclude_hv : 0; local 1686 int exclude = eu | ek | eh; 1696 exclude = eu = ek = eh = 1; 1702 exclude = eu = ek = eh = 1; 1706 exclude = eu = ek = eh = 1; 1707 eh = 0; 1756 mod->eh = eh; 1813 evsel->core.attr.exclude_hv = mod.eh; [all...] |
/linux-master/drivers/scsi/qedf/ |
H A D | qedf_main.c | 1063 struct ethhdr *eh; local 1201 eh = eth_hdr(skb); 1202 eh->h_proto = htons(ETH_P_FCOE); 1204 fc_fcoe_set_mac(eh->h_dest, fh->fh_d_id); 1207 ether_addr_copy(eh->h_dest, qedf->ctlr.dest_addr); 1210 ether_addr_copy(eh->h_source, qedf->data_src_addr); 1212 hp = (struct fcoe_hdr *)(eh + 1); 2615 struct ethhdr *eh; local 2622 eh = (struct ethhdr *)skb->data; 2625 if (eh [all...] |
/linux-master/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_fcoe.c | 266 struct ethhdr *eh; local 372 eh = eth_hdr(skb); 373 eh->h_proto = htons(ETH_P_FCOE); 375 fc_fcoe_set_mac(eh->h_dest, fh->fh_d_id); 378 memcpy(eh->h_dest, ctlr->dest_addr, ETH_ALEN); 381 memcpy(eh->h_source, ctlr->ctl_src_addr, ETH_ALEN); 383 memcpy(eh->h_source, port->data_src_addr, ETH_ALEN); 385 hp = (struct fcoe_hdr *)(eh + 1);
|
/linux-master/drivers/ata/ |
H A D | Makefile | 124 libata-y := libata-core.o libata-scsi.o libata-eh.o \
|
/linux-master/arch/mips/vdso/ |
H A D | Makefile | 59 -G 0 --eh-frame-hdr --hash-style=sysv --build-id=sha1 -T
|