
Because CnS uses HDLC framing, but doesn't use CRC16, and thus the decapsulation should fail because the CRC check fails.
29 lines
975 B
C
29 lines
975 B
C
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
/*
|
|
* Copyright (C) 2010 Red Hat, Inc.
|
|
*
|
|
* This program is free software: you can redistribute it and/or
|
|
* modify it under the terms of version 2 of the GNU General Public
|
|
* License as published by the Free Software Foundation
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef TEST_QCDM_UTILS_H
|
|
#define TEST_QCDM_UTILS_H
|
|
|
|
void test_utils_decapsulate_buffer (void *f, void *data);
|
|
|
|
void test_utils_encapsulate_buffer (void *f, void *data);
|
|
|
|
void test_utils_decapsulate_sierra_cns (void *f, void *data);
|
|
|
|
#endif /* TEST_QCDM_UTILS_H */
|
|
|