Home
last modified time | relevance | path

Searched refs:fr_dsize (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/uts/common/inet/ipf/
H A Dfil.c4412 if (((fp->fr_dsize == 0) && (fp->fr_data != NULL)) ||
4413 ((fp->fr_dsize != 0) && (fp->fr_data == NULL)))
4511 if (fp->fr_dsize != 0) {
4513 KMALLOCS(ptr, void *, fp->fr_dsize);
4516 error = COPYIN(uptr, ptr, fp->fr_dsize);
4522 KFREES(ptr, fp->fr_dsize);
4536 if (fp->fr_dsize == 0)
4538 if (!bpf_validate(ptr, fp->fr_dsize/sizeof(struct bpf_insn))) {
4540 KFREES(fp->fr_data, fp->fr_dsize);
4547 if (fp->fr_dsize != sizeof(fripf_t)) {
[all …]
H A Dip_state.c744 fr->fr_dsize = 0;
H A Dip_nat.c1798 fr->fr_dsize = 0;
/titanic_41/usr/src/cmd/ipf/tools/
H A Dipf_y.y1900 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 Dipfstat.c873 if (fp->fr_data != NULL && fp->fr_dsize > 0)
874 binprint(fp->fr_data, fp->fr_dsize);
929 if (fb.fr_dsize) {
930 data = malloc(fb.fr_dsize);
933 fb.fr_dsize) == -1) {
961 if (fb.fr_data != NULL && fb.fr_dsize > 0)
962 binprint(fb.fr_data, fb.fr_dsize);
H A Dipfcomp.c207 if (fr->fr_dsize > 0) {
213 i = fr->fr_dsize;
1289 if (fr->fr_dsize > 0) {
/titanic_41/usr/src/cmd/ipf/lib/common/
H A Dprintfr.c205 i = fp->fr_dsize / sizeof(*fb);
/titanic_41/usr/src/uts/common/inet/ipf/netinet/
H A Dip_fil.h589 int fr_dsize; member