Lines Matching refs:cfg_nat
61 struct cfg_nat *ptr;
109 del_redir_spool_cfg(struct cfg_nat *n, struct redir_chain *head)
144 add_redir_spool_cfg(char *buf, struct cfg_nat *ptr)
214 ipfw_nat(struct ip_fw_args *args, struct cfg_nat *t, struct mbuf *m)
381 static struct cfg_nat *
384 struct cfg_nat *res;
396 struct cfg_nat *cfg, *ptr;
404 if ((error = sooptcopyin(sopt, buf, len, sizeof(struct cfg_nat))) != 0)
407 cfg = (struct cfg_nat *)buf;
422 ptr = malloc(sizeof(struct cfg_nat), M_IPFW, M_WAITOK | M_ZERO);
454 add_redir_spool_cfg(&buf[(sizeof(struct cfg_nat))], ptr);
473 struct cfg_nat *ptr;
498 struct cfg_nat *n;
513 len += sizeof(struct cfg_nat);
535 bcopy(n, &data[len], sizeof(struct cfg_nat));
536 len += sizeof(struct cfg_nat);
558 struct cfg_nat *ptr;
604 struct cfg_nat *ptr, *ptr_temp;