Name

eth_header_cache — fill cache entry from neighbour

Synopsis

int eth_header_cache (const struct neighbour * neigh,
 struct hh_cache * hh,
 __be16 type);
 

Arguments

const struct neighbour * neigh

source neighbour

struct hh_cache * hh

destination cache entry

__be16 type

Ethernet type field

Description

Create an Ethernet header template from the neighbour.