Code Search for Developers
 
 
  

libbridge_compat.c from openap at Krugle


Show libbridge_compat.c syntax highlighted

/*
 * Compatability glue for systems lacking the if_nametoindex and
 * if_indextoname functions.
 *
 * The file 'if_index.c' was taken verbatimly from the GNU C Library
 * version 2.1 (990920) and is Copyright (C) 1997, 1998, 1999 Free
 * Software Foundation, Inc.
 */

#define _BITS_LIBC_LOCK_H 1
#define __libc_lock_define_initialized(a,b)
#define __libc_lock_lock(a)
#define __libc_lock_unlock(a)
#define __ioctl ioctl
#define __set_errno(a) {errno = (a);}
#define __socket socket
#define internal_function

#include "if_index.c"




See more files for this project here

openap

OpenAP is the complete distribution of open-source software that is required to produce a fully 802.11b compliant wireless access point. OpenAP is also a platform on which developers and hobbyists may realize their ideas. Since the build environment and s

Project homepage: http://savannah.nongnu.org/projects/openap
Programming language(s): Assembly,C
License: gpl2

  Makefile
  if_index.c
  libbridge.h
  libbridge_compat.c
  libbridge_devif.c
  libbridge_if.c
  libbridge_init.c
  libbridge_misc.c
  libbridge_private.h