altq_red.c (257215) | altq_red.c (281613) |
---|---|
1/* $FreeBSD: head/sys/contrib/altq/altq/altq_red.c 257215 2013-10-27 16:25:57Z glebius $ */ | 1/* $FreeBSD: head/sys/net/altq/altq_red.c 281613 2015-04-16 20:22:40Z glebius $ */ |
2/* $KAME: altq_red.c,v 1.18 2003/09/05 22:40:36 itojun Exp $ */ 3 4/* 5 * Copyright (C) 1997-2003 6 * Sony Computer Science Laboratories Inc. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 83 unchanged lines hidden (view full) --- 93#include <netinet/ip.h> 94#ifdef INET6 95#include <netinet/ip6.h> 96#endif 97 98#include <netpfil/pf/pf.h> 99#include <netpfil/pf/pf_altq.h> 100#include <netpfil/pf/pf_mtag.h> | 2/* $KAME: altq_red.c,v 1.18 2003/09/05 22:40:36 itojun Exp $ */ 3 4/* 5 * Copyright (C) 1997-2003 6 * Sony Computer Science Laboratories Inc. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 83 unchanged lines hidden (view full) --- 93#include <netinet/ip.h> 94#ifdef INET6 95#include <netinet/ip6.h> 96#endif 97 98#include <netpfil/pf/pf.h> 99#include <netpfil/pf/pf_altq.h> 100#include <netpfil/pf/pf_mtag.h> |
101#include 102#include | 101#include <net/altq/altq.h> 102#include <net/altq/altq_red.h> |
103#ifdef ALTQ3_COMPAT | 103#ifdef ALTQ3_COMPAT |
104#include | 104#include <net/altq/altq_conf.h> |
105#ifdef ALTQ_FLOWVALVE | 105#ifdef ALTQ_FLOWVALVE |
106#include | 106#include <net/altq/altq_flowvalve.h> |
107#endif 108#endif 109 110/* 111 * ALTQ/RED (Random Early Detection) implementation using 32-bit 112 * fixed-point calculation. 113 * 114 * written by kjc using the ns code as a reference. --- 1386 unchanged lines hidden --- | 107#endif 108#endif 109 110/* 111 * ALTQ/RED (Random Early Detection) implementation using 32-bit 112 * fixed-point calculation. 113 * 114 * written by kjc using the ns code as a reference. --- 1386 unchanged lines hidden --- |