Searched refs:ip6 (Results 1 - 25 of 215) sorted by relevance

123456789

/freebsd-10.1-release/contrib/tcpdump/
H A Dprint-ip6.c26 "@(#) $Header: /tcpdump/master/tcpdump/print-ip6.c,v 1.52 2007-09-21 07:05:33 hannes Exp $";
46 #include "ip6.h"
53 nextproto6_cksum(const struct ip6_hdr *ip6, const u_int8_t *data, argument
67 ph.ph_src = ip6->ip6_src;
68 ph.ph_dst = ip6->ip6_dst;
86 register const struct ip6_hdr *ip6; local
96 ip6 = (const struct ip6_hdr *)bp;
98 TCHECK(*ip6);
100 (void)ND_PRINT((ndo, "truncated-ip6 %u", length));
107 payload_len = EXTRACT_16BITS(&ip6
[all...]
H A Dprint-frag6.c37 #include "ip6.h"
47 register const struct ip6_hdr *ip6; local
50 ip6 = (const struct ip6_hdr *)bp2;
58 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) -
63 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) -
H A Dprint-tcp.c51 #include "ip6.h"
150 register const struct ip6_hdr *ip6; local
157 ip6 = (struct ip6_hdr *)bp2;
159 ip6 = NULL;
211 if (ip6) {
212 if (ip6->ip6_nxt == IPPROTO_TCP) {
214 ip6addr_string(&ip6->ip6_src),
216 ip6addr_string(&ip6->ip6_dst),
275 if (ip6) {
276 src = &ip6
742 struct ip6_hdr *ip6; local
[all...]
H A Dprint-sunrpc.c66 #include "ip6.h"
93 register const struct ip6_hdr *ip6; local
119 ip6 = (struct ip6_hdr *)bp2;
121 ip6addr_string(&ip6->ip6_src), srcid,
122 ip6addr_string(&ip6->ip6_dst), dstid, length);
/freebsd-10.1-release/etc/rc.d/
H A Drtsold22 sleep $(($(${SYSCTL_N} net.inet6.ip6.dad_count) + 1))
H A Dnetoptions98 ${SYSCTL} net.inet6.ip6.v6only=0 >/dev/null
100 ${SYSCTL} net.inet6.ip6.v6only=1 >/dev/null
106 ${SYSCTL} net.inet6.ip6.use_tempaddr=1 >/dev/null
107 ${SYSCTL} net.inet6.ip6.prefer_tempaddr=1 >/dev/null
112 ${SYSCTL} net.inet6.ip6.no_radr=0 >/dev/null
113 ${SYSCTL} net.inet6.ip6.rfc6204w3=0 >/dev/null
118 ${SYSCTL} net.inet6.ip6.no_radr=1 >/dev/null
119 ${SYSCTL} net.inet6.ip6.rfc6204w3=1 >/dev/null
H A Dfaith24 ${SYSCTL} net.inet6.ip6.keepfaith=1
51 ${SYSCTL} net.inet6.ip6.keepfaith=0
H A Dipfw84 if ! ${SYSCTL} net.inet6.ip6.fw.enable=1 1>/dev/null 2>&1
99 ${SYSCTL} net.inet6.ip6.fw.enable=0
/freebsd-10.1-release/sys/netinet6/
H A Droute6.c48 #include <netinet/ip6.h>
61 struct ip6_hdr *ip6; local
81 ip6 = mtod(m, struct ip6_hdr *);
82 rh = (struct ip6_rthdr *)((caddr_t)ip6 + off);
84 ip6 = mtod(m, struct ip6_hdr *);
105 (caddr_t)&rh->ip6r_type - (caddr_t)ip6);
H A Din6_gif.c61 #include <netinet/ip6.h>
105 struct ip6_hdr *ip6; local
139 struct ip6_hdr *ip6; local
141 if (m->m_len < sizeof(*ip6)) {
142 m = m_pullup(m, sizeof(*ip6));
146 ip6 = mtod(m, struct ip6_hdr *);
147 itos = (ntohl(ip6->ip6_flow) >> 20) & 0xff;
212 ip6 = mtod(m, struct ip6_hdr *);
213 ip6->ip6_flow = 0;
214 ip6
295 struct ip6_hdr *ip6; local
344 struct ip6_hdr *ip6; local
379 gif_validate6(const struct ip6_hdr *ip6, struct gif_softc *sc, struct ifnet *ifp) argument
436 struct ip6_hdr ip6; local
[all...]
H A Dip6_input.c105 #include <netinet/ip6.h>
130 .nh_name = "ip6",
170 TUNABLE_INT_FETCH("net.inet6.ip6.auto_linklocal",
172 TUNABLE_INT_FETCH("net.inet6.ip6.accept_rtadv", &V_ip6_accept_rtadv);
173 TUNABLE_INT_FETCH("net.inet6.ip6.no_radr", &V_ip6_no_radr);
330 struct ip6_hdr *ip6; local
341 ip6 = mtod(m, struct ip6_hdr *);
348 if (ip6->ip6_plen == 0 && *plen == 0) {
359 (caddr_t)&ip6->ip6_plen - (caddr_t)ip6);
406 struct ip6_hdr *ip6; local
1126 struct ip6_hdr *ip6; local
1258 struct ip6_hdr *ip6; local
1305 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); local
1414 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); local
1689 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); local
1728 struct ip6_hdr ip6; local
[all...]
H A Dip6_forward.c64 #include <netinet/ip6.h>
95 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); local
136 IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) ||
137 IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_src)) {
145 ip6_sprintf(ip6bufs, &ip6->ip6_src),
146 ip6_sprintf(ip6bufd, &ip6->ip6_dst),
147 ip6->ip6_nxt,
157 if (ip6->ip6_hlim <= IPV6_HLIMDEC) {
163 ip6->ip6_hlim -= IPV6_HLIMDEC;
334 if ((m != NULL) && (ip6 !
[all...]
H A Dsend.c54 #include <netinet/ip6.h>
115 struct ip6_hdr *ip6; local
143 ip6 = mtod(m, struct ip6_hdr *);
144 icmp6 = (struct icmp6_hdr *)(ip6 + 1);
178 ip6 = mtod(m, struct ip6_hdr *);
179 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst))
185 dst.sin6_addr = ip6->ip6_dst;
189 IP_PROBE(send, NULL, NULL, ip6, ifp, NULL, ip6);
262 struct ip6_hdr *ip6; local
[all...]
H A Din6_cksum.c70 #include <netinet/ip6.h>
84 _in6_cksum_pseudo(struct ip6_hdr *ip6, uint32_t len, uint8_t nxt, uint16_t csum) argument
111 scope = in6_getscope(&ip6->ip6_src);
112 w = (u_int16_t *)&ip6->ip6_src;
119 scope = in6_getscope(&ip6->ip6_dst);
120 w = (u_int16_t *)&ip6->ip6_dst;
130 in6_cksum_pseudo(struct ip6_hdr *ip6, uint32_t len, uint8_t nxt, uint16_t csum) argument
138 sum = _in6_cksum_pseudo(ip6, len, nxt, csum);
154 struct ip6_hdr *ip6; local
190 ip6
[all...]
H A Dnd6_nbr.c70 #include <netinet/ip6.h>
108 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); local
110 struct in6_addr saddr6 = ip6->ip6_src;
111 struct in6_addr daddr6 = ip6->ip6_dst;
129 nd_ns = (struct nd_neighbor_solicit *)((caddr_t)ip6 + off);
137 ip6 = mtod(m, struct ip6_hdr *); /* adjust pointer for safety */
142 if (ip6->ip6_hlim != 255) {
145 ip6->ip6_hlim, ip6_sprintf(ip6bufs, &ip6->ip6_src),
146 ip6_sprintf(ip6bufd, &ip6
389 struct ip6_hdr *ip6; local
609 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); local
960 struct ip6_hdr *ip6; local
[all...]
H A Dudp6_usrreq.c107 #include <netinet/ip6.h>
183 struct ip6_hdr *ip6; local
197 ip6 = mtod(m, struct ip6_hdr *);
199 if (faithprefix_p != NULL && (*faithprefix_p)(&ip6->ip6_dst)) {
207 ip6 = mtod(m, struct ip6_hdr *);
208 uh = (struct udphdr *)((caddr_t)ip6 + off);
223 plen = ntohs(ip6->ip6_plen) - off + sizeof(*ip6);
226 nxt = ip6->ip6_nxt;
258 uh_sum = in6_cksum_pseudo(ip6, ule
518 struct ip6_hdr *ip6; local
645 struct ip6_hdr *ip6; local
[all...]
H A Dfrag6.c53 #include <netinet/ip6.h>
80 static VNET_DEFINE(struct ip6q, ip6q); /* ip6 reassemble queue */
158 struct ip6_hdr *ip6; local
174 ip6 = mtod(m, struct ip6_hdr *);
177 ip6f = (struct ip6_frag *)((caddr_t)ip6 + offset);
198 if (ip6->ip6_plen == 0) {
211 (((ntohs(ip6->ip6_plen) - offset) & 0x7) != 0)) {
250 IN6_ARE_ADDR_EQUAL(&ip6->ip6_src, &q6->ip6q_src) &&
251 IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &q6->ip6q_dst)
297 q6->ip6q_src = ip6
649 struct ip6_hdr *ip6; local
[all...]
/freebsd-10.1-release/contrib/ipfilter/lib/
H A Dipft_tx.c342 int parseipv6(cpp, ip6, ifn, out)
344 ip6_t *ip6;
351 bzero((char *)ip6, MAX(sizeof(*tcp), sizeof(*ic6)) + sizeof(*ip6));
354 ip6->ip6_vfc = 0x60;
371 ip6->ip6_nxt = IPPROTO_TCP;
375 ip6->ip6_nxt = IPPROTO_UDP;
379 ip6->ip6_nxt = IPPROTO_ICMPV6;
383 ip6->ip6_nxt = atoi(*cpp);
386 ip6
[all...]
/freebsd-10.1-release/sys/netinet/
H A Dtcp_lro.c51 #include <netinet/ip6.h>
148 struct ip6_hdr *ip6; local
150 ip6 = (struct ip6_hdr *)l3hdr;
152 cs = ip6->ip6_plen;
156 cx = ntohs(ip6->ip6_plen);
157 cs = in6_cksum_pseudo(ip6, cx, ip6->ip6_nxt, 0);
228 struct ip6_hdr *ip6; local
230 ip6 = le->le_ip6;
231 ip6
310 tcp_lro_rx_ipv6(struct lro_ctrl *lc, struct mbuf *m, struct ip6_hdr *ip6, struct tcphdr **th) argument
374 struct ip6_hdr *ip6 = NULL; /* Keep compiler happy. */ local
[all...]
H A Dtcp_debug.h50 struct ip6_hdr ip6; member in struct:tcp_debug::__anon10797
H A Dtcp_lro.h42 struct ip6_hdr *ip6; member in union:lro_entry::__anon10798
69 #define le_ip6 leip.ip6
H A Din_gif.c64 #include <netinet/ip6.h>
134 struct ip6_hdr *ip6; local
136 if (m->m_len < sizeof(*ip6)) {
137 m = m_pullup(m, sizeof(*ip6));
141 ip6 = mtod(m, struct ip6_hdr *);
142 tos = (ntohl(ip6->ip6_flow) >> 20) & 0xff;
326 struct ip6_hdr *ip6; local
330 if (m->m_len < sizeof(*ip6)) {
331 m = m_pullup(m, sizeof(*ip6));
335 ip6
[all...]
/freebsd-10.1-release/sys/ofed/drivers/net/mlx4/
H A Dutils.c65 #include <netinet/ip6.h>
103 const struct ip6_hdr *ip6; local
111 struct ip6_hdr ip6; member in union:__anon11029
176 ip6 = mlx4_en_gethdr(m, off, sizeof(*ip6), &buf);
177 if (ip6 == NULL)
180 p = hash32_buf(&ip6->ip6_src, sizeof(struct in6_addr), p);
181 p = hash32_buf(&ip6->ip6_dst, sizeof(struct in6_addr), p);
182 flow = ip6->ip6_flow & IPV6_FLOWLABEL_MASK;
/freebsd-10.1-release/contrib/ldns/
H A Dhigher.c33 uint8_t ip6; local
46 ip6 = ldns_resolver_ip6(res); /* we use INET_ANY here, save
84 ldns_resolver_set_ip6(res, ip6);
159 bool ip6; local
166 ip6 = false;
203 /* ip6 */
205 ip6 = true;
211 ip6 = false;
220 if (ip6) {
/freebsd-10.1-release/sys/netipsec/
H A Dxform_ipip.c74 #include <netinet/ip6.h>
163 struct ip6_hdr *ip6 = NULL; local
275 ip6 = (struct ip6_hdr *) ipo;
276 itos = (ntohl(ip6->ip6_flow) >> 20) & 0xff;
278 ip6->ip6_flow &= ~htonl(0xff << 20);
279 ip6->ip6_flow |= htonl((u_int32_t) itos << 20);
300 in6_localip(&ip6->ip6_src) != 0) {
381 struct ip6_hdr *ip6, *ip6o; local
490 ip6 = mtod(m, struct ip6_hdr *);
491 if (IN6_IS_SCOPE_LINKLOCAL(&ip6
[all...]

Completed in 272 milliseconds

123456789