ip_proxy.h weirdness

From: Val Polyakov (necro_at_digital-security.org)
Date: 08/31/04

  • Next message: Brooks Davis: "Re: ip_proxy.h weirdness"
    Date: Mon, 30 Aug 2004 22:56:40 -0400 (EDT)
    To: freebsd-arch@freebsd.org
    
    

    Hi,

    again not very sure where to send this to.. so forgive me if it's a wrong
    place
    below is a transcript of the weirdness.
    I think netinet/ip_proxy.h is broke. :)

    Val

    ----------------------------------------------------------

    digital-security# uname -a
    FreeBSD digital-security.org 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #2: Sun
    Aug 29 14:30:57 EDT 2004
    necro@digital-security.org:/usr/src/sys/i386/compile/THRILLKILLCULT i386

    digital-security# cat hello.c
    #include <stdio.h>
    #include <netinet/ip_proxy.h>
    main()
    {
    printf("hi\n");
    }
    digital-security# gcc -o hello hello.c
    In file included from hello.c:2:
    /usr/include/netinet/ip_proxy.h:26: error: syntax error before "u_short"
    /usr/include/netinet/ip_proxy.h:30: error: syntax error before "tcp_seq"
    /usr/include/netinet/ip_proxy.h:32: error: syntax error before "tcp_seq"
    /usr/include/netinet/ip_proxy.h:37: error: syntax error before "u_short"
    /usr/include/netinet/ip_proxy.h:47: error: syntax error before "u_int"
    /usr/include/netinet/ip_proxy.h:71: error: syntax error before "u_char"
    /usr/include/netinet/ip_proxy.h:76: error: syntax error before '*' token
    /usr/include/netinet/ip_proxy.h:79: error: syntax error before '*' token
    /usr/include/netinet/ip_proxy.h:81: error: syntax error before '*' token
    /usr/include/netinet/ip_proxy.h:83: error: syntax error before '*' token
    /usr/include/netinet/ip_proxy.h:99: error: syntax error before "u_32_t"
    /usr/include/netinet/ip_proxy.h:125: error: syntax error before "u_short"
    /usr/include/netinet/ip_proxy.h:129: error: syntax error before "u_32_t"
    /usr/include/netinet/ip_proxy.h:147: error: syntax error before "ipsec_cookie_t"
    /usr/include/netinet/ip_proxy.h:150: error: syntax error before "ipsec_cookie_t"
    /usr/include/netinet/ip_proxy.h:153: error: syntax error before "ipnat_t"
    /usr/include/netinet/ip_proxy.h:167: error: syntax error before '*' token
    /usr/include/netinet/ip_proxy.h:168: error: syntax error before '*' token
    /usr/include/netinet/ip_proxy.h:171: error: syntax error before '*' token
    /usr/include/netinet/ip_proxy.h:172: error: syntax error before "char"
    /usr/include/netinet/ip_proxy.h:173: error: syntax error before '*' token
    digital-security#

    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: Brooks Davis: "Re: ip_proxy.h weirdness"