summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/net/if.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-06-07network: Move header filesSebastian Huber1-301/+0
Prevent accidental use of legacy network header files. Update #2833.
2017-06-07network: Move RTEMS specificsSebastian Huber1-2/+0
Move RTEMS specifics to <rtems/rtems_bsdnet.h>. Introduce rtems_tap_ifreq. The interface tap support is RTEMS-specific and only available in the legacy network stack. Update #2833.
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-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.
2011-05-11Make self-contained.Ralf Corsepius1-0/+1
2011-03-24Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h).Ralf Corsepius1-1/+1
2011-03-02Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h.Ralf Corsepius1-1/+1
2007-10-04Add if_nameindex etc. (from FreeBSD).Ralf Corsepius1-0/+13
2007-05-10Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.Ralf Corsepius1-1/+1
2007-05-10Include <rtems/bsd/sys/queue.h> instead of <sys/queue.h>.Ralf Corsepius1-1/+1
2007-03-17Remove __P().Ralf Corsepius1-3/+3
2006-09-01*** empty log message ***Joel Sherrill1-1/+1
2006-08-302006-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-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-082005-11-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-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-172005-06-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+2
* libnetworking/net/if.h: Avoid use of struct mbuf to avoid unintended dependencies added by the RTEMS specific tap interface.
2005-05-27Partial update from FreeBSD.Ralf Corsepius1-2/+3
2005-05-10Remove IFI_* (obsolete, unused).Ralf Corsepius1-6/+0
2005-05-062005-05-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-2/+0
* libnetworking/net/if.h: Revert include of sys/mbuf.h in this .h file since it causes other problems.
2005-05-062005-05-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+2
* libnetworking/net/if.h, libnetworking/net/if_ppp.c, libnetworking/net/ppp_tty.c: Removed warnings.
2005-04-182005-04-18 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-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.
2005-04-18Cosmetics from FreeBSD.Ralf Corsepius1-2/+1
2004-10-222004-10-22 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-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-222004-10-21 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-29/+20
* libnetworking/net/if.h; Cosmetical updates from FreeBSD. Remove if_poll* (Not implemented in RTEMS, abandoned by FreeBSD).
2004-04-20Use -D_KERNEL instead of -DKERNEL for greater FreeBSD compliance.Ralf Corsepius1-4/+4
1999-02-04Added debug printf()'s that are commented out. Uncommenting theseJoel Sherrill1-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.
1998-12-10Patch from Ian Lance Taylor <ian@airs.com>:Joel Sherrill1-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.
1998-08-19Base filesJoel Sherrill1-0/+467