• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/

Lines Matching defs:in6p

1365 	struct inpcb *in6p = sotoinpcb(so);
1403 error = ip6_pcbopts(&in6p->in6p_outputopts,
1442 in6p->in6p_hops = optval;
1444 if ((in6p->in6p_vflag &
1446 in6p->inp_ip_ttl = optval;
1452 in6p->in6p_flags |= (bit); \
1454 in6p->in6p_flags &= ~(bit); \
1456 #define OPTBIT(bit) (in6p->in6p_flags & (bit) ? 1 : 0)
1459 in6p->in6p_cksum = optval;
1472 if (in6p->in6p_lport ||
1473 !IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_laddr))
1480 in6p->in6p_vflag &= ~INP_IPV4;
1482 in6p->in6p_vflag |= INP_IPV4;
1549 error = ip6_setmoptions(sopt->sopt_name, in6p, m);
1562 in6p->in6p_flags &= ~(IN6P_LOWPORT);
1563 in6p->in6p_flags &= ~(IN6P_HIGHPORT);
1567 in6p->in6p_flags &= ~(IN6P_LOWPORT);
1568 in6p->in6p_flags |= IN6P_HIGHPORT;
1572 in6p->in6p_flags &= ~(IN6P_HIGHPORT);
1573 in6p->in6p_flags |= IN6P_LOWPORT;
1601 error = ipsec6_set_policy(in6p, optname, req,
1632 if (in6p->in6p_options) {
1634 m = m_copym(in6p->in6p_options,
1652 optval = in6p->in6p_hops;
1656 optval = in6p->in6p_cksum;
1670 flags = in6p->in6p_flags;
1726 in6p->in6p_moptions, &m);
1756 error = ipsec6_get_policy(in6p, req, len, mp);
1979 struct inpcb* in6p,
1986 struct ip6_moptions **im6op = &in6p->in6p_moptions;
2010 if (in6p->inp_moptions == NULL) {
2016 error = ip_createmoptions(&in6p->inp_moptions);
2020 imo = in6p->inp_moptions;
2344 in6p->inp_moptions = 0;
2744 ip6_optlen(in6p)
2745 struct in6pcb *in6p;
2749 if (!in6p->in6p_outputopts)
2756 len += elen(in6p->in6p_outputopts->ip6po_hbh);
2757 if (in6p->in6p_outputopts->ip6po_rthdr)
2759 len += elen(in6p->in6p_outputopts->ip6po_dest1);
2760 len += elen(in6p->in6p_outputopts->ip6po_rthdr);
2761 len += elen(in6p->in6p_outputopts->ip6po_dest2);