Home
last modified time | relevance | path

Searched refs:ip_inp (Results 1 – 10 of 10) sorted by relevance

/external/usrsctp/usrsctplib/netinet6/
Dsctp6_usrreq.c809 inp->ip_inp.inp.inp_vflag |= INP_IPV6;
814 inp->ip_inp.inp.in6p_hops = -1; /* use kernel default */
815 inp->ip_inp.inp.in6p_cksum = -1; /* just to be sure */
823 inp->ip_inp.inp.inp_ip_ttl = MODULE_GLOBAL(ip_defttl);
892 vflagsav = inp->ip_inp.inp.inp_vflag;
893 inp->ip_inp.inp.inp_vflag &= ~INP_IPV4;
894 inp->ip_inp.inp.inp_vflag |= INP_IPV6;
906 inp->ip_inp.inp.inp_vflag |= INP_IPV4;
907 inp->ip_inp.inp.inp_vflag &= ~INP_IPV6;
923 inp->ip_inp.inp.inp_vflag |= INP_IPV4;
[all …]
/external/usrsctp/usrsctplib/netinet/
Dsctp_pcb.c994 if (prison_check_ip4(stcb->sctp_ep->ip_inp.inp.inp_cred,
1016 if (prison_check_ip6(stcb->sctp_ep->ip_inp.inp.inp_cred,
1228 if (prison_check_ip4(inp->ip_inp.inp.inp_cred,
1242 if (prison_check_ip6(inp->ip_inp.inp.inp_cred,
1962 if (prison_check_ip4(inp->ip_inp.inp.inp_cred,
1978 if (prison_check_ip6(inp->ip_inp.inp.inp_cred,
2801 inp->ip_inp.inp.inp_state = INPCB_STATE_INUSE;
2805 inp->ip_inp.inp.inp_socket = so;
2807 inp->ip_inp.inp.inp_cred = crhold(so->so_cred);
2813 inp->ip_inp.inp.inp_flags |= IN6P_AUTOFLOWLABEL;
[all …]
Dsctp_lock_userspace.h217 #define SCTP_INP_SO(sctpinp) (sctpinp)->ip_inp.inp.inp_socket
Dsctp_asconf.c1949 if (prison_check_ip6(inp->ip_inp.inp.inp_cred, in sctp_addr_mgmt_assoc()
1959 if (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_addr_mgmt_assoc()
2188 if (prison_check_ip6(inp->ip_inp.inp.inp_cred, in sctp_asconf_iterator_stcb()
2222 if (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_asconf_iterator_stcb()
2512 if (prison_check_ip4(stcb->sctp_ep->ip_inp.inp.inp_cred, in sctp_find_valid_localaddr()
2546 if (prison_check_ip6(stcb->sctp_ep->ip_inp.inp.inp_cred, in sctp_find_valid_localaddr()
3140 if (prison_check_ip4(stcb->sctp_ep->ip_inp.inp.inp_cred, in sctp_check_address_list_all()
3156 if (prison_check_ip6(stcb->sctp_ep->ip_inp.inp.inp_cred, in sctp_check_address_list_all()
3466 if (prison_check_ip4(stcb->sctp_ep->ip_inp.inp.inp_cred, in sctp_asconf_send_nat_state_update()
3483 if (prison_check_ip6(stcb->sctp_ep->ip_inp.inp.inp_cred, in sctp_asconf_send_nat_state_update()
Dsctp_pcb.h437 #define sctp_lport ip_inp.inp.inp_lport
458 } ip_inp; member
Dsctp_output.c2109 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_add_addresses_to_i_ia()
2116 (prison_check_ip6(inp->ip_inp.inp.inp_cred, in sctp_add_addresses_to_i_ia()
2159 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_add_addresses_to_i_ia()
2166 (prison_check_ip6(inp->ip_inp.inp.inp_cred, in sctp_add_addresses_to_i_ia()
2547 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_choose_boundspecific_inp()
2554 (prison_check_ip6(inp->ip_inp.inp.inp_cred, in sctp_choose_boundspecific_inp()
2689 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_choose_boundspecific_stcb()
2696 (prison_check_ip6(inp->ip_inp.inp.inp_cred, in sctp_choose_boundspecific_stcb()
2725 (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_choose_boundspecific_stcb()
2732 (prison_check_ip6(inp->ip_inp.inp.inp_cred, in sctp_choose_boundspecific_stcb()
[all …]
Dsctp_usrreq.c727 struct inpcb *ip_inp; local
751 ip_inp = &inp->ip_inp.inp;
752 ip_inp->inp_vflag |= INP_IPV4;
753 ip_inp->inp_ip_ttl = MODULE_GLOBAL(ip_defttl);
807 struct inpcb *ip_inp; local
829 ip_inp = &inp->ip_inp.inp;
830 ip_inp->inp_vflag |= INP_CONN;
831 ip_inp->inp_ip_ttl = MODULE_GLOBAL(ip_defttl);
1643 if (prison_check_ip4(inp->ip_inp.inp.inp_cred,
1695 if (prison_check_ip6(inp->ip_inp.inp.inp_cred,
[all …]
Dsctp_os_userspace.h985 #define SCTP_IPV6_V6ONLY(sctp_inpcb) ((sctp_inpcb)->ip_inp.inp.inp_flags & IN6P_IPV6_V6ONLY)
Dsctp_sysctl.c333 if (prison_check_ip4(inp->ip_inp.inp.inp_cred, in sctp_sysctl_copy_out_local_addresses()
354 if (prison_check_ip6(inp->ip_inp.inp.inp_cred, in sctp_sysctl_copy_out_local_addresses()
Dsctputil.c1198 if (inp->ip_inp.inp.inp_flags & IN6P_AUTOFLOWLABEL) { in sctp_init_asoc()
7997 if (prison_check_ip4(stcb->sctp_ep->ip_inp.inp.inp_cred,
8026 if (prison_check_ip6(stcb->sctp_ep->ip_inp.inp.inp_cred,