Searched refs:h_proto (Results 1 – 6 of 6) sorted by relevance
61 short h_proto; member
56 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()
51 if (is_ethernet && (eth->h_proto != htons(ETH_P_IPV6))) return TC_ACT_OK; in do_forward()
419 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()
234 .h_proto = htons(ETH_P_IPV6), in TEST()
859 .h_proto = htons(ETH_P_IPV6), in addOffloadRule()1251 src.c_str(), dst.c_str(), ntohs(value.macHeader.h_proto), value.pmtu); in dumpBpf()