Lines Matching refs:pool_opts
236 static struct pool_opts { struct
246 } pool_opts; argument
251 struct pool_opts pool_opts; member
508 struct pool_opts pool_opts; member
600 %type <v.pool_opts> pool_opts pool_opt pool_opts_l
2967 filter_opts.nat->pool_opts.staticport = 1;
4524 no_port_redirspec: redir_host pool_opts {
4529 $$->pool_opts = $2;
4536 | redir_host PORT portstar pool_opts {
4542 $$->pool_opts = $4;
4553 route_redirspec : routespec pool_opts {
4558 $$->pool_opts = $2;
4612 pool_opts : { bzero(&pool_opts, sizeof pool_opts); }
4614 { $$ = pool_opts; }
4616 bzero(&pool_opts, sizeof pool_opts);
4617 $$ = pool_opts;
4626 if (pool_opts.type) {
4630 pool_opts.type = PF_POOL_BITMASK;
4633 if (pool_opts.type) {
4637 pool_opts.type = PF_POOL_RANDOM;
4640 if (pool_opts.type) {
4644 pool_opts.type = PF_POOL_SRCHASH;
4645 pool_opts.key = $2;
4648 if (pool_opts.type) {
4652 pool_opts.type = PF_POOL_ROUNDROBIN;
4655 if (pool_opts.staticport) {
4659 pool_opts.staticport = 1;
4662 if (pool_opts.marker & POM_STICKYADDRESS) {
4666 pool_opts.marker |= POM_STICKYADDRESS;
4667 pool_opts.opts |= PF_POOL_STICKYADDR;
4670 if (pool_opts.marker & POM_ENDPI) {
4674 pool_opts.marker |= POM_ENDPI;
4675 pool_opts.opts |= PF_POOL_ENDPI;
4678 if (pool_opts.mape.offset) {
4682 if (pool_opts.type) {
4703 pool_opts.mape.offset = $2;
4704 pool_opts.mape.psidlen = $4;
4705 pool_opts.mape.psid = $6;
6057 if (rs->pool_opts.staticport) { in apply_rdr_ports()
6062 if (rs->pool_opts.mape.offset) { in apply_rdr_ports()
6084 if (rs->pool_opts.staticport) { in apply_nat_ports()
6096 if (rs->pool_opts.mape.offset) { in apply_nat_ports()
6097 if (rs->pool_opts.staticport) { in apply_nat_ports()
6109 rpool->mape = rs->pool_opts.mape; in apply_nat_ports()
6124 rpool->opts = rs->pool_opts.type; in apply_redirspec()
6152 rpool->opts |= rs->pool_opts.opts; in apply_redirspec()
6154 if (rs->pool_opts.key != NULL) in apply_redirspec()
6155 memcpy(&(rpool->key), rs->pool_opts.key, in apply_redirspec()
6280 (*rdr_redirspec)->pool_opts.staticport = 0; in add_binat_rdr_rule()