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

/freebsd-11-stable/sys/netinet6/
H A Draw_ip6.c162 struct inpcb *in6p; local
174 LIST_FOREACH(in6p, &V_ripcb, inp_list) {
176 if ((in6p->inp_vflag & INP_IPV6) == 0)
178 if (in6p->inp_ip_p &&
179 in6p->inp_ip_p != proto)
181 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_laddr) &&
182 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_laddr, &ip6->ip6_dst))
184 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_faddr) &&
185 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_faddr, &ip6->ip6_src))
187 if (jailed_without_vnet(in6p
393 struct inpcb *in6p; local
[all...]
H A Dip6_output.c1431 struct inpcb *in6p = sotoinpcb(so); local
1466 INP_WLOCK(in6p);
1468 in6p->inp_flags2 |= INP_REUSEADDR;
1470 in6p->inp_flags2 &= ~INP_REUSEADDR;
1471 INP_WUNLOCK(in6p);
1475 INP_WLOCK(in6p);
1477 in6p->inp_flags2 |= INP_REUSEPORT;
1479 in6p->inp_flags2 &= ~INP_REUSEPORT;
1480 INP_WUNLOCK(in6p);
1484 INP_WLOCK(in6p);
2175 struct inpcb *in6p = sotoinpcb(so); local
3099 ip6_optlen(struct inpcb *in6p) argument
[all...]
H A Din6_pcb.c783 struct inpcb *in6p; local
788 LIST_FOREACH(in6p, pcbinfo->ipi_listhead, inp_list) {
789 INP_WLOCK(in6p);
790 im6o = in6p->in6p_moptions;
791 if ((in6p->inp_vflag & INP_IPV6) && im6o != NULL) {
816 INP_WUNLOCK(in6p);
828 in6_losing(struct inpcb *in6p) argument
831 if (in6p->inp_route6.ro_rt) {
832 RTFREE(in6p->inp_route6.ro_rt);
833 in6p
[all...]
H A Dip6_input.c1356 ip6_savecontrol(struct inpcb *in6p, struct mbuf *m, struct mbuf **mp) argument
1361 mp = ip6_savecontrol_v4(in6p, m, mp, &v4only);
1372 if ((in6p->inp_flags & IN6P_HOPOPTS) != 0) {
1414 IS2292(in6p, IPV6_2292HOPOPTS, IPV6_HOPOPTS),
1424 if ((in6p->inp_flags & (IN6P_RTHDR | IN6P_DSTOPTS)) != 0) {
1485 if (!(in6p->inp_flags & IN6P_DSTOPTS))
1489 IS2292(in6p,
1496 if (!(in6p->inp_flags & IN6P_RTHDR))
1500 IS2292(in6p, IPV6_2292RTHDR, IPV6_RTHDR),
1536 if (in6p
[all...]
H A Din6_src.c935 in6_selecthlim(struct inpcb *in6p, struct ifnet *ifp) argument
938 if (in6p && in6p->in6p_hops >= 0)
939 return (in6p->in6p_hops);
942 else if (in6p && !IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_faddr)) {
948 fibnum = in6p->inp_inc.inc_fibnum;
949 in6_splitscope(&in6p->in6p_faddr, &dst, &scopeid);
H A Dicmp6.c1894 struct inpcb *in6p; local
1925 LIST_FOREACH(in6p, &V_ripcb, inp_list) {
1926 if ((in6p->inp_vflag & INP_IPV6) == 0)
1928 if (in6p->inp_ip_p != IPPROTO_ICMPV6)
1930 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_laddr) &&
1931 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_laddr, &ip6->ip6_dst))
1933 if (!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_faddr) &&
1934 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_faddr, &ip6->ip6_src))
1936 INP_RLOCK(in6p);
1938 in6p
[all...]
H A Din6_mcast.c1774 in6p_lookup_mcast_ifp(const struct inpcb *in6p, argument
1782 KASSERT(in6p->inp_vflag & INP_IPV6,
1788 fibnum = in6p ? in6p->inp_inc.inc_fibnum : RT_DEFAULT_FIB;
/freebsd-11-stable/lib/libc/resolv/
H A Dres_send.c174 const struct sockaddr_in6 *in6p, *srv6; local
192 in6p = (const struct sockaddr_in6 *)sa;
195 if (srv6->sin6_family == in6p->sin6_family &&
196 srv6->sin6_port == in6p->sin6_port &&
199 srv6->sin6_scope_id == in6p->sin6_scope_id) &&
202 IN6_ARE_ADDR_EQUAL(&srv6->sin6_addr, &in6p->sin6_addr)))
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-icmp6.c1255 const struct in6_addr *in6p; local
1352 in6p = (const struct in6_addr *)(opri + 1);
1357 ND_TCHECK2(*in6p, 8);
1361 ND_TCHECK(*in6p);
/freebsd-11-stable/sys/netinet/
H A Dsctp_pcb.c3643 struct in6pcb *in6p; local
3645 in6p = (struct in6pcb *)inp;
3646 ip6_freepcbopts(in6p->in6p_outputopts);

Completed in 183 milliseconds