Path: blob/next/external/cache/sources/wl/dhd/dhdu_common.h
18293 views
/*1* Linux port of dhd command line utility, hacked from wl utility.2*3* Copyright (C) 2013, Broadcom Corporation4* All Rights Reserved.5*6* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;7* the contents of this file may not be disclosed to third parties, copied8* or duplicated in any form, in whole or in part, without the prior9* written permission of Broadcom Corporation.10*11* $Id: dhdu_common.h 281524 2011-09-02 17:09:25Z $12*/1314/* Common header file for dhdu_linux.c and dhdu_ndis.c */1516#ifndef _dhdu_common_h17#define _dhdu_common_h1819/* DHD utility function declarations */20extern int dhd_check(void *dhd);21extern int dhd_atoip(const char *a, struct ipv4_addr *n);22extern int dhd_option(char ***pargv, char **pifname, int *phelp);23void dhd_usage(cmd_t *port_cmds);2425/* Remote DHD declarations */26int remote_type = NO_REMOTE;27extern char *g_rwl_buf_mac;28extern char* g_rwl_device_name_serial;29unsigned short g_rwl_servport;30char *g_rwl_servIP = NULL;31unsigned short defined_debug = DEBUG_ERR | DEBUG_INFO;323334static int process_args(struct ifreq* ifr, char **argv);3536#define dtoh32(i) i37#define dtoh16(i) i3839#endif /* _dhdu_common_h_ */404142