Home
last modified time | relevance | path

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

/external/android-clat/
Dclatd_test.cpp470 struct tun_pi new_tun_header; in do_translate_packet() local
472 { &new_tun_header, sizeof(new_tun_header) }, in do_translate_packet()
477 if (len > (int)sizeof(new_tun_header)) { in do_translate_packet()
479 EXPECT_EQ(expected_proto, new_tun_header.proto) << msg << "Unexpected tun proto\n"; in do_translate_packet()
480 *outlen = len - sizeof(new_tun_header); in do_translate_packet()