Lines Matching defs:inp
2737 struct inpcb *inp = sotoinpcb(so);
2763 if (inp->in6p_icmp6filt == NULL) {
2767 error = sooptcopyin(sopt, inp->in6p_icmp6filt, optlen,
2782 if (inp->in6p_icmp6filt == NULL) {
2786 error = sooptcopyout(sopt, inp->in6p_icmp6filt,
2859 struct inpcb *inp = sotoinpcb(so);
2877 bcopy(&inp->in6p_faddr, &tmp.sin6_addr,
2926 struct inpcb *inp;
2929 inp = sotoinpcb(so);
2930 if (inp)
2942 inp = (struct inpcb *)so->so_pcb;
2943 inp->inp_vflag |= INP_IPV6;
2944 inp->in6p_ip6_nxt = IPPROTO_ICMPV6;
2945 inp->in6p_hops = -1; /* use kernel default */
2946 inp->in6p_cksum = -1;
2947 MALLOC(inp->in6p_icmp6filt, struct icmp6_filter *,
2949 if (inp->in6p_icmp6filt == NULL)
2951 ICMP6_FILTER_SETPASSALL(inp->in6p_icmp6filt);