Changeset e791c230 in rtems


Ignore:
Timestamp:
Mar 25, 2007, 5:29:54 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
c922991b
Parents:
2a93bb6
Message:

Partial update from FreeBSD.

Location:
cpukit/libnetworking/net
Files:
3 edited

Legend:

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

    r2a93bb6 re791c230  
    1111 *    notice, this list of conditions and the following disclaimer in the
    1212 *    documentation and/or other materials provided with the distribution.
    13  * 3. All advertising materials mentioning features or use of this software
    14  *    must display the following acknowledgement:
    15  *      This product includes software developed by the University of
    16  *      California, Berkeley and its contributors.
    1713 * 4. Neither the name of the University nor the names of its contributors
    1814 *    may be used to endorse or promote products derived from this software
     
    3228 *
    3329 *      @(#)raw_cb.h    8.1 (Berkeley) 6/10/93
     30 * $FreeBSD: src/sys/net/raw_cb.h,v 1.19 2005/01/07 01:45:35 imp Exp $
     31 */
     32
     33/*
    3434 * $Id$
    3535 */
     
    6262extern struct rawcb rawcb;              /* head of list */
    6363
    64 int      raw_attach __P((struct socket *, int));
    65 void     raw_ctlinput __P((int, struct sockaddr *, void *));
    66 void     raw_detach __P((struct rawcb *));
    67 void     raw_disconnect __P((struct rawcb *));
    68 void     raw_init __P((void));
    69 void     raw_input __P((struct mbuf *,
    70             struct sockproto *, struct sockaddr *, struct sockaddr *));
    71 int      raw_usrreq __P((struct socket *,
    72             int, struct mbuf *, struct mbuf *, struct mbuf *));
     64int      raw_attach(struct socket *, int);
     65void     raw_ctlinput(int, struct sockaddr *, void *);
     66void     raw_detach(struct rawcb *);
     67void     raw_disconnect(struct rawcb *);
     68void     raw_init(void);
     69void     raw_input(struct mbuf *,
     70            struct sockproto *, struct sockaddr *, struct sockaddr *);
     71int      raw_usrreq(struct socket *,
     72            int, struct mbuf *, struct mbuf *, struct mbuf *);
    7373#endif
    7474
  • cpukit/libnetworking/net/raw_usrreq.c

    r2a93bb6 re791c230  
    1111 *    notice, this list of conditions and the following disclaimer in the
    1212 *    documentation and/or other materials provided with the distribution.
    13  * 3. All advertising materials mentioning features or use of this software
    14  *    must display the following acknowledgement:
    15  *      This product includes software developed by the University of
    16  *      California, Berkeley and its contributors.
    1713 * 4. Neither the name of the University nor the names of its contributors
    1814 *    may be used to endorse or promote products derived from this software
     
    3228 *
    3329 *      @(#)raw_usrreq.c        8.1 (Berkeley) 6/10/93
     30 * $FreeBSD: src/sys/net/raw_usrreq.c,v 1.44 2006/11/06 13:42:02 rwatson Exp $
     31 */
     32
     33/*
    3434 * $Id$
    3535 */
  • cpukit/libnetworking/net/route.h

    r2a93bb6 re791c230  
    2828 *
    2929 *      @(#)route.h     8.4 (Berkeley) 1/9/95
    30  * $FreeBSD: src/sys/net/route.h,v 1.62 2004/10/05 19:48:33 sam Exp $
     30 * $FreeBSD: src/sys/net/route.h,v 1.65 2006/03/15 19:39:09 andre Exp $
    3131 */
    3232
     
    116116        caddr_t rt_llinfo;              /* pointer to link level info cache */
    117117        struct  rtentry *rt_gwroute;    /* implied entry for gatewayed routes */
    118         int     (*rt_output) __P((struct ifnet *, struct mbuf *,
    119                                   struct sockaddr *, struct rtentry *));
    120                                         /* output routine for this (rt,if) */
    121118        struct  rtentry *rt_parent;     /* cloning parent of this route */
    122119};
     
    278275extern struct radix_node_head *rt_tables[AF_MAX+1];
    279276
    280 void     route_init __P((void));
     277void     route_init(void);
    281278void     rt_ifmsg(struct ifnet *);
    282279void     rt_missmsg(int, struct rt_addrinfo *, int, int);
    283280void     rt_newaddrmsg(int, struct ifaddr *, int, struct rtentry *);
    284281int      rt_setgate(struct rtentry *, struct sockaddr *, struct sockaddr *);
    285 void     rtalloc_ign __P((struct route *, unsigned long));
     282void     rtalloc_ign(struct route *, unsigned long);
    286283void     rtalloc(struct route *ro); /* XXX deprecated, use rtalloc_ign(ro, 0) */
    287284struct rtentry *
    288          rtalloc1 __P((struct sockaddr *, int, unsigned long));
     285         rtalloc1(struct sockaddr *, int, unsigned long);
    289286void     rtfree(struct rtentry *);
    290287int      rtinit(struct ifaddr *, int, int);
    291 int      rtioctl __P((int, caddr_t, struct proc *));
     288int      rtioctl(int, caddr_t, struct proc *);
    292289void     rtredirect(struct sockaddr *, struct sockaddr *,
    293290            struct sockaddr *, int, struct sockaddr *, struct rtentry **);
Note: See TracChangeset for help on using the changeset viewer.