Searched refs:in6p (Results 1 - 9 of 9) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | udp6_output.c | 137 udp6_output(in6p, m, addr6, control, p) 138 struct in6pcb *in6p; 151 struct ip6_pktopts opt, *stickyopt = in6p->in6p_outputopts; 168 in6p->in6p_outputopts = &opt; 186 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_faddr)) { 200 if ((in6p->in6p_flags & IN6P_IPV6_V6ONLY)) { 218 if (in6_embedscope(&sin6->sin6_addr, sin6, in6p, NULL) != 0) { 224 laddr = in6_selectsrc(sin6, in6p->in6p_outputopts, 225 in6p->in6p_moptions, 226 &in6p [all...] |
H A D | udp6_usrreq.c | 136 struct inpcb *in6p, 140 struct ip6_moptions *im6o = in6p->in6p_moptions; 196 register struct inpcb *in6p; local 284 LIST_FOREACH(in6p, &udb, inp_list) { 286 if ((in6p->inp_vflag & INP_IPV6) == 0) 289 if (in_pcb_checkstate(in6p, WNT_ACQUIRE, 0) == WNT_STOPUSING) 292 udp_lock(in6p->in6p_socket, 1, 0); 294 if (in_pcb_checkstate(in6p, WNT_RELEASE, 1) == WNT_STOPUSING) { 295 udp_unlock(in6p->in6p_socket, 1, 0); 298 if (in6p 135 in6_mcmatch( struct inpcb *in6p, register struct in6_addr *ia6, struct ifnet *ifp) argument [all...] |
H A D | raw_ip6.c | 130 register struct inpcb *in6p; local 149 LIST_FOREACH(in6p, &ripcb, inp_list) { 150 if ((in6p->in6p_vflag & INP_IPV6) == 0) 152 if (in6p->in6p_ip6_nxt && 153 in6p->in6p_ip6_nxt != proto) 155 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_laddr) && 156 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_laddr, &ip6->ip6_dst)) 158 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_faddr) && 159 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_faddr, &ip6->ip6_src)) 161 if (in6p 295 struct inpcb *in6p; local [all...] |
H A D | in6_src.c | 336 struct in6pcb *in6p, 339 if (in6p && in6p->in6p_hops >= 0) 340 return(in6p->in6p_hops); 483 struct inpcb *in6p, 487 struct in6pcb *in6p, 516 if (in6p && in6p->in6p_outputopts && 517 (pi = in6p->in6p_outputopts->ip6po_pktinfo) && 521 } else if (in6p 335 in6_selecthlim( struct in6pcb *in6p, struct ifnet *ifp) argument 479 in6_embedscope( struct in6_addr *in6, const struct sockaddr_in6 *sin6, struct inpcb *in6p, struct ifnet **ifpp) argument [all...] |
H A D | ip6_output.c | 1365 struct inpcb *in6p = sotoinpcb(so); local 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 1977 ip6_setmoptions( int optname, struct inpcb* in6p, struct mbuf *m) argument [all...] |
H A D | in6_pcb.c | 703 struct in6pcb *in6p, 706 if (in6p && in6p->in6p_hops >= 0) 707 return(in6p->in6p_hops); 1103 struct in6pcb *in6p; local 1107 for (in6p = head; in6p != NULL; in6p = LIST_NEXT(in6p, inp_list)) { 1108 im6o = in6p [all...] |
H A D | ipsec.c | 1549 ipsec6_set_policy(in6p, optname, request, len, priv) 1550 struct in6pcb *in6p; 1561 if (in6p == NULL || request == NULL) 1567 if (in6p->in6p_sp == NULL) { 1568 error = ipsec_init_policy(in6p->inp_socket, &in6p->in6p_sp); 1576 pcb_sp = &in6p->in6p_sp->sp_in; 1579 pcb_sp = &in6p->in6p_sp->sp_out; 1595 ipsec6_get_policy(in6p, request, len, mp) 1596 struct in6pcb *in6p; [all...] |
H A D | ip6_input.c | 1297 ip6_savecontrol(in6p, mp, ip6, m) 1298 struct inpcb *in6p; 1306 if ((in6p->in6p_socket->so_options & SO_TIMESTAMP) != 0) { 1323 if ((in6p->in6p_flags & IN6P_PKTINFO) != 0) { 1338 if ((in6p->in6p_flags & IN6P_HOPLIMIT) != 0) { 1353 if ((in6p->in6p_flags & IN6P_HOPOPTS) != 0) { 1405 if ((in6p->in6p_flags & (IN6P_DSTOPTS | IN6P_RTHDRDSTOPTS)) != 0) { 1435 if ((in6p->in6p_flags & 1498 if ((in6p->in6p_flags & IN6P_DSTOPTS) == 0) 1508 if (!in6p [all...] |
H A D | icmp6.c | 1910 struct in6pcb *in6p; local 1934 LIST_FOREACH(in6p, &ripcb, inp_list) 1936 if ((in6p->inp_vflag & INP_IPV6) == 0) 1939 if (!(in6p->in6p_flags & INP_IPV6)) 1942 if (in6p->in6p_ip6_nxt != IPPROTO_ICMPV6) 1944 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_laddr) && 1945 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_laddr, &ip6->ip6_dst)) 1947 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_faddr) && 1948 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_faddr, &ip6->ip6_src)) 1950 if (in6p [all...] |
Completed in 93 milliseconds