/macosx-10.9.5/xnu-2422.115.4/bsd/netinet6/ |
H A D | udp6_output.c | 146 udp6_output(struct in6pcb *in6p, struct mbuf *m, struct sockaddr *addr6, argument 166 struct socket *so = in6p->in6p_socket; 173 if (flowadv && INP_WAIT_FOR_IF_FEEDBACK(in6p)) { 178 if (in6p->inp_flags & INP_BOUND_IF) { 179 ip6oa.ip6oa_boundif = in6p->inp_boundifp->if_index; 182 if (in6p->inp_flags & INP_NO_IFT_CELLULAR) 192 optp = in6p->in6p_outputopts; 212 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_faddr)) { 226 if ((in6p->in6p_flags & IN6P_IPV6_V6ONLY)) { 245 if (in6_embedscope(&sin6->sin6_addr, sin6, in6p, NUL [all...] |
H A D | raw_ip6.c | 153 struct inpcb *in6p; local 168 LIST_FOREACH(in6p, &ripcb, inp_list) { 169 if ((in6p->in6p_vflag & INP_IPV6) == 0) 171 if (in6p->in6p_ip6_nxt && 172 in6p->in6p_ip6_nxt != proto) 174 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_laddr) && 175 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_laddr, &ip6->ip6_dst)) 177 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_faddr) && 178 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_faddr, &ip6->ip6_src)) 181 if (inp_restricted(in6p, if 348 struct inpcb *in6p; local [all...] |
H A D | udp6_usrreq.c | 245 struct inpcb *in6p; local 341 LIST_FOREACH(in6p, &udb, inp_list) { 346 if ((in6p->inp_vflag & INP_IPV6) == 0) 349 if (inp_restricted(in6p, ifp)) 353 (in6p->in6p_flags & INP_NO_IFT_CELLULAR)) 356 if (in_pcb_checkstate(in6p, WNT_ACQUIRE, 0) == 360 udp_lock(in6p->in6p_socket, 1, 0); 362 if (in_pcb_checkstate(in6p, WNT_RELEASE, 1) == 364 udp_unlock(in6p->in6p_socket, 1, 0); 367 if (in6p [all...] |
H A D | ip6_output.c | 2053 struct inpcb *in6p = sotoinpcb(so); local 2083 error = ip6_pcbopts(&in6p->in6p_outputopts, 2132 in6p->in6p_hops = optval; 2133 if (in6p->inp_vflag & 2135 in6p->inp_ip_ttl = 2142 in6p->inp_flags |= (bit); \ 2144 in6p->inp_flags &= ~(bit); \ 2148 in6p->inp_flags |= IN6P_RFC2292; \ 2150 in6p->inp_flags |= (bit); \ 2152 in6p 2733 struct inpcb *in6p = sotoinpcb(so); local 3872 ip6_optlen(struct in6pcb *in6p) argument [all...] |
H A D | in6_src.c | 1185 in6_selecthlim(struct in6pcb *in6p, struct ifnet *ifp) argument 1187 if (in6p && in6p->in6p_hops >= 0) { 1188 return (in6p->in6p_hops); 1750 struct in6pcb *in6p, struct ifnet **ifpp, struct ip6_pktopts *opt) 1775 if (in6p != NULL && IN6_IS_ADDR_MULTICAST(in6) && 1776 in6p->in6p_moptions != NULL) { 1777 IM6O_LOCK(in6p->in6p_moptions); 1779 in6p->in6p_moptions->im6o_multicast_ifp; 1780 IM6O_UNLOCK(in6p 1749 in6_embedscope(struct in6_addr *in6, const struct sockaddr_in6 *sin6, struct in6pcb *in6p, struct ifnet **ifpp, struct ip6_pktopts *opt) argument [all...] |
H A D | ipsec.c | 1767 ipsec6_set_policy(in6p, optname, request, len, priv) 1768 struct in6pcb *in6p; 1781 if (in6p == NULL || request == NULL) 1796 if (in6p->in6p_sp == NULL) { 1797 error = ipsec_init_policy(in6p->inp_socket, &in6p->in6p_sp); 1805 pcb_sp = &in6p->in6p_sp->sp_in; 1808 pcb_sp = &in6p->in6p_sp->sp_out; 1824 ipsec6_get_policy(in6p, request, len, mp) 1825 struct in6pcb *in6p; [all...] |
H A D | ip6_input.c | 1625 ip6_savecontrol(struct inpcb *in6p, struct mbuf *m, struct mbuf **mp) argument 1632 np = ip6_savecontrol_v4(in6p, m, mp, &v4only); 1640 if ((in6p->inp_flags & IN6P_TCLASS) != 0) { 1661 if ((in6p->inp_flags & IN6P_HOPOPTS) != 0) { 1704 IS2292(in6p, IPV6_2292HOPOPTS, IPV6_HOPOPTS), 1716 if ((in6p->inp_flags & (IN6P_RTHDR | IN6P_DSTOPTS)) != 0) { 1777 if (!(in6p->inp_flags & IN6P_DSTOPTS)) 1781 IS2292(in6p, IPV6_2292DSTOPTS, 1791 if (!in6p->inp_flags & IN6P_RTHDR) 1795 IS2292(in6p, IPV6_2292RTHD 1843 ip6_notify_pmtu(struct inpcb *in6p, struct sockaddr_in6 *dst, u_int32_t *mtu) argument [all...] |
H A D | icmp6.c | 2012 struct in6pcb *in6p; local 2043 LIST_FOREACH(in6p, &ripcb, inp_list) 2045 if ((in6p->inp_vflag & INP_IPV6) == 0) 2047 if (in6p->in6p_ip6_nxt != IPPROTO_ICMPV6) 2049 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_laddr) && 2050 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_laddr, &ip6->ip6_dst)) 2052 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_faddr) && 2053 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_faddr, &ip6->ip6_src)) 2055 if (in6p->in6p_icmp6filt 2057 in6p [all...] |
H A D | in6.c | 4210 struct in6pcb *in6p = sotoin6pcb(so); local 4213 if (in6p == NULL || in6p->inp_state == INPCB_STATE_DEAD) 4234 struct in6pcb *in6p = sotoin6pcb(so); local 4237 if (in6p == NULL || in6p->inp_state == INPCB_STATE_DEAD) 4266 struct in6pcb *in6p = sotoin6pcb(so); local 4276 if (in6p == NULL) { 4286 ifp = in6p->in6p_last_outifp; 4292 if (in6p [all...] |
H A D | in6_pcb.c | 1008 in6_losing(struct inpcb *in6p) argument 1013 if ((rt = in6p->in6p_route.ro_rt) != NULL) { 1017 (struct sockaddr *)&in6p->in6p_route.ro_dst; 1039 ROUTE_RELEASE(&in6p->in6p_route);
|
H A D | in6_mcast.c | 1886 in6p_lookup_mcast_ifp(const struct inpcb *in6p, argument 1893 VERIFY(in6p == NULL || (in6p->inp_vflag & INP_IPV6)); 1898 if (in6p != NULL && (in6p->inp_flags & INP_BOUND_IF)) 1899 ifscope = in6p->inp_boundifp->if_index;
|
/macosx-10.9.5/lsof-52/lsof/dialects/darwin/kmem/ |
H A D | dsock.c | 79 struct in6pcb in6p; local 201 || kread((KA_T)s.so_pcb, (char *)&in6p, sizeof(in6p))) 211 enter_dev_ch(print_kptr((KA_T)(in6p.in6p_ppcb ? in6p.in6p_ppcb 215 ta = (KA_T)in6p.in6p_ppcb; 216 la = (unsigned char *)&in6p.in6p_laddr; 217 lp = (int)ntohs(in6p.in6p_lport); 218 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p.in6p_faddr) 219 || in6p [all...] |
/macosx-10.9.5/bind9-45.100/bind9/lib/bind9/ |
H A D | getaddresses.c | 218 struct in6_addr *in6p; local 219 in6p = (struct in6_addr *)(he->h_addr_list[i]); 220 if (in6p == NULL) 222 isc_sockaddr_fromin6(&addrs[i], in6p, port);
|
/macosx-10.9.5/network_cmds-433/netstat.tproj/ |
H A D | inet6.c | 1159 inet6name(struct in6_addr *in6p) argument 1179 if (!nflag && !IN6_IS_ADDR_UNSPECIFIED(in6p)) { 1180 hp = gethostbyaddr((char *)in6p, sizeof(*in6p), AF_INET6); 1188 if (IN6_IS_ADDR_UNSPECIFIED(in6p)) 1196 sin6.sin6_addr = *in6p; 1198 if (IN6_IS_ADDR_LINKLOCAL(in6p) || 1199 IN6_IS_ADDR_MC_NODELOCAL(in6p) || 1200 IN6_IS_ADDR_MC_LINKLOCAL(in6p)) { 1202 ntohs(*(u_int16_t *)&in6p [all...] |
/macosx-10.9.5/tcpdump-56/tcpdump/ |
H A D | print-icmp6.c | 680 struct in6_addr in6, *in6p; local 768 in6p = (struct in6_addr *)(opri + 1); 773 TCHECK2(*in6p, 8); 777 TCHECK(*in6p);
|
/macosx-10.9.5/libresolv-54/ |
H A D | res_send.c | 382 const struct sockaddr_in6 *in6p, *srv6; local 401 in6p = (const struct sockaddr_in6 *)sa; 405 if (srv6->sin6_family == in6p->sin6_family && 406 srv6->sin6_port == in6p->sin6_port && 408 IN6_ARE_ADDR_EQUAL(&srv6->sin6_addr, &in6p->sin6_addr)))
|