Searched refs:in6p (Results 1 - 13 of 13) sorted by relevance

/freebsd-9.3-release/sys/netinet6/
H A Draw_ip6.c158 register struct inpcb *in6p; local
176 LIST_FOREACH(in6p, &V_ripcb, inp_list) {
178 if ((in6p->inp_vflag & INP_IPV6) == 0)
180 if (in6p->inp_ip_p &&
181 in6p->inp_ip_p != proto)
183 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_laddr) &&
184 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_laddr, &ip6->ip6_dst))
186 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_faddr) &&
187 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_faddr, &ip6->ip6_src))
189 if (jailed_without_vnet(in6p
400 struct inpcb *in6p; local
[all...]
H A Dip6_output.c1471 struct inpcb *in6p = sotoinpcb(so); local
1493 INP_WLOCK(in6p);
1495 in6p->inp_flags2 |= INP_REUSEADDR;
1497 in6p->inp_flags2 &= ~INP_REUSEADDR;
1498 INP_WUNLOCK(in6p);
1502 INP_WLOCK(in6p);
1504 in6p->inp_flags2 |= INP_REUSEPORT;
1506 in6p->inp_flags2 &= ~INP_REUSEPORT;
1507 INP_WUNLOCK(in6p);
1511 INP_WLOCK(in6p);
2159 struct inpcb *in6p = sotoinpcb(so); local
3067 ip6_optlen(struct inpcb *in6p) argument
[all...]
H A Dip6_input.c1423 ip6_savecontrol(struct inpcb *in6p, struct mbuf *m, struct mbuf **mp) argument
1428 mp = ip6_savecontrol_v4(in6p, m, mp, &v4only);
1439 if ((in6p->inp_flags & IN6P_HOPOPTS) != 0) {
1481 IS2292(in6p, IPV6_2292HOPOPTS, IPV6_HOPOPTS),
1491 if ((in6p->inp_flags & (IN6P_RTHDR | IN6P_DSTOPTS)) != 0) {
1552 if (!(in6p->inp_flags & IN6P_DSTOPTS))
1556 IS2292(in6p,
1563 if (!(in6p->inp_flags & IN6P_RTHDR))
1567 IS2292(in6p, IPV6_2292RTHDR, IPV6_RTHDR),
1606 ip6_notify_pmtu(struct inpcb *in6p, struc argument
[all...]
H A Din6_src.c865 in6_selecthlim(struct inpcb *in6p, struct ifnet *ifp) argument
868 if (in6p && in6p->in6p_hops >= 0)
869 return (in6p->in6p_hops);
872 else if (in6p && !IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_faddr)) {
879 ro6.ro_dst.sin6_addr = in6p->in6p_faddr;
880 in6_rtalloc(&ro6, in6p->inp_inc.inc_fibnum);
H A Din6_pcb.c775 struct inpcb *in6p; local
780 LIST_FOREACH(in6p, pcbinfo->ipi_listhead, inp_list) {
781 INP_WLOCK(in6p);
782 im6o = in6p->in6p_moptions;
783 if ((in6p->inp_vflag & INP_IPV6) && im6o != NULL) {
808 INP_WUNLOCK(in6p);
820 in6_losing(struct inpcb *in6p) argument
H A Dicmp6.c1999 struct inpcb *in6p; local
2030 LIST_FOREACH(in6p, &V_ripcb, inp_list) {
2031 if ((in6p->inp_vflag & INP_IPV6) == 0)
2033 if (in6p->inp_ip_p != IPPROTO_ICMPV6)
2035 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_laddr) &&
2036 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_laddr, &ip6->ip6_dst))
2038 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_faddr) &&
2039 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_faddr, &ip6->ip6_src))
2041 INP_RLOCK(in6p);
2043 in6p
[all...]
H A Din6_mcast.c1772 in6p_lookup_mcast_ifp(const struct inpcb *in6p, argument
1778 KASSERT(in6p->inp_vflag & INP_IPV6,
1789 in6p ? in6p->inp_inc.inc_fibnum : RT_DEFAULT_FIB);
/freebsd-9.3-release/contrib/bind9/lib/bind9/
H A Dgetaddresses.c218 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);
/freebsd-9.3-release/usr.bin/netstat/
H A Dinet6.c1121 inet6name(struct in6_addr *in6p) argument
1138 if (!numeric_addr && !IN6_IS_ADDR_UNSPECIFIED(in6p)) {
1139 hp = gethostbyaddr((char *)in6p, sizeof(*in6p), AF_INET6);
1147 if (IN6_IS_ADDR_UNSPECIFIED(in6p))
1153 inet_ntop(AF_INET6, (void *)in6p, ntop_buf,
H A Dsctp.c156 inet6name(struct in6_addr *in6p) argument
173 if (!numeric_addr && !IN6_IS_ADDR_UNSPECIFIED(in6p)) {
174 hp = gethostbyaddr((char *)in6p, sizeof(*in6p), AF_INET6);
182 if (IN6_IS_ADDR_UNSPECIFIED(in6p))
188 inet_ntop(AF_INET6, (void *)in6p, ntop_buf,
/freebsd-9.3-release/lib/libc/resolv/
H A Dres_send.c173 const struct sockaddr_in6 *in6p, *srv6; local
191 in6p = (const struct sockaddr_in6 *)sa;
194 if (srv6->sin6_family == in6p->sin6_family &&
195 srv6->sin6_port == in6p->sin6_port &&
198 srv6->sin6_scope_id == in6p->sin6_scope_id) &&
201 IN6_ARE_ADDR_EQUAL(&srv6->sin6_addr, &in6p->sin6_addr)))
/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-icmp6.c682 struct in6_addr in6, *in6p; local
782 in6p = (struct in6_addr *)(opri + 1);
787 TCHECK2(*in6p, 8);
791 TCHECK(*in6p);
/freebsd-9.3-release/sys/netinet/
H A Dsctp_pcb.c3658 struct in6pcb *in6p; local
3660 in6p = (struct in6pcb *)inp;
3661 ip6_freepcbopts(in6p->in6p_outputopts);

Completed in 218 milliseconds