Changeset 395a6f6d in rtems


Ignore:
Timestamp:
May 12, 2005, 12:37:25 PM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
ec5880b6
Parents:
c3fdc332
Message:

Partial update from FreeBSD.

File:
1 edited

Legend:

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

    rc3fdc332 r395a6f6d  
    108108#define rt_mask(r)      ((struct sockaddr *)((r)->rt_nodes->rn_mask))
    109109        struct  sockaddr *rt_gateway;   /* value */
    110         short   rt_filler;              /* was short flags field */
    111         short   rt_refcnt;              /* # held references */
    112110        u_long  rt_flags;               /* up/down?, host/net */
    113111        struct  ifnet *rt_ifp;          /* the answer: interface to use */
    114         struct  ifaddr *rt_ifa;         /* the answer: interface to use */
     112        struct  ifaddr *rt_ifa;         /* the answer: interface address to use */
     113        struct  rt_metrics rt_rmx;      /* metrics used by rx'ing protocols */
     114        long    rt_refcnt;              /* # held references */
    115115        struct  sockaddr *rt_genmask;   /* for generation of cloned routes */
    116116        caddr_t rt_llinfo;              /* pointer to link level info cache */
    117         struct  rt_metrics rt_rmx;      /* metrics used by rx'ing protocols */
    118117        struct  rtentry *rt_gwroute;    /* implied entry for gatewayed routes */
    119118        int     (*rt_output) __P((struct ifnet *, struct mbuf *,
     
    121120                                        /* output routine for this (rt,if) */
    122121        struct  rtentry *rt_parent;     /* cloning parent of this route */
    123         void    *rt_filler2;            /* more filler */
    124122};
    125123
     
    281279
    282280void     route_init __P((void));
    283 void     rt_ifmsg __P((struct ifnet *));
    284 void     rt_missmsg __P((int, struct rt_addrinfo *, int, int));
    285 void     rt_newaddrmsg __P((int, struct ifaddr *, int, struct rtentry *));
    286 int      rt_setgate __P((struct rtentry *,
    287             struct sockaddr *, struct sockaddr *));
    288 void     rtalloc __P((struct route *));
     281void     rt_ifmsg(struct ifnet *);
     282void     rt_missmsg(int, struct rt_addrinfo *, int, int);
     283void     rt_newaddrmsg(int, struct ifaddr *, int, struct rtentry *);
     284int      rt_setgate(struct rtentry *, struct sockaddr *, struct sockaddr *);
    289285void     rtalloc_ign __P((struct route *, unsigned long));
     286void     rtalloc(struct route *ro); /* XXX deprecated, use rtalloc_ign(ro, 0) */
    290287struct rtentry *
    291288         rtalloc1 __P((struct sockaddr *, int, unsigned long));
    292 void     rtfree __P((struct rtentry *));
    293 int      rtinit __P((struct ifaddr *, int, int));
     289void     rtfree(struct rtentry *);
     290int      rtinit(struct ifaddr *, int, int);
    294291int      rtioctl __P((int, caddr_t, struct proc *));
    295 void     rtredirect __P((struct sockaddr *, struct sockaddr *,
    296             struct sockaddr *, int, struct sockaddr *, struct rtentry **));
    297 int      rtrequest __P((int, struct sockaddr *,
    298             struct sockaddr *, struct sockaddr *, int, struct rtentry **));
     292void     rtredirect(struct sockaddr *, struct sockaddr *,
     293            struct sockaddr *, int, struct sockaddr *, struct rtentry **);
     294int      rtrequest(int, struct sockaddr *,
     295            struct sockaddr *, struct sockaddr *, int, struct rtentry **);
    299296#endif
    300297
Note: See TracChangeset for help on using the changeset viewer.