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()
925 struct net_pkt *outer, *inner; in test_virtual_recv_data_from_tunnel() local
957 outer = create_outer(attached, AF_INET, IPPROTO_IP, in test_virtual_recv_data_from_tunnel()
959 zassert_not_null(outer, "Cannot allocate %s pkt", outer); in test_virtual_recv_data_from_tunnel()
961 ret = net_ipv4_create(outer, &net_sin(&src_addr)->sin_addr, in test_virtual_recv_data_from_tunnel()
966 outer = create_outer(attached, AF_INET6, IPPROTO_IPV6, in test_virtual_recv_data_from_tunnel()
968 zassert_not_null(outer, "Cannot allocate %s pkt", outer); in test_virtual_recv_data_from_tunnel()
970 ret = net_ipv6_create(outer, &net_sin6(&src_addr)->sin6_addr, in test_virtual_recv_data_from_tunnel()
985 zassert_equal(ret, 0, "Cannot create outer %s (%d)", "IPv4", in test_virtual_recv_data_from_tunnel()
998 zassert_equal(ret, 0, "Cannot create outer %s (%d)", "IPv6", in test_virtual_recv_data_from_tunnel()
1012 net_buf_frag_add(outer->buffer, inner->buffer); in test_virtual_recv_data_from_tunnel()
1016 net_pkt_cursor_init(outer); in test_virtual_recv_data_from_tunnel()
1019 net_ipv4_finalize(outer, next_header); in test_virtual_recv_data_from_tunnel()
1021 net_ipv6_finalize(outer, next_header); in test_virtual_recv_data_from_tunnel()
1040 net_pkt_cursor_init(outer); in test_virtual_recv_data_from_tunnel()
1043 verdict = net_ipv4_input(outer); in test_virtual_recv_data_from_tunnel()
1045 verdict = net_ipv6_input(outer, false); in test_virtual_recv_data_from_tunnel()