CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
orangepi-xunlong

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: orangepi-xunlong/orangepi-build
Path: blob/next/external/cache/sources/wl/dhd/dhdu_common.h
Views: 3960
1
/*
2
* Linux port of dhd command line utility, hacked from wl utility.
3
*
4
* Copyright (C) 2013, Broadcom Corporation
5
* All Rights Reserved.
6
*
7
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
8
* the contents of this file may not be disclosed to third parties, copied
9
* or duplicated in any form, in whole or in part, without the prior
10
* written permission of Broadcom Corporation.
11
*
12
* $Id: dhdu_common.h 281524 2011-09-02 17:09:25Z $
13
*/
14
15
/* Common header file for dhdu_linux.c and dhdu_ndis.c */
16
17
#ifndef _dhdu_common_h
18
#define _dhdu_common_h
19
20
/* DHD utility function declarations */
21
extern int dhd_check(void *dhd);
22
extern int dhd_atoip(const char *a, struct ipv4_addr *n);
23
extern int dhd_option(char ***pargv, char **pifname, int *phelp);
24
void dhd_usage(cmd_t *port_cmds);
25
26
/* Remote DHD declarations */
27
int remote_type = NO_REMOTE;
28
extern char *g_rwl_buf_mac;
29
extern char* g_rwl_device_name_serial;
30
unsigned short g_rwl_servport;
31
char *g_rwl_servIP = NULL;
32
unsigned short defined_debug = DEBUG_ERR | DEBUG_INFO;
33
34
35
static int process_args(struct ifreq* ifr, char **argv);
36
37
#define dtoh32(i) i
38
#define dtoh16(i) i
39
40
#endif /* _dhdu_common_h_ */
41
42