File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / igmpproxy / src / os-dragonfly.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 17:00:29 2012 UTC (12 years, 4 months ago) by misho
Branches: igmpproxy, MAIN
CVS tags: v0_1p0, v0_1, HEAD
igmpproxy

    1: #include <net/route.h>
    2: #include <net/ip_mroute/ip_mroute.h>
    3: #include <netinet/ip.h>
    4: #include <netinet/igmp.h>
    5: 
    6: static inline u_short ip_data_len(const struct ip *ip)
    7: {
    8: 	return ip->ip_len;
    9: }
   10: 
   11: static inline void ip_set_len(struct ip *ip, u_short len)
   12: {
   13: 	ip->ip_len = len;
   14: }

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>