~ubuntu-branches/ubuntu/saucy/wpasupplicant/saucy

« back to all changes in this revision

Viewing changes to src/utils/common.h

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2010-11-22 09:43:43 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20101122094343-qgsxaojvmswfri77
Tags: 0.7.3-0ubuntu1
* Get wpasupplicant 0.7.3 from Debian's SVN. Leaving 0.7.3-1 as unreleased
  for now.
* Build-Depend on debhelper 8, since the packaging from Debian uses compat 8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
314
314
#ifndef ETH_ALEN
315
315
#define ETH_ALEN 6
316
316
#endif
 
317
#ifndef IFNAMSIZ
 
318
#define IFNAMSIZ 16
 
319
#endif
 
320
#ifndef ETH_P_ALL
 
321
#define ETH_P_ALL 0x0003
 
322
#endif
 
323
#ifndef ETH_P_PAE
 
324
#define ETH_P_PAE 0x888E /* Port Access Entity (IEEE 802.1X) */
 
325
#endif /* ETH_P_PAE */
 
326
#ifndef ETH_P_EAPOL
 
327
#define ETH_P_EAPOL ETH_P_PAE
 
328
#endif /* ETH_P_EAPOL */
 
329
#ifndef ETH_P_RSN_PREAUTH
 
330
#define ETH_P_RSN_PREAUTH 0x88c7
 
331
#endif /* ETH_P_RSN_PREAUTH */
 
332
#ifndef ETH_P_RRB
 
333
#define ETH_P_RRB 0x890D
 
334
#endif /* ETH_P_RRB */
317
335
 
318
336
 
319
337
#ifdef __GNUC__
418
436
#endif /* __must_check */
419
437
 
420
438
int hwaddr_aton(const char *txt, u8 *addr);
 
439
int hwaddr_aton2(const char *txt, u8 *addr);
421
440
int hexstr2bin(const char *hex, u8 *buf, size_t len);
422
441
void inc_byte_array(u8 *counter, size_t len);
423
442
void wpa_get_ntp_timestamp(u8 *buf);