Lines Matching full:eh
55 if (ether_addr_equal(dst, s->eh.h_source)) in __bnep_get_session()
349 s->eh.h_proto = get_unaligned((__be16 *) (skb->data - 2)); in bnep_rx_frame()
358 if (ntohs(s->eh.h_proto) == ETH_P_8021Q) { in bnep_rx_frame()
361 s->eh.h_proto = get_unaligned((__be16 *) (skb->data - 2)); in bnep_rx_frame()
377 __skb_put_data(nskb, &s->eh, ETH_HLEN); in bnep_rx_frame()
381 __skb_put_data(nskb, s->eh.h_dest, ETH_ALEN); in bnep_rx_frame()
383 put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2)); in bnep_rx_frame()
388 __skb_put_data(nskb, s->eh.h_source, ETH_ALEN); in bnep_rx_frame()
389 put_unaligned(s->eh.h_proto, (__be16 *)__skb_put(nskb, 2)); in bnep_rx_frame()
394 put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2)); in bnep_rx_frame()
422 struct ethhdr *eh = (void *) skb->data; in bnep_tx_frame() local
438 if (compress_src && ether_addr_equal(eh->h_dest, s->eh.h_source)) in bnep_tx_frame()
441 if (compress_dst && ether_addr_equal(eh->h_source, s->eh.h_dest)) in bnep_tx_frame()
450 iv[il++] = (struct kvec) { eh->h_source, ETH_ALEN }; in bnep_tx_frame()
455 iv[il++] = (struct kvec) { eh->h_dest, ETH_ALEN }; in bnep_tx_frame()
595 * ie. eh.h_dest is our local address. */ in bnep_add_connection()
596 memcpy(s->eh.h_dest, &src, ETH_ALEN); in bnep_add_connection()
597 memcpy(s->eh.h_source, &dst, ETH_ALEN); in bnep_add_connection()
598 eth_hw_addr_set(dev, s->eh.h_dest); in bnep_add_connection()
680 memcpy(ci->dst, s->eh.h_source, ETH_ALEN); in __bnep_copy_ci()