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

neigh

source neighbour

hh

destination cache entry

type

Ethernet type field

Description

Create an Ethernet header template from the neighbour.