Changeset cb97349 in rtems


Ignore:
Timestamp:
Oct 22, 2004, 2:28:16 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
6a60333
Parents:
20a7adf
Message:

2004-10-21 Ralf Corsepius <ralf_corsepius@…>

  • libnetworking/net/if.h; Cosmetical updates from FreeBSD. Remove if_poll* (Not implemented in RTEMS, abandoned by FreeBSD).
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r20a7adf rcb97349  
     12004-10-21      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * libnetworking/net/if.h; Cosmetical updates from FreeBSD.
     4        Remove if_poll* (Not implemented in RTEMS, abandoned by FreeBSD).
     5
    162004-10-21      Ralf Corsepius <ralf_corsepius@rtems.org>
    27
  • cpukit/libnetworking/net/if.h

    r20a7adf rcb97349  
    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 *      @(#)if.h        8.1 (Berkeley) 6/10/93
     30 * $FreeBSD: src/sys/net/if.h,v 1.92 2004/09/08 04:50:55 brooks Exp $
     31 */
     32
     33/*
    3434 * $Id$
    3535 */
    36 
     36 
    3737#ifndef _NET_IF_H_
    3838#define _NET_IF_H_
     
    334334struct if_msghdr {
    335335        u_short ifm_msglen;     /* to skip over non-understood messages */
    336         u_char  ifm_version;    /* future binary compatability */
     336        u_char  ifm_version;    /* future binary compatibility */
    337337        u_char  ifm_type;       /* message type */
    338338        int     ifm_addrs;      /* like rtm_addrs */
     
    348348struct ifa_msghdr {
    349349        u_short ifam_msglen;    /* to skip over non-understood messages */
    350         u_char  ifam_version;   /* future binary compatability */
     350        u_char  ifam_version;   /* future binary compatibility */
    351351        u_char  ifam_type;      /* message type */
    352352        int     ifam_addrs;     /* like rtm_addrs */
     
    442442int     ether_ioctl __P((struct ifnet *, int , caddr_t ));
    443443
    444 void    if_attach __P((struct ifnet *));
    445 void    if_down __P((struct ifnet *));
    446 void    if_up __P((struct ifnet *));
    447 #ifdef vax
    448 void    ifubareset __P((int));
    449 #endif
     444void    if_attach(struct ifnet *);
     445void    if_down(struct ifnet *);
     446void    if_up(struct ifnet *);
     447
    450448/*void  ifinit __P((void));*/ /* declared in systm.h for main() */
    451 int     ifioctl __P((struct socket *, int, caddr_t, struct proc *));
    452 int     ifpromisc __P((struct ifnet *, int));
    453 struct  ifnet *ifunit __P((char *));
    454 
    455 int     if_poll_recv_slow __P((struct ifnet *ifp, int *quotap));
    456 void    if_poll_xmit_slow __P((struct ifnet *ifp, int *quotap));
    457 void    if_poll_throttle __P((void));
    458 void    if_poll_unthrottle __P((void *));
    459 void    if_poll_init __P((void));
    460 void    if_poll __P((void));
    461 
    462 struct  ifaddr *ifa_ifwithaddr __P((struct sockaddr *));
    463 struct  ifaddr *ifa_ifwithdstaddr __P((struct sockaddr *));
    464 struct  ifaddr *ifa_ifwithnet __P((struct sockaddr *));
    465 struct  ifaddr *ifa_ifwithroute __P((int, struct sockaddr *,
    466                                         struct sockaddr *));
     449int     ifioctl(struct socket *, int, caddr_t, struct proc *);
     450int     ifpromisc(struct ifnet *, int);
     451struct  ifnet *ifunit(char *);
     452
     453struct  ifaddr *ifa_ifwithaddr(struct sockaddr *);
     454struct  ifaddr *ifa_ifwithdstaddr(struct sockaddr *);
     455struct  ifaddr *ifa_ifwithnet(struct sockaddr *);
     456struct  ifaddr *ifa_ifwithroute(int, struct sockaddr *,
     457                                        struct sockaddr *);
    467458struct  ifaddr *ifaof_ifpforaddr __P((struct sockaddr *, struct ifnet *));
    468459void    ifafree __P((struct ifaddr *));
Note: See TracChangeset for help on using the changeset viewer.