/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/tc/ |
H A D | tc_estimator.c | 26 tc_setup_estimator(unsigned A, unsigned time_const, struct tc_estimator *est) argument 36 double w = 1.0 - 1.0/(1<<est->ewma_log); local [all...] |
H A D | tc_filter.c | 33 static void usage(void) function 50 tc_filter_modify(int cmd, unsigned flags, int argc, char **argv) argument 53 struct nlmsghdr n; member in struct:__anon1195 54 struct tcmsg t; member in struct:__anon1195 55 char buf[MAX_MSG]; member in struct:__anon1195 56 } req; local 57 struct filter_util *q = NULL; local 58 __u32 prio = 0; local 59 __u32 protocol = 0; local 60 char *fhandle = NULL; local 61 char d[16]; local 62 char k[16]; local 63 struct tc_estimator est; local 89 __u32 handle; local 109 __u16 id; local 174 static __u32 filter_parent; variable 175 static int filter_ifindex; variable 176 static __u32 filter_prio; variable 177 static __u32 filter_protocol; variable 179 print_filter(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) argument 183 FILE *fp = (FILE*)arg; local 184 struct tcmsg *t = NLMSG_DATA(n); local 185 int len = n->nlmsg_len; local 186 struct rtattr * tb[TCA_MAX+1]; local 187 struct filter_util *q; local 188 char abuf[256]; local 224 __u32 protocol = TC_H_MIN(t->tcm_info); local 225 __u32 prio = TC_H_MAJ(t->tcm_info)>>16; local 258 tc_filter_list(int argc, char **argv) argument 260 struct tcmsg t; local 261 char d[16]; local 262 __u32 prio = 0; local 263 __u32 protocol = 0; local 264 char *fhandle = NULL; local 283 __u32 handle; local 304 __u16 res; local 347 do_filter(int argc, char **argv) argument [all...] |
H A D | tc_qdisc.c | 30 static int usage(void) function 44 tc_qdisc_modify(int cmd, unsigned flags, int argc, char **argv) argument 46 struct qdisc_util *q = NULL; local 47 struct tc_estimator est; local 48 char d[16]; local 49 char k[16]; local 51 struct nlmsghdr n; member in struct:__anon1196 52 struct tcmsg t; member in struct:__anon1196 53 char buf[TCA_BUF_MAX]; member in struct:__anon1196 54 } req; local 73 __u32 handle; local 101 __u32 handle; local 146 int idx; local 163 static int filter_ifindex; variable 165 print_qdisc(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) argument 169 FILE *fp = (FILE*)arg; local 170 struct tcmsg *t = NLMSG_DATA(n); local 171 int len = n->nlmsg_len; local 172 struct rtattr * tb[TCA_MAX+1]; local 173 struct qdisc_util *q; local 174 char abuf[256]; local 227 struct rtattr *xstats = NULL; local 244 tc_qdisc_list(int argc, char **argv) argument 246 struct tcmsg t; local 247 char d[16]; local 298 do_qdisc(int argc, char **argv) argument [all...] |
H A D | tc_red.c | 30 tc_red_eval_P(unsigned qmin, unsigned qmax, double prob) argument 32 int i = qmax - qmin; local 53 tc_red_eval_ewma(unsigned qmin, unsigned burst, unsigned avpkt) argument 55 int wlog = 1; local 56 double W = 0.5; local 57 double a = (double)burst + 1 - (double)qmin/avpkt; local 72 tc_red_eval_idle_damping(int Wlog, unsigned avpkt, unsigned bps, __u8 *sbuf) argument 74 double xmit_time = tc_core_usec2tick(1000000*(double)avpkt/bps); local 75 double lW = -log(1.0 - 1.0/(1<<Wlog))/xmit_time; local 76 double maxtime = 31/lW; local 77 int clog; local 78 int i; local 79 double tmp; local [all...] |
H A D | tc_red.h | 2 #define _TC_RED_H_ 1 macro [all...] |
H A D | tc_util.c | 27 get_qdisc_handle(__u32 *h, const char *str) argument 29 __u32 maj; local 30 char *p; local 46 get_tc_classid(__u32 *h, const char *str) argument 48 __u32 maj, min; local 49 char *p; local 82 print_tc_classid(char *buf, int len, __u32 h) argument 97 sprint_tc_classid(__u32 h, char *buf) argument 105 static const struct rate_suffix { struct 106 const char *name; member in struct:rate_suffix 107 double scale; member in struct:rate_suffix 108 } suffixes[] = { variable in typeref:struct:rate_suffix 131 get_rate(unsigned *rate, const char *str) argument 133 char *p; local 134 double bps = strtod(str, &p); local 135 const struct rate_suffix *s; local 155 get_rate_and_cell(unsigned *rate, int *cell_log, char *str) argument 157 char * slash = strchr(str, '/'); local 166 int cell; local 167 int i; local 184 print_rate(char *buf, int len, __u32 rate) argument 186 double tmp = (double)rate*8; local 206 sprint_rate(__u32 rate, char *buf) argument 212 get_usecs(unsigned *usecs, const char *str) argument 214 double t; local 215 char *p; local 240 print_usecs(char *buf, int len, __u32 usec) argument 242 double tmp = usec; local 252 sprint_usecs(__u32 usecs, char *buf) argument 258 get_size(unsigned *size, const char *str) argument 260 double sz; local 261 char *p; local 288 get_size_and_cell(unsigned *size, int *cell_log, char *str) argument 290 char * slash = strchr(str, '/'); local 299 int cell; local 300 int i; local 317 print_size(char *buf, int len, __u32 sz) argument 319 double tmp = sz; local 329 sprint_size(__u32 size, char *buf) argument 335 static const double max_percent_value = 0xffffffff; variable 337 get_percent(__u32 *percent, const char *str) argument 339 char *p; local 340 double per = strtod(str, &p) / 100.; local 351 print_percent(char *buf, int len, __u32 per) argument 356 sprint_percent(__u32 per, char *buf) argument 362 print_qdisc_handle(char *buf, int len, __u32 h) argument 367 sprint_qdisc_handle(__u32 h, char *buf) argument 373 action_n2a(int action, char *buf, int len) argument 397 action_a2n(char *arg, int *result) argument 399 int res; local 414 char dummy; local 422 print_tm(FILE * f, const struct tcf_t *tm) argument 424 int hz = get_user_hz(); local 433 print_tcstats2_attr(FILE *fp, struct rtattr *rta, char *prefix, struct rtattr **xstats) argument 436 struct rtattr *tbs[TCA_STATS_MAX + 1]; local 441 struct gnet_stats_basic bs = {0}; local 448 struct gnet_stats_queue q = {0}; local 455 struct gnet_stats_rate_est re = {0}; local 462 struct gnet_stats_queue q = {0}; local 474 print_tcstats_attr(FILE *fp, struct rtattr *tb[], char *prefix, struct rtattr **xstats) argument 486 struct tc_stats st; local [all...] |
H A D | tc_util.h | 2 #define _TC_UTIL_H_ 1 macro 4 #define MAX_MSG 16384 macro 10 struct qdisc_util struct 12 struct qdisc_util *next; member in struct:qdisc_util 13 const char *id; member in struct:qdisc_util 14 int (*parse_qopt)(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n); member in struct:qdisc_util 15 int (*print_qopt)(struct qdisc_util *qu, FILE *f, struct rtattr *opt); member in struct:qdisc_util 16 int (*print_xstats)(struct qdisc_util *qu, FILE *f, struct rtattr *xstats); member in struct:qdisc_util 18 int (*parse_copt)(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n); member in struct:qdisc_util 19 int (*print_copt)(struct qdisc_util *qu, FILE *f, struct rtattr *opt); member in struct:qdisc_util 22 struct filter_util struct 24 struct filter_util *next; member in struct:filter_util 25 char id[16]; member in struct:filter_util 26 int (*parse_fopt)(struct filter_util *qu, char *fhandle, int argc, member in struct:filter_util 28 int (*print_fopt)(struct filter_util *qu, FILE *f, struct rtattr *opt, __u32 fhandle); member in struct:filter_util 31 struct action_util struct 33 struct action_util *next; member in struct:action_util 34 char id[16]; member in struct:action_util 35 int (*parse_aopt)(struct action_util *a, int *argc, char ***argv, member in struct:action_util 37 int (*print_aopt)(struct action_util *au, FILE *f, struct rtattr *opt); member in struct:action_util 38 int (*print_xstats)(struct action_util *au, FILE *f, struct rtattr *xstats); member in struct:action_util [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/testsuite/ |
H A D | Makefile | 2 DEV := lo macro 3 PREFIX macro 6 TESTS := $(patsubst tests/%,%,$(wildcard tests/*.t)) macro 7 IPVERS := $(filter-out iproute2/Makefile,$(wildcard iproute2/*)) macro 8 KENV := $(shell cat /proc/config.gz | gunzip | grep ^CONFIG) macro [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/testsuite/iproute2/ |
H A D | Makefile | 1 SUBDIRS := $(filter-out Makefile,$(wildcard *)) macro [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/testsuite/lib/ |
H A D | generic.sh | 4 ts_log() function 9 ts_err() function 14 ts_cat() function 19 ts_err_cat() function 24 ts_tc() function 52 ts_ip() function 80 ts_qdisc_available() function [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iptables-1.4.12.1/ |
H A D | Makefile | 19 pkgincludedir = $(includedir)/iptables macro 20 pkglibdir = $(libdir)/iptables macro 21 pkglibexecdir = $(libexecdir)/iptables macro 22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd macro 23 install_sh_DATA = $(install_sh) -c -m 644 macro 24 install_sh_PROGRAM = $(install_sh) -c macro 25 install_sh_SCRIPT = $(install_sh) -c macro 26 INSTALL_HEADER = $(INSTALL_DATA) macro 27 transform = $(program_transform_name) macro 28 NORMAL_INSTALL = : macro 29 PRE_INSTALL = : macro 30 POST_INSTALL = : macro 31 NORMAL_UNINSTALL = : macro 32 PRE_UNINSTALL = : macro 33 POST_UNINSTALL = : macro 34 build_triplet = i686-pc-linux-gnu macro 35 host_triplet = mipsel-unknown-linux-gnu macro 36 am__append_1 = include macro 39 subdir = . macro 40 DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \\ macro 47 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 macro 48 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_linker_flags.m4 \\ macro 52 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \\ macro 54 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \\ macro 56 mkinstalldirs = $(install_sh) -d macro 57 CONFIG_HEADER = config.h macro 58 CONFIG_CLEAN_FILES = extensions/GNUmakefile \\ macro 60 CONFIG_CLEAN_VPATH_FILES = macro 61 SOURCES = macro 62 DIST_SOURCES = macro 63 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \\ macro 70 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \\ macro 72 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \\ macro 75 ETAGS = etags macro 76 CTAGS = ctags macro 77 DIST_SUBDIRS = extensions libiptc iptables include libipq utils macro 78 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) macro 79 distdir = $(PACKAGE)-$(VERSION) macro 80 top_distdir = $(distdir) macro 81 am__remove_distdir = \\ macro 85 am__relativize = \\ macro 110 DIST_ARCHIVES = $(distdir).tar.gz macro 111 GZIP_ENV = --best macro 112 distuninstallcheck_listfiles = find . -type f -print macro 113 distcleancheck_listfiles = find . -type f -print macro 114 pkgdatadir = ${datadir}/xtables macro 115 ACLOCAL = ${SHELL} $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/missing --run aclocal-1.11 macro 116 AMTAR = ${SHELL} $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/missing --run tar macro 117 AR = mipsel-uclibc-linux26-ar macro 118 AUTOCONF = ${SHELL} $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/missing --run autoconf macro 119 AUTOHEADER = ${SHELL} $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/missing --run autoheader macro 120 AUTOMAKE = ${SHELL} $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/missing --run automake-1.11 macro 121 AWK = gawk macro 122 CC = mipsel-uclibc-linux26-gcc macro 123 CCDEPMODE = depmode=gcc3 macro 124 CFLAGS = -g -O2 macro 125 CPP = mipsel-uclibc-linux26-gcc -E macro 126 CPPFLAGS = macro 127 CYGPATH_W = echo macro 128 DEFS = -DHAVE_CONFIG_H macro 129 DEPDIR = .deps macro 130 DSYMUTIL = macro 131 DUMPBIN = macro 132 ECHO_C = macro 133 ECHO_N = -n macro 134 ECHO_T = macro 135 EGREP = /bin/grep -E macro 136 EXEEXT = macro 137 FGREP = /bin/grep -F macro 138 GREP = /bin/grep macro 139 INSTALL = /usr/bin/install -c macro 140 INSTALL_DATA = ${INSTALL} -m 644 macro 141 INSTALL_PROGRAM = ${INSTALL} macro 142 INSTALL_SCRIPT = ${INSTALL} macro 143 INSTALL_STRIP_PROGRAM = $(install_sh) -c -s macro 144 LD = mipsel-uclibc-linux26-ld macro 145 LDFLAGS = macro 146 LIBOBJS = macro 147 LIBS = macro 148 LIBTOOL = $(SHELL) $(top_builddir)/libtool macro 149 LIPO = macro 150 LN_S = ln -s macro 151 LTLIBOBJS = macro 152 MAKEINFO = ${SHELL} $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/missing --run makeinfo macro 153 MKDIR_P = /bin/mkdir -p macro 154 NM = mipsel-uclibc-linux26-nm macro 155 NMEDIT = macro 156 OBJDUMP = mipsel-linux-objdump macro 157 OBJEXT = o macro 158 OTOOL = macro 159 OTOOL64 = macro 160 PACKAGE = iptables macro 161 PACKAGE_BUGREPORT = macro 162 PACKAGE_NAME = iptables macro 163 PACKAGE_STRING = iptables 1.4.12.1 macro 164 PACKAGE_TARNAME = iptables macro 165 PACKAGE_URL = macro 166 PACKAGE_VERSION = 1.4.12.1 macro 167 PATH_SEPARATOR = : macro 168 PKG_CONFIG = /usr/bin/pkg-config macro 169 PKG_CONFIG_LIBDIR = macro 170 PKG_CONFIG_PATH = macro 171 RANLIB = mipsel-uclibc-linux26-ranlib macro 172 SED = /bin/sed macro 173 SET_MAKE = macro 174 SHELL = /bin/sh macro 175 STRIP = mipsel-linux-strip macro 176 VERSION = 1.4.12.1 macro 177 abs_builddir = $(SRCBASE)/../ap/gpl/iptables-1.4.12.1 macro 178 abs_srcdir = $(SRCBASE)/../ap/gpl/iptables-1.4.12.1 macro 179 abs_top_builddir = $(SRCBASE)/../ap/gpl/iptables-1.4.12.1 macro 180 abs_top_srcdir = $(SRCBASE)/../ap/gpl/iptables-1.4.12.1 macro 181 ac_ct_CC = macro 182 ac_ct_DUMPBIN = macro 183 am__include = include macro 184 am__leading_dot = . macro 185 am__quote = macro 186 am__tar = ${AMTAR} chof - "$$tardir" macro 187 am__untar = ${AMTAR} xf - macro 188 bindir = ${exec_prefix}/bin macro 189 blacklist_modules = ipvs macro 190 build = i686-pc-linux-gnu macro 191 build_alias = macro 192 build_cpu = i686 macro 193 build_os = linux-gnu macro 194 build_vendor = pc macro 195 builddir = . macro 196 datadir = ${datarootdir} macro 197 datarootdir = ${prefix}/share macro 198 docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} macro 199 dvidir = ${docdir} macro 200 exec_prefix = ${prefix} macro 201 host = mipsel-unknown-linux-gnu macro 202 host_alias = mipsel-linux macro 203 host_cpu = mipsel macro 204 host_os = linux-gnu macro 205 host_vendor = unknown macro 206 htmldir = ${docdir} macro 207 includedir = ${prefix}/include macro 208 infodir = ${datarootdir}/info macro 209 install_sh = ${SHELL} $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/install-sh macro 210 kbuilddir = macro 211 kinclude_CPPFLAGS = -I../../../src/linux/linux-2.6/include macro 212 ksourcedir = ../../../src/linux/linux-2.6 macro 213 libdir = ${exec_prefix}/lib macro 214 libexecdir = ${exec_prefix}/libexec macro 215 libiptc_LDFLAGS2 = -Wl,--no-as-needed macro 216 libnfnetlink_CFLAGS = macro 217 libnfnetlink_LIBS = macro 218 libxtables_vage = 0 macro 219 libxtables_vcurrent = 7 macro 220 libxtables_vmajor = 7 macro 221 localedir = ${datarootdir}/locale macro 222 localstatedir = ${prefix}/var macro 223 lt_ECHO = echo macro 224 mandir = ${datarootdir}/man macro 225 mkdir_p = /bin/mkdir -p macro 226 oldincludedir = /usr/include macro 227 pdfdir = ${docdir} macro 228 pkgconfigdir = ${libdir}/pkgconfig macro 229 prefix = $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/tmp macro 230 program_transform_name = s,x,x, macro 231 psdir = ${docdir} macro 232 regular_CFLAGS = -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe macro 233 regular_CPPFLAGS = -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\\"${xtlibdir}\\" -DXTABLES_INTERNAL macro 234 sbindir = ${TARGETDIR}/sbin macro 235 sharedstatedir = ${prefix}/com macro 236 srcdir = . macro 237 sysconfdir = ${prefix}/etc macro 238 target_alias = macro 239 top_build_prefix = macro 240 top_builddir = . macro 241 top_srcdir = . macro 242 xtlibdir = ${exec_prefix}/lib/xtables macro 243 ACLOCAL_AMFLAGS = -I m4 macro 244 AUTOMAKE_OPTIONS = foreign subdir-objects macro 245 SUBDIRS = extensions libiptc iptables $(am__append_1) $(am__append_2) \\ macro 519 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz macro 523 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 macro 527 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma macro 531 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz macro 535 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z macro 548 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz macro 751 tar -C /tmp -cjf ${PACKAGE_TARNAME}-${PACKAGE_VERSION}.tar.bz2 --owner=root --group=root ${PACKAGE_TARNAME}-${PACKAGE_VERSION}/; macro [all...] |
H A D | config.guess | 535 main() function 681 main () function 1314 main () function [all...] |
H A D | config.h | 5 #define HAVE_DLFCN_H macro 8 #define HAVE_INTTYPES_H macro 11 #define HAVE_LINUX_DCCP_H macro 17 #define HAVE_LINUX_MAGIC_H macro 23 #define HAVE_MEMORY_H macro 26 #define HAVE_STDINT_H macro 29 #define HAVE_STDLIB_H macro 32 #define HAVE_STRINGS_H macro 35 #define HAVE_STRING_H macro 38 #define HAVE_SYS_STAT_H macro 41 #define HAVE_SYS_TYPES_H macro 44 #define HAVE_UNISTD_H macro 48 #define LT_OBJDIR macro 54 #define PACKAGE macro 57 #define PACKAGE_BUGREPORT macro 60 #define PACKAGE_NAME macro 63 #define PACKAGE_STRING macro 66 #define PACKAGE_TARNAME macro 69 #define PACKAGE_URL macro 72 #define PACKAGE_VERSION macro 75 #define SIZEOF_STRUCT_IP6_HDR macro 78 #define STDC_HEADERS macro 81 #define VERSION macro [all...] |
H A D | config.status | 142 as_fn_error () function 157 as_fn_set_status () function 165 as_fn_exit () function 175 as_fn_unset () function 192 as_fn_append () function 209 as_fn_arith () function 305 as_fn_mkdir_p () function 1881 func_dirname () function 1890 func_basename () function 1907 func_dirname_and_basename () function 1921 func_stripname () function 1931 func_opt_split () function 1938 func_lo2o () function 1947 func_xform () function 1953 func_arith () function 1960 func_len () function 1973 func_dirname () function 1985 func_basename () function 1997 func_stripname () function 2012 func_opt_split () function 2019 func_lo2o () function 2025 func_xform () function 2031 func_arith () function 2038 func_len () function 2052 func_append () function 2063 func_append () function [all...] |
H A D | configure | 154 as_fn_success () { as_fn_return 0; } function 155 as_fn_failure () { as_fn_return 1; } function 156 as_fn_ret_success () { return 0; } function 157 as_fn_ret_failure () { return 1; } function 252 as_fn_unset () function 261 as_fn_set_status () function 269 as_fn_exit () function 279 as_fn_mkdir_p () function 335 as_fn_append () function 352 as_fn_arith () function 364 as_fn_error () function 1671 ac_fn_c_try_compile () function 1709 ac_fn_c_try_link () function 1756 ac_fn_c_check_header_compile () function 1786 ac_fn_c_try_cpp () function 1824 ac_fn_c_try_run () function 1865 ac_fn_c_check_func () function 1934 ac_fn_c_check_header_mongrel () function 2021 ac_fn_c_compute_int () function 3786 function prototypes and stuff, but not '\\xHH' hex character constants. function 11543 as_fn_error () function 11558 as_fn_set_status () function 11566 as_fn_exit () function 11576 as_fn_unset () function 11593 as_fn_append () function 11610 as_fn_arith () function 11706 as_fn_mkdir_p () function 13386 func_dirname () function 13395 func_basename () function 13412 func_dirname_and_basename () function 13426 func_stripname () function 13436 func_opt_split () function 13443 func_lo2o () function 13452 func_xform () function 13458 func_arith () function 13465 func_len () function 13478 func_dirname () function 13490 func_basename () function 13502 func_stripname () function 13517 func_opt_split () function 13524 func_lo2o () function 13530 func_xform () function 13536 func_arith () function 13543 func_len () function 13557 func_append () function 13568 func_append () function [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iptables-1.4.12.1/extensions/ |
H A D | GNUmakefile | 3 top_builddir := .. macro 4 builddir := . macro 5 top_srcdir := .. macro 6 srcdir := . macro 7 ksourcedir := ../../../src/linux/linux-2.6 macro 8 prefix := $(SRCBASE)/../ap/gpl/iptables-1.4.12.1/tmp macro 9 exec_prefix := ${prefix} macro 10 libdir := ${exec_prefix}/lib macro 11 libexecdir := ${exec_prefix}/libexec macro 12 xtlibdir := ${exec_prefix}/lib/xtables macro 14 CC := mipsel-uclibc-linux26-gcc macro 15 CCLD := ${CC} macro 16 CFLAGS := -g -O2 macro 17 CPPFLAGS := macro 18 LDFLAGS := macro 19 regular_CFLAGS := -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe macro 20 regular_CPPFLAGS := -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\\"${xtlibdir}\\" -DXTABLES_INTERNAL macro 21 kinclude_CPPFLAGS := -I../../../src/linux/linux-2.6/include macro 23 AM_CFLAGS := ${regular_CFLAGS} macro 24 AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_builddir} -I${top_srcdir}/include ${kinclude_CPPFLAGS} macro 25 AM_DEPFLAGS = -Wp,-MMD,$(@D)/.$(@F).d,-MT,$@ macro 28 AM_LIBTOOL_SILENT = --silent macro 29 AM_VERBOSE_CC = @echo " CC " $@; macro 30 AM_VERBOSE_CCLD = @echo " CCLD " $@; macro 31 AM_VERBOSE_CXX = @echo " CXX " $@; macro 32 AM_VERBOSE_CXXLD = @echo " CXXLD " $@; macro 33 AM_VERBOSE_AR = @echo " AR " $@; macro 34 AM_VERBOSE_GEN = @echo " GEN " $@; macro 40 pfx_build_mod := $(patsubst ${srcdir}/libxt_%.c,%,$(wildcard ${srcdir}/libxt_*.c)) macro 41 pf4_build_mod := $(patsubst ${srcdir}/libipt_%.c,%,$(wildcard ${srcdir}/libipt_*.c)) macro 42 pf6_build_mod := $(patsubst ${srcdir}/libip6t_%.c,%,$(wildcard ${srcdir}/libip6t_*.c)) macro 43 pfx_build_mod := $(filter-out ipvs,${pfx_build_mod}) macro 44 pf4_build_mod := $(filter-out ipvs,${pf4_build_mod}) macro 45 pf6_build_mod := $(filter-out ipvs,${pf6_build_mod}) macro 46 pfx_objs := $(patsubst %,libxt_%.o,${pfx_build_mod}) macro 47 pf4_objs := $(patsubst %,libipt_%.o,${pf4_build_mod}) macro 48 pf6_objs := $(patsubst %,libip6t_%.o,${pf6_build_mod}) macro 49 pfx_solibs := $(patsubst %,libxt_%.so,${pfx_build_mod}) macro 50 pf4_solibs := $(patsubst %,libipt_%.so,${pf4_build_mod}) macro 51 pf6_solibs := $(patsubst %,libip6t_%.so,${pf6_build_mod}) macro 57 targets := libext.a libext4.a libext6.a \\ macro 60 targets_install := macro 61 libext_objs := ${pfx_objs} macro 62 libext4_objs := ${pf4_objs} macro 63 libext6_objs := ${pf6_objs} macro 118 initext_func := $(addprefix xt_,${pfx_build_mod}) macro 119 initext4_func := $(addprefix ipt_,${pf4_build_mod}) macro 120 initext6_func := $(addprefix ip6t_,${pf6_build_mod}) macro 188 ex_matches = $(sort $(shell echo $(1) | LC_ALL=POSIX grep -Eo '\\b[[:lower:][:digit:]_]+\\b')) macro 189 ex_targets = $(sort $(shell echo $(1) | LC_ALL=POSIX grep -Eo '\\b[[:upper:][:digit:]_]+\\b')) macro 190 man_run = \\ macro [all...] |
H A D | dscp_helper.c | 17 static const struct ds_class struct 19 const char *name; member in struct:ds_class 20 unsigned int dscp; member in struct:ds_class 21 } ds_classes[] = variable in typeref:struct:ds_class 50 class_to_dscp(const char *name) argument 52 unsigned int i; local [all...] |
H A D | libip6t_HL.c | 12 O_HL_SET = 0, enumerator in enum:__anon1197 13 O_HL_INC, enumerator in enum:__anon1197 14 O_HL_DEC, enumerator in enum:__anon1197 15 F_HL_SET = 1 << O_HL_SET, enumerator in enum:__anon1197 16 F_HL_INC = 1 << O_HL_INC, enumerator in enum:__anon1197 17 F_HL_DEC = 1 << O_HL_DEC, enumerator in enum:__anon1197 18 F_ANY = F_HL_SET | F_HL_INC | F_HL_DEC, enumerator in enum:__anon1197 21 #define s macro 22 static const struct xt_option_entry HL_opts[] = { variable in typeref:struct:xt_option_entry 33 #undef s macro 35 static void HL_help(void) function 44 HL_parse(struct xt_option_call *cb) argument 46 struct ip6t_HL_info *info = cb->data; local 62 HL_check(struct xt_fcheck_call *cb) argument 69 HL_save(const void *ip, const struct xt_entry_target *target) argument 71 const struct ip6t_HL_info *info = local 89 HL_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 92 const struct ip6t_HL_info *info = local 110 static struct xtables_target hl_tg6_reg = { variable in typeref:struct:xtables_target 124 void _init(void) function [all...] |
H A D | libip6t_LOG.c | 8 #define IP6T_LOG_UID macro 9 #undef IP6T_LOG_MASK macro 10 #define IP6T_LOG_MASK macro 13 #define LOG_DEFAULT_LEVEL macro 16 O_LOG_LEVEL = 0, enumerator in enum:__anon1198 17 O_LOG_PREFIX, enumerator in enum:__anon1198 18 O_LOG_TCPSEQ, enumerator in enum:__anon1198 19 O_LOG_TCPOPTS, enumerator in enum:__anon1198 20 O_LOG_IPOPTS, enumerator in enum:__anon1198 21 O_LOG_UID, enumerator in enum:__anon1198 22 O_LOG_MAC, enumerator in enum:__anon1198 25 static void LOG_help(void) function 38 #define s macro 39 static const struct xt_option_entry LOG_opts[] = { variable in typeref:struct:xt_option_entry 51 #undef s macro 53 LOG_init(struct xt_entry_target *t) argument 55 struct ip6t_log_info *loginfo = (struct ip6t_log_info *)t->data; local 61 struct ip6t_log_names { struct 62 const char *name; member in struct:ip6t_log_names 63 unsigned int level; member in struct:ip6t_log_names 66 static const struct ip6t_log_names ip6t_log_names[] variable in typeref:struct:ip6t_log_names 78 LOG_parse(struct xt_option_call *cb) argument 80 struct ip6t_log_info *info = cb->data; local 107 LOG_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 110 const struct ip6t_log_info *loginfo local 112 unsigned int i = 0; local 144 LOG_save(const void *ip, const struct xt_entry_target *target) argument 146 const struct ip6t_log_info *loginfo local 167 static struct xtables_target log_tg6_reg = { variable in typeref:struct:xtables_target 181 void _init(void) function [all...] |
H A D | libip6t_REJECT.c | 13 struct reject_names { struct 14 const char *name; member in struct:reject_names 15 const char *alias; member in struct:reject_names 16 enum ip6t_reject_with with; member in struct:reject_names 17 const char *desc; member in struct:reject_names 21 O_REJECT_WITH = 0, enumerator in enum:__anon1199 24 static const struct reject_names reject_table[] = { variable in typeref:struct:reject_names 42 print_reject_types(void) function 44 unsigned int i; local 55 static void REJECT_help(void) function 65 static const struct xt_option_entry REJECT_opts[] = { variable in typeref:struct:xt_option_entry 70 REJECT_init(struct xt_entry_target *t) argument 72 struct ip6t_reject_info *reject = (struct ip6t_reject_info *)t->data; local 79 REJECT_parse(struct xt_option_call *cb) argument 81 struct ip6t_reject_info *reject = cb->data; local 82 unsigned int i; local 97 REJECT_print(const void *ip, const struct xt_entry_target *target, int numeric) argument 100 const struct ip6t_reject_info *reject local 102 unsigned int i; local 110 REJECT_save(const void *ip, const struct xt_entry_target *target) argument 112 const struct ip6t_reject_info *reject local 114 unsigned int i; local 123 static struct xtables_target reject_tg6_reg = { variable in typeref:struct:xtables_target 137 void _init(void) function [all...] |
H A D | libip6t_ah.c | 6 O_AHSPI = 0, enumerator in enum:__anon1200 7 O_AHLEN, enumerator in enum:__anon1200 8 O_AHRES, enumerator in enum:__anon1200 11 static void ah_help(void) function 20 #define s macro 21 static const struct xt_option_entry ah_opts[] = { variable in typeref:struct:xt_option_entry 29 #undef s macro 31 ah_parse(struct xt_option_call *cb) argument 33 struct ip6t_ah *ahinfo = cb->data; local 54 print_spis(const char *name, uint32_t min, uint32_t max, int invert) argument 57 const char *inv = invert ? "!" : ""; local 68 print_len(const char *name, uint32_t len, int invert) argument 70 const char *inv = invert ? "!" : ""; local 76 ah_print(const void *ip, const struct xt_entry_match *match, int numeric) argument 79 const struct ip6t_ah *ah = (struct ip6t_ah *)match->data; local 95 ah_save(const void *ip, const struct xt_entry_match *match) argument 97 const struct ip6t_ah *ahinfo = (struct ip6t_ah *)match->data; local 123 static struct xtables_match ah_mt6_reg = { variable in typeref:struct:xtables_match 137 _init(void) function [all...] |
H A D | libip6t_dst.c | 9 O_DSTLEN = 0, enumerator in enum:__anon1201 10 O_DSTOPTS, enumerator in enum:__anon1201 13 static void dst_help(void) function 23 static const struct xt_option_entry dst_opts[] = { variable in typeref:struct:xt_option_entry 32 parse_opts_num(const char *idstr, const char *typestr) argument 34 unsigned long int id; local 35 char* ep; local 56 parse_options(const char *optsstr, uint16_t *opts) argument 58 char *buffer, *cp, *next, *range; local 59 unsigned int i; local 108 dst_parse(struct xt_option_call *cb) argument 110 struct ip6t_opts *optinfo = cb->data; local 125 print_options(unsigned int optsnr, uint16_t *optsp) argument 127 unsigned int i; local 140 dst_print(const void *ip, const struct xt_entry_match *match, int numeric) argument 143 const struct ip6t_opts *optinfo = (struct ip6t_opts *)match->data; local 161 dst_save(const void *ip, const struct xt_entry_match *match) argument 163 const struct ip6t_opts *optinfo = (struct ip6t_opts *)match->data; local 177 static struct xtables_match dst_mt6_reg = { variable in typeref:struct:xtables_match 191 _init(void) function [all...] |
H A D | libip6t_eui64.c | 4 static struct xtables_match eui64_mt6_reg = { variable in typeref:struct:xtables_match 12 void _init(void) function [all...] |
H A D | libip6t_frag.c | 6 O_FRAGID = 0, enumerator in enum:__anon1202 7 O_FRAGLEN, enumerator in enum:__anon1202 8 O_FRAGRES, enumerator in enum:__anon1202 9 O_FRAGFIRST, enumerator in enum:__anon1202 10 O_FRAGMORE, enumerator in enum:__anon1202 11 O_FRAGLAST, enumerator in enum:__anon1202 12 F_FRAGMORE = 1 << O_FRAGMORE, enumerator in enum:__anon1202 13 F_FRAGLAST = 1 << O_FRAGLAST, enumerator in enum:__anon1202 16 static void frag_help(void) function 28 #define s macro 29 static const struct xt_option_entry frag_opts[] = { variable in typeref:struct:xt_option_entry 42 #undef s macro 44 frag_parse(struct xt_option_call *cb) argument 46 struct ip6t_frag *fraginfo = cb->data; local 86 print_ids(const char *name, uint32_t min, uint32_t max, int invert) argument 89 const char *inv = invert ? "!" : ""; local 100 frag_print(const void *ip, const struct xt_entry_match *match, int numeric) argument 103 const struct ip6t_frag *frag = (struct ip6t_frag *)match->data; local 132 frag_save(const void *ip, const struct xt_entry_match *match) argument 134 const struct ip6t_frag *fraginfo = (struct ip6t_frag *)match->data; local 169 static struct xtables_match frag_mt6_reg = { variable in typeref:struct:xtables_match 183 _init(void) function [all...] |
H A D | libip6t_hbh.c | 8 #define DEBUG macro 11 O_HBH_LEN = 0, enumerator in enum:__anon1203 12 O_HBH_OPTS, enumerator in enum:__anon1203 15 static void hbh_help(void) function 25 static const struct xt_option_entry hbh_opts[] = { variable in typeref:struct:xt_option_entry 34 parse_opts_num(const char *idstr, const char *typestr) argument 36 unsigned long int id; local 37 char* ep; local 58 parse_options(const char *optsstr, uint16_t *opts) argument 60 char *buffer, *cp, *next, *range; local 61 unsigned int i; local 102 hbh_parse(struct xt_option_call *cb) argument 104 struct ip6t_opts *optinfo = cb->data; local 121 print_options(unsigned int optsnr, uint16_t *optsp) argument 123 unsigned int i; local 134 hbh_print(const void *ip, const struct xt_entry_match *match, int numeric) argument 137 const struct ip6t_opts *optinfo = (struct ip6t_opts *)match->data; local 152 hbh_save(const void *ip, const struct xt_entry_match *match) argument 154 const struct ip6t_opts *optinfo = (struct ip6t_opts *)match->data; local 167 static struct xtables_match hbh_mt6_reg = { variable in typeref:struct:xtables_match 181 _init(void) function [all...] |