Searched refs:hh (Results 26 - 34 of 34) sorted by path

12

/linux-master/include/linux/
H A Detherdevice.h46 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh,
48 void eth_header_cache_update(struct hh_cache *hh, const struct net_device *dev,
H A DmISDNif.h551 struct mISDNhead *hh; local
557 hh = mISDN_HEAD_P(skb);
558 hh->prim = prim;
559 hh->id = id;
H A Dnetdevice.h310 int (*cache)(const struct neighbour *neigh, struct hh_cache *hh, __be16 type);
311 void (*cache_update)(struct hh_cache *hh,
/linux-master/include/net/
H A Dneighbour.h157 struct hh_cache hh; member in struct:neighbour
476 static inline int neigh_hh_bridge(struct hh_cache *hh, struct sk_buff *skb) argument
481 seq = read_seqbegin(&hh->hh_lock);
483 memcpy(skb->data - hh_alen, hh->hh_data, ETH_ALEN + hh_alen - ETH_HLEN);
484 } while (read_seqretry(&hh->hh_lock, seq));
489 static inline int neigh_hh_output(const struct hh_cache *hh, struct sk_buff *skb) argument
496 seq = read_seqbegin(&hh->hh_lock);
497 hh_len = READ_ONCE(hh->hh_len);
507 memcpy(skb->data - HH_DATA_MOD, hh->hh_data,
514 memcpy(skb->data - hh_alen, hh
532 const struct hh_cache *hh = &n->hh; local
[all...]
/linux-master/net/bridge/
H A Dbr_netfilter_hooks.c285 READ_ONCE(neigh->hh.hh_len)) {
294 neigh_hh_bridge(&neigh->hh, skb);
/linux-master/net/core/
H A Dneighbour.c505 seqlock_init(&n->hh.hh_lock);
1261 struct hh_cache *hh; local
1269 hh = &neigh->hh;
1270 if (READ_ONCE(hh->hh_len)) {
1271 write_seqlock_bh(&hh->hh_lock);
1272 update(hh, neigh->dev, neigh->ha);
1273 write_sequnlock_bh(&hh->hh_lock);
1528 struct hh_cache *hh = &n->hh; local
[all...]
H A Dpktgen.c392 __u8 hh[14]; member in struct:pktgen_dev
401 __u16 pad; /* pad out the hh struct to an even 16 bytes */
1561 ether_addr_copy(&pkt_dev->hh[0], pkt_dev->dst_mac);
1578 ether_addr_copy(&pkt_dev->hh[6], pkt_dev->src_mac);
2183 ether_addr_copy(&(pkt_dev->hh[6]), pkt_dev->odev->dev_addr);
2186 ether_addr_copy(&(pkt_dev->hh[0]), pkt_dev->dst_mac);
2443 pkt_dev->hh[11] = tmp;
2445 pkt_dev->hh[10] = tmp;
2447 pkt_dev->hh[9] = tmp;
2449 pkt_dev->hh[
[all...]
/linux-master/net/ethernet/
H A Deth.c214 * @hh: destination cache entry
219 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) argument
225 (((u8 *) hh->hh_data) + (HH_DATA_OFF(sizeof(*eth))));
237 smp_store_release(&hh->hh_len, ETH_HLEN);
245 * @hh: destination cache entry
251 void eth_header_cache_update(struct hh_cache *hh, argument
255 memcpy(((u8 *) hh->hh_data) + HH_DATA_OFF(sizeof(struct ethhdr)),
/linux-master/sound/drivers/vx/
H A Dvx_mixer.c44 u8 hh; member in struct:vx_codec_data::b
58 u8 hh; member in struct:vx_codec_data::b

Completed in 334 milliseconds

12