Lines Matching full:outer

127 		uint8_t outer, inner;  in eth_tx()  local
135 ret = net_pkt_read_u8(pkt, &outer); in eth_tx()
136 zassert_equal(ret, 0, "Cannot read outer protocol type"); in eth_tx()
137 zassert_equal(outer, expecting_outer, in eth_tx()
138 "Unexpected outer protocol 0x%02x, " in eth_tx()
140 outer, expecting_outer); in eth_tx()
949 struct net_pkt *outer, *inner; in test_virtual_recv_data_from_tunnel() local
981 outer = create_outer(attached, AF_INET, IPPROTO_IP, in test_virtual_recv_data_from_tunnel()
983 zassert_not_null(outer, "Cannot allocate %s pkt", outer); in test_virtual_recv_data_from_tunnel()
985 ret = net_ipv4_create(outer, &net_sin(&src_addr)->sin_addr, in test_virtual_recv_data_from_tunnel()
990 outer = create_outer(attached, AF_INET6, IPPROTO_IPV6, in test_virtual_recv_data_from_tunnel()
992 zassert_not_null(outer, "Cannot allocate %s pkt", outer); in test_virtual_recv_data_from_tunnel()
994 ret = net_ipv6_create(outer, &net_sin6(&src_addr)->sin6_addr, in test_virtual_recv_data_from_tunnel()
1009 zassert_equal(ret, 0, "Cannot create outer %s (%d)", "IPv4", in test_virtual_recv_data_from_tunnel()
1022 zassert_equal(ret, 0, "Cannot create outer %s (%d)", "IPv6", in test_virtual_recv_data_from_tunnel()
1041 net_buf_frag_add(outer->buffer, inner->buffer); in test_virtual_recv_data_from_tunnel()
1045 net_pkt_cursor_init(outer); in test_virtual_recv_data_from_tunnel()
1048 net_ipv4_finalize(outer, next_header); in test_virtual_recv_data_from_tunnel()
1050 net_ipv6_finalize(outer, next_header); in test_virtual_recv_data_from_tunnel()
1069 net_pkt_cursor_init(outer); in test_virtual_recv_data_from_tunnel()
1072 verdict = net_ipv4_input(outer, false); in test_virtual_recv_data_from_tunnel()
1074 verdict = net_ipv6_input(outer, false); in test_virtual_recv_data_from_tunnel()