Changeset f2fe8c9b in rtems


Ignore:
Timestamp:
May 7, 2005, 1:21:51 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
6d7d5b4
Parents:
c4ef843
Message:

More partial updates from FreeBSD.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/net/if_var.h

    rc4ef843 rf2fe8c9b  
    3737#ifndef _NET_IF_VAR_H_
    3838#define _NET_IF_VAR_H_
     39
     40/*
     41 * Structures defining a network interface, providing a packet
     42 * transport mechanism (ala level 0 of the PUP protocols).
     43 *
     44 * Each interface accepts output datagrams of a specified maximum
     45 * length, and provides higher level routines with input datagrams
     46 * received from its medium.
     47 *
     48 * Output occurs when the routine if_output is called, with three parameters:
     49 *      (*ifp->if_output)(ifp, m, dst, rt)
     50 * Here m is the mbuf chain to be sent and dst is the destination address.
     51 * The output routine encapsulates the supplied datagram if necessary,
     52 * and then transmits it on its medium.
     53 *
     54 * On input, each interface unwraps the data received by it, and either
     55 * places it on the input queue of an internetwork datagram routine
     56 * and posts the associated software interrupt, or passes the datagram to a raw
     57 * packet input routine.
     58 *
     59 * Routines exist for locating interfaces by their addresses
     60 * or for locating an interface on a certain network, as well as more general
     61 * routing and gateway routines maintaining information used to locate
     62 * interfaces.  These routines live in the files if.c and route.c
     63 */
    3964
    4065/*
     
    90115        void    (*if_start)             /* initiate output routine */
    91116                (struct ifnet *);
    92         int     (*if_done)              /* output complete routine */
    93                 (struct ifnet *);       /* (XXX not used; fake prototype) */
    94117        int     (*if_ioctl)             /* ioctl routine */
    95118                (struct ifnet *, u_long, caddr_t);
Note: See TracChangeset for help on using the changeset viewer.