Home
last modified time | relevance | path

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

/system/bt/btif/include/
Dbtif_pan_internal.h61 short h_proto; member
/system/netd/bpf_progs/
Dclatd.c56 if (is_ethernet && (eth->h_proto != htons(ETH_P_IPV6))) return TC_ACT_OK; in nat64()
93 eth2.h_proto = htons(ETH_P_IP); // But replace the ethertype in nat64()
Doffload.c51 if (is_ethernet && (eth->h_proto != htons(ETH_P_IPV6))) return TC_ACT_OK; in do_forward()
/system/bt/btif/src/
Dbtif_pan.cc419 eth_hdr.h_proto = htons(proto); in btpan_tap_send()
545 uint16_t proto = ntohs(hdr->h_proto); in should_forward()
562 ntohs(eth_hdr->h_proto), hdr, 0); in forward_bnep()
/system/netd/tests/
Dnetd_test.cpp234 .h_proto = htons(ETH_P_IPV6), in TEST()
/system/netd/server/
DTetherController.cpp859 .h_proto = htons(ETH_P_IPV6), in addOffloadRule()
1251 src.c_str(), dst.c_str(), ntohs(value.macHeader.h_proto), value.pmtu); in dumpBpf()