Changeset df900d3 in rtems-libbsd


Ignore:
Timestamp:
Oct 23, 2012, 7:20:32 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, 5-freebsd-12, 6-freebsd-12, freebsd-9.3, master
Children:
8ddbc30
Parents:
d422d0d
git-author:
Joel Sherrill <joel.sherrill@…> (10/23/12 19:20:32)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/23/12 19:21:44)
Message:

Commands: Build with IPV6 enabled

Location:
freebsd-userspace
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • freebsd-userspace/commands/usr.bin/netstat/inet6.c

    rd422d0d rdf900d3  
    4242__FBSDID("$FreeBSD$");
    4343
     44#ifdef __rtems__
     45#include "port_before.h"
     46#endif
    4447#ifdef INET6
    4548#include <sys/param.h>
     
    4750#include <sys/socketvar.h>
    4851#include <sys/ioctl.h>
    49 #include <sys/mbuf.h>
    5052#ifdef __rtems__
     53#include <freebsd/sys/mbuf.h>
    5154#include <freebsd/sys/protosw.h>
    5255#else
     56#include <sys/mbuf.h>
    5357#include <sys/protosw.h>
    5458#endif
     
    5761#include <net/route.h>
    5862#include <net/if.h>
     63#ifdef __rtems__
     64#include <freebsd/net/if_var.h>
     65#else
    5966#include <net/if_var.h>
     67#endif
    6068#include <netinet/in.h>
    6169#include <netinet/ip6.h>
    6270#include <netinet/icmp6.h>
    6371#include <netinet/in_systm.h>
     72#ifdef __rtems__
     73#include <freebsd/netinet6/in6_pcb.h>
     74#include <freebsd/netinet6/in6_var.h>
     75#include <freebsd/netinet6/ip6_var.h>
     76#include <freebsd/netinet6/pim6_var.h>
     77#include <freebsd/netinet6/raw_ip6.h>
     78#else
    6479#include <netinet6/in6_pcb.h>
    6580#include <netinet6/in6_var.h>
     
    6782#include <netinet6/pim6_var.h>
    6883#include <netinet6/raw_ip6.h>
     84#endif
    6985
    7086#include <arpa/inet.h>
  • freebsd-userspace/commands/usr.bin/netstat/mroute6.c

    rd422d0d rdf900d3  
    6969__FBSDID("$FreeBSD$");
    7070
     71#ifdef __rtems__
     72#include "port_before.h"
     73#endif
    7174#ifdef INET6
    7275#include <sys/param.h>
     
    8891
    8992#include <net/if.h>
     93#ifdef __rtems__
     94#include <freebsd/net/if_var.h>
     95#else
    9096#include <net/if_var.h>
     97#endif
    9198#include <net/route.h>
    9299
     
    99106
    100107#define KERNEL 1
     108#ifdef __rtems__
     109#include <freebsd/netinet6/ip6_mroute.h>
     110#else
    101111#include <netinet6/ip6_mroute.h>
     112#endif
    102113#undef KERNEL
    103114
  • freebsd-userspace/lib/libc/net/name6.c

    rd422d0d rdf900d3  
    100100#ifdef INET6
    101101#include <net/if.h>
     102#ifdef __rtems__
     103#include <freebsd/net/if_var.h>
     104#include <sys/sysctl.h>
     105#include <sys/ioctl.h>
     106#include <freebsd/netinet6/in6_var.h>   /* XXX */
     107#else
    102108#include <net/if_var.h>
    103109#include <sys/sysctl.h>
    104110#include <sys/ioctl.h>
    105111#include <netinet6/in6_var.h>   /* XXX */
     112#endif
    106113#endif
    107114
Note: See TracChangeset for help on using the changeset viewer.