Lines Matching refs:eh
1247 struct ethhdr *eh;
1266 eh = eth_hdr(skb);
1268 if (compare_ether_addr(eh->h_dest, port->data_src_addr) &&
1269 compare_ether_addr(eh->h_dest, fcoe->ctlr.ctl_src_addr) &&
1270 compare_ether_addr(eh->h_dest, (u8[6])FC_FCOE_FLOGI_MAC)) {
1272 eh->h_dest);
1277 compare_ether_addr(eh->h_source, fcoe->ctlr.dest_addr)) {
1279 eh->h_source);
1481 struct ethhdr *eh;
1560 eh = eth_hdr(skb);
1561 eh->h_proto = htons(ETH_P_FCOE);
1562 memcpy(eh->h_dest, fcoe->ctlr.dest_addr, ETH_ALEN);
1564 memcpy(eh->h_dest + 3, fh->fh_d_id, 3);
1567 memcpy(eh->h_source, fcoe->ctlr.ctl_src_addr, ETH_ALEN);
1569 memcpy(eh->h_source, port->data_src_addr, ETH_ALEN);
1571 hp = (struct fcoe_hdr *)(eh + 1);