summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/net/if.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-3/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* Make self-contained.Ralf Corsepius2011-05-111-0/+1
|
* Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h).Ralf Corsepius2011-03-241-1/+1
|
* Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h.Ralf Corsepius2011-03-021-1/+1
|
* Add if_nameindex etc. (from FreeBSD).Ralf Corsepius2007-10-041-0/+13
|
* Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.Ralf Corsepius2007-05-101-1/+1
|
* Include <rtems/bsd/sys/queue.h> instead of <sys/queue.h>.Ralf Corsepius2007-05-101-1/+1
|
* Remove __P().Ralf Corsepius2007-03-171-3/+3
|
* *** empty log message ***Joel Sherrill2006-09-011-1/+1
|
* 2006-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-08-301-1/+2
| | | | | | | | | | | | | | * libcsupport/include/sys/ioccom.h, libnetworking/kern/uipc_socket2.c, libnetworking/net/ethernet.h, libnetworking/net/if.h, libnetworking/net/if_ethersubr.c, libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h, libnetworking/net/ppp_tty.c, libnetworking/net/pppcompress.c, libnetworking/net/slcompress.c, libnetworking/netinet/in.h, libnetworking/netinet/ip_icmp.c, libnetworking/netinet/tcp.h, libnetworking/netinet/tcp_seq.h, libnetworking/sys/protosw.h, libnetworking/sys/socketvar.h: Remove warnings. Most of the warnings were 16/32 bit integer sizing issues. Some constants had L appended, some had casts add, some types were changed to reflect a bit width requirement.
* 2005-11-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-11-081-2/+4
| | | | | | | | * libnetworking/net/if.h: Add forward reference declaration to struct mbuf so ifru_tap callback is properly typed. * libnetworking/rtems/rtems_bsdnet.h: Add definition of _BSD_VISIBLE which needs to be defined so various pieces of the .h files are visible to device drives.
* 2005-06-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-06-171-1/+2
| | | | | * libnetworking/net/if.h: Avoid use of struct mbuf to avoid unintended dependencies added by the RTEMS specific tap interface.
* Partial update from FreeBSD.Ralf Corsepius2005-05-271-2/+3
|
* Remove IFI_* (obsolete, unused).Ralf Corsepius2005-05-101-6/+0
|
* 2005-05-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-05-061-2/+0
| | | | | * libnetworking/net/if.h: Revert include of sys/mbuf.h in this .h file since it causes other problems.
* 2005-05-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-05-061-0/+2
| | | | | * libnetworking/net/if.h, libnetworking/net/if_ppp.c, libnetworking/net/ppp_tty.c: Removed warnings.
* 2005-04-18 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-04-181-249/+15
| | | | | | | * libnetworking/net/if.h: Update from FreeBSD. * libnetworking/net/if_loop.c: Reflect updates. * libnetworking/net/if_ppp.c: Reflect updates. * libnetworking/net/if_types.h: Update from FreeBSD.
* Cosmetics from FreeBSD.Ralf Corsepius2005-04-181-2/+1
|
* 2004-10-22 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-10-221-5/+68
| | | | | | | | | | * libnetworking/opt_atalk.h, libnetworking/opt_bdg.h, libnetworking/opt_inet.h, libnetworking/opt_inet6.h, libnetworking/opt_ipx.h, libnetworking/opt_mac.h, libnetworking/opt_netgraph.h: New (Stubs). * libnetworking/net/if_loop.c: Cosmetical update from FreeBSD. * libnetworking/net/if_ethersubr.c: Update from FreeBSD. * libnetworking/net/if.h: Update from FreeBSD.
* 2004-10-21 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-10-221-29/+20
| | | | | * libnetworking/net/if.h; Cosmetical updates from FreeBSD. Remove if_poll* (Not implemented in RTEMS, abandoned by FreeBSD).
* Use -D_KERNEL instead of -DKERNEL for greater FreeBSD compliance.Ralf Corsepius2004-04-201-4/+4
|
* Added debug printf()'s that are commented out. Uncommenting theseJoel Sherrill1999-02-041-0/+3
| | | | | | allows one to trace the enqueueing and dequeueing of messages. This can be used to insure that packets are getting to the boundary between the network stack and the device driver.
* Patch from Ian Lance Taylor <ian@airs.com>:Joel Sherrill1998-12-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From: Eric Norum <eric@skatter.usask.ca> Date: Sat, 5 Dec 98 13:20:51 -0600 What do you think of this patch? It implements your `tap' suggestion in a way that adds support for all ethernet devices with no driver modifications. I also added a return value from the tap function. If the return value is zero, the packet will be passed up the chain as usual. If the return value is non-zero the mbuf holding the packet will be freed and the packet will be dropped. If you like it, please submit it to Joel. I guess there needs to be an addition to the network documentation describing the additional ioctl's -- and a big warning that the tap function is called from a context that holds the network semaphore. Here is Eric's patch. I've tested it a bit, and made a couple of trivial changes. This is certainly better than mine: it should work for all Ethernet drivers. ================================================== The only concern I have about this patch is that the tap function may want to fiddle with the mbuf, calling functions like m_pullup and the like. If those force the networking code to rearrange the mbuf structure, then the caller's call to m_freem may crash. I don't know if this is a realistic concern--I don't know enough about the mbuf layer.
* Base filesJoel Sherrill1998-08-191-0/+467