Traffic Shaping

Flippie Spies (flippie@vwv.com)
Thu, 17 Jun 1999 10:08:11 +0200 (SAST)


Can any one tell me were I can get a traffic shaping program that works on
linux. I've tried shaper but:
# gcc shapecfg.c

In file included from shapecfg.c:5:
/usr/include/linux/if.h:111: field `ifru_addr' has incomplete type
/usr/include/linux/if.h:112: field `ifru_dstaddr' has incomplete type
/usr/include/linux/if.h:113: field `ifru_broadaddr' has incomplete type
/usr/include/linux/if.h:114: field `ifru_netmask' has incomplete type
/usr/include/linux/if.h:115: field `ifru_hwaddr' has incomplete type
shapecfg.c: In function `main':
shapecfg.c:17: `AF_INET' undeclared (first use this function)
shapecfg.c:17: (Each undeclared identifier is reported only once
shapecfg.c:17: for each function it appears in.)
shapecfg.c:17: `SOCK_DGRAM' undeclared (first use this function)
shapecfg.c:30: dereferencing pointer to incomplete type
shapecfg.c:31: dereferencing pointer to incomplete type
shapecfg.c:31: `SHAPER_SET_DEV' undeclared (first use this function)
shapecfg.c:32: `SIOCDEVPRIVATE' undeclared (first use this function)
shapecfg.c:46: dereferencing pointer to incomplete type
shapecfg.c:47: dereferencing pointer to incomplete type
shapecfg.c:47: `SHAPER_SET_SPEED' undeclared (first use this function)

Thanks.

+---------------+-----------------------------------------+
| Flippie Spies | email: flippie@vwv.com |
| | http://www.vwv.com |
| VWV Studios | "I'm not afraid of dying, I just don't |
| South Africa | want to be there when it happens." |
+---------------+-----------------------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu