Lines Matching refs:inner
127 uint8_t outer, inner; in eth_tx() local
143 ret = net_pkt_read_u8(pkt, &inner); in eth_tx()
145 zassert_equal(inner, expecting_inner, in eth_tx()
148 inner, expecting_inner); in eth_tx()
949 struct net_pkt *outer, *inner; in test_virtual_recv_data_from_tunnel() local
1001 inner = create_inner(iface, AF_INET, IPPROTO_IP, in test_virtual_recv_data_from_tunnel()
1005 zassert_not_null(inner, "Cannot allocate %s pkt", inner); in test_virtual_recv_data_from_tunnel()
1007 ret = net_ipv4_create(inner, &net_sin(&inner_src)->sin_addr, in test_virtual_recv_data_from_tunnel()
1014 inner = create_inner(iface, AF_INET6, IPPROTO_IPV6, in test_virtual_recv_data_from_tunnel()
1018 zassert_not_null(inner, "Cannot allocate %s pkt", inner); in test_virtual_recv_data_from_tunnel()
1020 ret = net_ipv6_create(inner, &net_sin6(&inner_src)->sin6_addr, in test_virtual_recv_data_from_tunnel()
1028 ret = net_udp_create(inner, htons(src_port), htons(dst_port)); in test_virtual_recv_data_from_tunnel()
1031 net_pkt_write(inner, test_data, strlen(test_data)); in test_virtual_recv_data_from_tunnel()
1033 net_pkt_cursor_init(inner); in test_virtual_recv_data_from_tunnel()
1036 net_ipv4_finalize(inner, IPPROTO_UDP); in test_virtual_recv_data_from_tunnel()
1038 net_ipv6_finalize(inner, IPPROTO_UDP); in test_virtual_recv_data_from_tunnel()
1041 net_buf_frag_add(outer->buffer, inner->buffer); in test_virtual_recv_data_from_tunnel()
1042 inner->buffer = NULL; in test_virtual_recv_data_from_tunnel()
1043 net_pkt_unref(inner); in test_virtual_recv_data_from_tunnel()