Home
last modified time | relevance | path

Searched refs:eth (Results 1 – 1 of 1) sorted by relevance

/system/netd/bpf_progs/
Dclatd.c57 const struct ethhdr* const eth = is_ethernet ? data : NULL; // used iff is_ethernet in nat64() local
58 const struct ipv6hdr* const ip6 = is_ethernet ? (void*)(eth + 1) : data; in nat64()
69 if (is_ethernet && (eth->h_proto != htons(ETH_P_IPV6))) return TC_ACT_OK; in nat64()
107 eth2 = *eth; // Copy over the ethernet header (src/dst mac) in nat64()