Searched refs:ip6 (Results 26 - 50 of 58) sorted by relevance

123

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dkpi_ipfilter.c46 #include <netinet/ip6.h>
336 struct ip6_hdr *ip6; local
347 ip6 = (struct ip6_hdr*)m_mtod(m);
374 sin6->sin6_addr = ip6->ip6_dst;
378 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst)) {
380 sin6->sin6_scope_id = ntohs(ip6->ip6_dst.s6_addr16[1]);
381 ip6->ip6_dst.s6_addr16[1] = 0;
H A Dip_encap.c69 * mobile-ip6 (uses RFC2473)
108 #include <netinet/ip6.h>
267 struct ip6_hdr *ip6; local
274 ip6 = mtod(m, struct ip6_hdr *);
275 proto = ip6->ip6_nxt;
280 s.sin6_addr = ip6->ip6_src;
284 d.sin6_addr = ip6->ip6_dst;
H A Dip_ecn.c72 #include <netinet/ip6.h>
H A Dudp_usrreq.c86 #include <netinet/ip6.h>
196 static void ip_2_ip6_hdr(struct ip6_hdr *ip6, struct ip *ip);
693 ip_2_ip6_hdr(ip6, ip)
694 struct ip6_hdr *ip6;
697 bzero(ip6, sizeof(*ip6));
699 ip6->ip6_vfc = IPV6_VERSION;
700 ip6->ip6_plen = ip->ip_len;
701 ip6->ip6_nxt = ip->ip_p;
702 ip6
[all...]
H A Dtcp_input.c97 #include <netinet/ip6.h>
510 struct ip6_hdr *ip6; local
512 ip6 = mtod(m, struct ip6_hdr *);
514 (caddr_t)&ip6->ip6_dst - (caddr_t)ip6);
579 struct ip6_hdr *ip6 = NULL; local
599 ip6 = mtod(m, struct ip6_hdr *);
600 tlen = sizeof(*ip6) + ntohs(ip6->ip6_plen) - off0;
605 th = (struct tcphdr *)((caddr_t)ip6
[all...]
H A Dtcp_output.c94 #include <netinet/ip6.h>
224 struct ip6_hdr *ip6 = NULL; local
1207 ip6 = mtod(m, struct ip6_hdr *);
1208 th = (struct tcphdr *)(ip6 + 1);
1209 tcp_fillheaders(tp, ip6, th);
1423 ip6->ip6_hlim = in6_selecthlim(tp->t_inpcb,
H A Dtcp_debug.c87 #include <netinet/ip6.h>
H A Dtcp_sack.c86 #include <netinet/ip6.h>
H A Dtcp_usrreq.c83 #include <netinet/ip6.h>
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dipcomp_input.c65 #include <netinet/ip6.h>
242 struct ip6_hdr *ip6; local
264 ip6 = mtod(m, struct ip6_hdr *);
270 sav = key_allocsa(AF_INET6, (caddr_t)&ip6->ip6_src,
271 (caddr_t)&ip6->ip6_dst, IPPROTO_IPCOMP, htonl(cpi));
H A Dipcomp_output.c64 #include <netinet/ip6.h>
247 struct ip6_hdr *ip6 = NULL; local
265 ip6 = mtod(m, struct ip6_hdr *);
266 hlen = sizeof(*ip6);
H A Dnd6_rtr.c84 #include <netinet/ip6.h>
144 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); local
146 struct in6_addr saddr6 = ip6->ip6_src;
148 struct in6_addr daddr6 = ip6->ip6_dst;
165 if (ip6->ip6_hlim != 255) {
168 ip6->ip6_hlim, ip6_sprintf(&ip6->ip6_src),
169 ip6_sprintf(&ip6->ip6_dst), if_name(ifp)));
182 nd_rs = (struct nd_router_solicit *)((caddr_t)ip6 + off);
239 struct ip6_hdr *ip6 local
[all...]
H A Dah_output.c62 #include <netinet/ip6.h>
387 struct ip6_hdr *ip6; local
432 ip6 = mtod(m, struct ip6_hdr *);
433 ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(struct ip6_hdr));
H A Desp_output.c62 #include <netinet/ip6.h>
311 struct ip6_hdr *ip6 = NULL; local
356 ip6 = mtod(m, struct ip6_hdr *);
357 hlen = sizeof(*ip6);
H A Din6_proto.c89 #include <netinet/ip6.h>
427 SYSCTL_NODE(_net_inet6, IPPROTO_IPV6, ip6, CTLFLAG_RW|CTLFLAG_LOCKED, 0, "IP6");
435 /* net.inet6.ip6 */
H A Din6_rmx.c121 #include <netinet/ip6.h>
H A Din6_src.c90 #include <netinet/ip6.h>
H A Dnd6.c68 #include <netinet/ip6.h>
2137 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); local
2139 if ((IN6_IS_ADDR_LOOPBACK(&ip6->ip6_src) ||
2140 IN6_IS_ADDR_LOOPBACK(&ip6->ip6_dst))) {
H A Desp_core.c55 #include <netinet/ip6.h>
H A Din6_ifattach.c83 #include <netinet/ip6.h>
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dif_dummy.c101 #include <netinet6/ip6.h>
H A Dif_loop.c99 #include <netinet/ip6.h>
H A Ddlil.c1198 #include <netinet/ip6.h>
1204 struct ip6_hdr *ip6; local
1225 ip6 = mtod(m, struct ip6_hdr *);
1226 if (ip6->ip6_nxt == IPPROTO_TCP)
1228 else if (ip6->ip6_nxt == IPPROTO_UDP)
H A Dif_gif.c97 #include <netinet/ip6.h>
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Duipc_mbuf2.c110 #include <netinet/ip6.h>

Completed in 118 milliseconds

123