Home
last modified time | relevance | path

Searched refs:PR_IP4 (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/netinet/
H A Din_jail.c127 if (!(pr->pr_flags & PR_IP4)) in prison_get_ip4()
130 if (!(pr->pr_flags & PR_IP4)) { in prison_get_ip4()
225 if (!(pr->pr_flags & PR_IP4)) in prison_local_ip4()
228 if (!(pr->pr_flags & PR_IP4)) { in prison_local_ip4()
274 if (!(pr->pr_flags & PR_IP4)) in prison_remote_ip4()
277 if (!(pr->pr_flags & PR_IP4)) { in prison_remote_ip4()
310 if (!(pr->pr_flags & PR_IP4)) in prison_check_ip4_locked()
326 if (!(pr->pr_flags & PR_IP4)) in prison_check_ip4()
329 if (!(pr->pr_flags & PR_IP4)) { in prison_check_ip4()
H A Din_pcb.c1120 if (!prison_flag(cred, PR_IP4)) { in in_pcbladdr()
1161 if (!prison_flag(cred, PR_IP4)) { in in_pcbladdr()
1222 if (!prison_flag(cred, PR_IP4)) { in in_pcbladdr()
2073 injail = prison_flag(grp->il_cred, PR_IP4) != 0; in in_pcblookup_lbgroup()
2246 injail = prison_flag(inp->inp_cred, PR_IP4) != 0; in in_pcblookup_hash_wild_locked()
2473 injail = in_pcbjailed(inp, PR_IP4); in _in_pcbinshash_wild()
2476 if (!in_pcbjailed(last, PR_IP4)) in _in_pcbinshash_wild()
2484 !in_pcbjailed(CK_LIST_FIRST(pcbhash), PR_IP4)) { in _in_pcbinshash_wild()
H A Dudp_usrreq.c1319 if (prison_flag(td->td_ucred, PR_IP4)) in udp_send()
/freebsd/sys/sys/
H A Djail.h231 #define PR_IP4 0x02000000 /* IPv4 restricted or disabled */ macro
/freebsd/sys/kern/
H A Dkern_jail.c1651 pr->pr_flags |= PR_IP4 | PR_IP4_USER; in kern_jail_set()
1653 pr->pr_flags |= ppr->pr_flags & PR_IP4; in kern_jail_set()
1772 if ((ppr->pr_flags & PR_IP4) && in kern_jail_set()
1866 pr->pr_flags |= PR_IP4; in kern_jail_set()
3451 if (pr->pr_flags & PR_IP4) in prison_check_af()
3454 if ((pr->pr_flags & PR_IP4) && in prison_check_af()