Home
last modified time | relevance | path

Searched refs:prison_check_ip4 (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/netinet/
H A Draw_ip.c322 prison_check_ip4(inp->inp_cred, &ctx.ip->ip_dst) != 0) { in rip_input()
339 prison_check_ip4(inp->inp_cred, &ctx.ip->ip_dst) != 0) in rip_input()
548 error = prison_check_ip4(inp->inp_cred, &ip->ip_src); in rip_send()
933 error = prison_check_ip4(td->td_ucred, &addr->sin_addr); in rip_bind()
H A Din.c382 prison_check_ip4(cred, &addr->sin_addr) != 0) in in_control_ioctl()
402 if (prison_check_ip4(cred, in in_control_ioctl()
534 prison_check_ip4(cred, &addr->sin_addr) == 0) in in_aifaddr_ioctl()
728 prison_check_ip4(cred, &it->ia_addr.sin_addr) == 0)) in in_difaddr_ioctl()
732 (cred == NULL || prison_check_ip4(cred, in in_difaddr_ioctl()
826 prison_check_ip4(cred, &addr->sin_addr) == 0) { in in_gifaddr_ioctl()
H A Din_jail.c317 prison_check_ip4(const struct ucred *cred, const struct in_addr *ia) in prison_check_ip4() function
H A Dsctp_asconf.c1912 if (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_addr_mgmt_assoc()
2169 if (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_asconf_iterator_stcb()
2455 if (prison_check_ip4(stcb->sctp_ep->ip_inp.inp.inp_cred, in sctp_find_valid_localaddr()
3094 if (prison_check_ip4(stcb->sctp_ep->ip_inp.inp.inp_cred, in sctp_check_address_list_all()
3386 if (prison_check_ip4(stcb->sctp_ep->ip_inp.inp.inp_cred, in sctp_asconf_send_nat_state_update()
H A Din_pcb.c1150 if (prison_check_ip4(cred, &sin->sin_addr) == 0) { in in_pcbladdr()
1188 if (prison_check_ip4(cred, &sin->sin_addr) == 0) { in in_pcbladdr()
1205 if (prison_check_ip4(cred, &sin->sin_addr) == 0) { in in_pcbladdr()
1260 if (prison_check_ip4(cred, in in_pcbladdr()
1372 prison_check_ip4(cred, in in_pcbconnect_setup()
H A Dsctp_output.c2062 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_add_addresses_to_i_ia()
2105 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_add_addresses_to_i_ia()
2480 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_choose_boundspecific_inp()
2618 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_choose_boundspecific_stcb()
2652 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_choose_boundspecific_stcb()
2789 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_select_nth_preferred_addr_from_ifn_boundall()
2897 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_count_num_preferred_boundall()
3105 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_choose_boundall()
3169 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_choose_boundall()
3235 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_choose_boundall()
H A Dsctp_sysctl.c279 if (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_sysctl_copy_out_local_addresses()
H A Dsctp_pcb.c760 if (prison_check_ip4(stcb->sctp_ep->ip_inp.inp.inp_cred, in sctp_does_stcb_own_this_addr()
936 if (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_tcb_special_locate()
1527 if (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_endpoint_probe()
H A Dsctp_usrreq.c1097 if (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_fill_up_addresses_vrf()
5898 if (prison_check_ip4(inp->ip_inp.inp.inp_cred,
H A Dsctputil.c7023 if (prison_check_ip4(stcb->sctp_ep->ip_inp.inp.inp_cred, in sctp_local_addr_count()
/freebsd/sys/sys/
H A Djail.h464 int prison_check_ip4(const struct ucred *, const struct in_addr *);
/freebsd/sys/net/
H A Drtsock.c520 if (prison_check_ip4(cred, &ia) == 0) { in rtm_get_jailed()
/freebsd/sys/kern/
H A Dkern_jail.c3516 error = prison_check_ip4(cred, &sai->sin_addr); in prison_if()