Searched refs:hh (Results 1 – 4 of 4) sorted by relevance
/net/ethernet/ |
D | eth.c | 227 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) in eth_header_cache() argument 233 (((u8 *) hh->hh_data) + (HH_DATA_OFF(sizeof(*eth)))); in eth_header_cache() 241 hh->hh_len = ETH_HLEN; in eth_header_cache() 254 void eth_header_cache_update(struct hh_cache *hh, in eth_header_cache_update() argument 258 memcpy(((u8 *) hh->hh_data) + HH_DATA_OFF(sizeof(struct ethhdr)), in eth_header_cache_update()
|
/net/core/ |
D | pktgen.c | 363 __u8 hh[14]; member 1529 ether_addr_copy(&pkt_dev->hh[0], pkt_dev->dst_mac); in pktgen_if_write() 1546 ether_addr_copy(&pkt_dev->hh[6], pkt_dev->src_mac); in pktgen_if_write() 2152 ether_addr_copy(&(pkt_dev->hh[6]), pkt_dev->odev->dev_addr); in pktgen_setup_inject() 2155 ether_addr_copy(&(pkt_dev->hh[0]), pkt_dev->dst_mac); in pktgen_setup_inject() 2414 pkt_dev->hh[11] = tmp; in mod_cur_headers() 2416 pkt_dev->hh[10] = tmp; in mod_cur_headers() 2418 pkt_dev->hh[9] = tmp; in mod_cur_headers() 2420 pkt_dev->hh[8] = tmp; in mod_cur_headers() 2422 pkt_dev->hh[7] = tmp; in mod_cur_headers() [all …]
|
D | neighbour.c | 295 seqlock_init(&n->hh.hh_lock); in neigh_alloc() 1044 struct hh_cache *hh; in neigh_update_hhs() local 1052 hh = &neigh->hh; in neigh_update_hhs() 1053 if (hh->hh_len) { in neigh_update_hhs() 1054 write_seqlock_bh(&hh->hh_lock); in neigh_update_hhs() 1055 update(hh, neigh->dev, neigh->ha); in neigh_update_hhs() 1056 write_sequnlock_bh(&hh->hh_lock); in neigh_update_hhs() 1287 struct hh_cache *hh = &n->hh; in neigh_hh_init() local 1294 if (!hh->hh_len) in neigh_hh_init() 1295 dev->header_ops->cache(n, hh, prot); in neigh_hh_init() [all …]
|
/net/bridge/ |
D | br_netfilter_hooks.c | 278 if (neigh->hh.hh_len) { in br_nf_pre_routing_finish_bridge() 279 neigh_hh_bridge(&neigh->hh, skb); in br_nf_pre_routing_finish_bridge()
|