Mistake on this page?
Report an issue in GitHub or email us
cmd_ifconfig.h
1 /*
2  * Copyright (c) 2018 ARM Limited. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  * Licensed under the Apache License, Version 2.0 (the License); you may
5  * not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS, WITHOUT
12  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #ifndef CMD_IFCONFIG_H
17 #define CMD_IFCONFIG_H
18 
19 #include "NetworkInterface.h"
20 #include "NetworkStack.h"
21 
22 /** Get a pointer to a network interface instance
23  *
24  * Allowed interface types (depend on application configurations):
25  * cell0, wlan0, eth0, mesh0
26  *
27  * @return pointer to the network interface, or NULL if unrecognized or ambiguous
28  */
29 NetworkInterface *get_interface(void);
30 
31 void cmd_ifconfig_init(void);
32 const char *networkstack_error_to_str(int errorcode);
33 
34 #endif
Network Interface base class.
Common interface that is shared between network devices.
NetworkStack class.
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.