Searched refs:fr_dsize (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | fil.c | 4411 if (((fp->fr_dsize == 0) && (fp->fr_data != NULL)) || 4412 ((fp->fr_dsize != 0) && (fp->fr_data == NULL))) 4510 if (fp->fr_dsize != 0) { 4512 KMALLOCS(ptr, void *, fp->fr_dsize); 4515 error = COPYIN(uptr, ptr, fp->fr_dsize); 4521 KFREES(ptr, fp->fr_dsize); 4535 if (fp->fr_dsize == 0) 4537 if (!bpf_validate(ptr, fp->fr_dsize/sizeof(struct bpf_insn))) { 4539 KFREES(fp->fr_data, fp->fr_dsize); 4546 if (fp->fr_dsize != sizeof(fripf_t)) { [all …]
|
H A D | ip_state.c | 744 fr->fr_dsize = 0;
|
H A D | ip_nat.c | 1798 fr->fr_dsize = 0;
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipf_y.y | 1900 fr->fr_dsize = sizeof(fripf_t); in setipftype() 1930 f->fr_caddr = malloc(f->fr_dsize); in addrule() 1933 bcopy(f2->fr_caddr, f->fr_caddr, f->fr_dsize); in addrule() 1948 f->fr_caddr = malloc(f->fr_dsize); in addrule() 1951 bcopy(f1->fr_caddr, f->fr_caddr, f->fr_dsize); in addrule() 2041 fr->fr_dsize = (i / 4 + 1) * sizeof(*fb); 2062 fr->fr_dsize = bpf.bf_len * sizeof(struct bpf_insn); 2063 fr->fr_data = malloc(fr->fr_dsize); 2066 bcopy((char *)bpf.bf_insns, fr->fr_data, fr->fr_dsize); 2244 binprint(fr->fr_data, fr->fr_dsize);
|
H A D | ipfstat.c | 872 if (fp->fr_data != NULL && fp->fr_dsize > 0) 873 binprint(fp->fr_data, fp->fr_dsize); 928 if (fb.fr_dsize) { 929 data = malloc(fb.fr_dsize); 932 fb.fr_dsize) == -1) { 960 if (fb.fr_data != NULL && fb.fr_dsize > 0) 961 binprint(fb.fr_data, fb.fr_dsize);
|
H A D | ipfcomp.c | 199 if (fr->fr_dsize > 0) { 205 i = fr->fr_dsize; 1278 if (fr->fr_dsize > 0) {
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | printfr.c | 203 i = fp->fr_dsize / sizeof(*fb);
|
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_fil.h | 595 int fr_dsize; member
|