Home
last modified time | relevance | path

Searched refs:ip6 (Results 1 – 25 of 220) sorted by relevance

123456789

/netbsd/tests/ipf/expected/
H A Dn5_61 > zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:0 > 10:1:1:0:0:0:0:2
2 > zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:2 > 10:1:1:0:0:0:0:2
3 > zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
6 > zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:1 > 10:1:2:0:0:0:0:1
7 > zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:2 > 10:1:2:0:0:0:0:1
8 < zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
9 < zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
10 < zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:1 > 10:0:0:0:0:2:1:1
11 < zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:2 > 10:0:0:0:0:2:1:1
12 < zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:3 > 10:1:1:0:0:0:0:1
[all …]
H A Dn1_61 > zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:0 > 10:1:1:0:0:0:0:2
2 > zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:2 > 10:1:1:0:0:0:0:2
3 > zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
6 > zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:1 > 10:1:2:0:0:0:0:1
7 > zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:2 > 10:1:2:0:0:0:0:1
8 < zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
9 < zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
10 < zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:1 > 10:0:0:0:0:2:1:1
11 < zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:2 > 10:0:0:0:0:2:1:1
12 < zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:3 > 10:1:1:0:0:0:0:1
[all …]
H A Dn2_61 > zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,10000 > 10:1:1:0:0:0:0:1,1025
2 > zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,10001 > 10:1:1:0:0:0:0:2,1025
3 > zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:0 > 10:1:1:0:0:0:0:2
4 > zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:2:0:0:0:0:1
13 < zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
15 < zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
46 > zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:0 > 10:1:1:0:0:0:0:2
47 > zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:2:0:0:0:0:1
56 < zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
58 < zx0 ip6/0 1 0 41 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
[all …]
H A Dn6_61 < zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:0:0:0:0:2:2:1,10023
2 < zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:2,23
3 < zx0 ip6/0 20 0 6 10:3:0:0:0:0:0:1,12345 > 10:1:2:0:0:0:0:2,23
4 < zx0 ip6/0 20 0 6 10:3:0:0:0:0:0:1,12345 > 10:0:0:0:0:2:2:2,23
5 < zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:0:0:0:0:2:2:1,10023
6 < zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:1,53
7 < zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:1,53
8 < zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:2,12345 > 10:1:0:0:0:0:0:0,23
9 < zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:0:0:0:0:0:0,23
10 < zx0 ip6/0 8 0 17 10:0:0:0:0:2:2:2,12345 > 10:1:1:0:0:0:0:0,53
[all …]
H A Dn11_61 > zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:0 > 10:1:1:0:0:0:0:2
2 > zx0 ip6/0 1 0 255 1:0:0:0:0:6:7:8 > 10:1:1:0:0:0:0:2
3 > zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
4 > zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:1 > 10:1:2:0:0:0:0:1
5 > zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:2 > 10:1:2:0:0:0:0:1
6 < zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:1 > 10:1:1:0:0:0:0:2
7 < zx0 ip6/0 1 0 255 10:1:1:0:0:0:0:2 > 10:1:1:0:0:0:0:1
8 < zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:1 > 10:0:0:0:0:2:1:1
9 < zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:2 > 10:0:0:0:0:2:1:1
10 < zx0 ip6/0 1 0 255 10:0:0:0:0:2:2:3 > 10:1:1:0:0:0:0:1
[all …]
H A Dn4_61 < zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:0:0:0:0:2:2:1,10023
2 > zx0 ip6/0 20 0 6 10:1:1:0:0:0:0:1,23 > 10:3:3:0:0:0:0:3,12345
3 < zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:1,53
4 > zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,10053 > 10:3:3:0:0:0:0:3,12345
5 < zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12346 > 10:1:0:0:0:0:0:0,23
6 > zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,10023 > 10:3:3:0:0:0:0:3,12346
7 < zx0 ip6/0 8 0 17 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
8 > zx0 ip6/0 8 0 17 10:0:0:0:0:2:2:1,10053 > 10:3:3:0:0:0:0:3,12345
9 < zx0 ip6/0 20 0 6 10:3:3:0:0:0:0:3,12345 > 10:1:1:0:0:0:0:0,53
10 > zx0 ip6/0 20 0 6 10:0:0:0:0:2:2:1,53 > 10:3:3:0:0:0:0:3,12345
[all …]
H A Dn7_61 < zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1230 > 10:1:1:0:0:0:0:1,22
2 < zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1231 > 10:0:0:0:0:2:2:1,10023
3 < zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1232 > 10:0:0:0:0:2:2:1,10050
4 < zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1233 > 10:0:0:0:0:2:2:1,10079
5 < zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1234 > 10:1:1:0:0:0:0:1,80
6 < zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1235 > 10:1:1:0:0:0:0:2,80
7 < zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1236 > 10:1:1:0:0:0:0:3,80
8 < zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1237 > 10:1:1:0:0:0:0:4,80
9 < zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1238 > 10:1:1:0:0:0:0:4,80
33 < zx0 ip6/0 20 0 6 10:0:0:0:0:2:3:1,1230 > 10:1:1:0:0:0:0:1,22
[all …]
/netbsd/external/bsd/tcpdump/dist/
H A Dprint-ip6.c53 const struct ip6_hdr *ip6) in ip6_finddst() argument
64 cp = (const u_char *)ip6; in ip6_finddst()
66 nh = ip6->ip6_nxt; in ip6_finddst()
67 dst_addr = &ip6->ip6_dst; in ip6_finddst()
184 switch (ip6->ip6_nxt) { in nextproto6_cksum()
221 register const struct ip6_hdr *ip6; in ip6_print() local
231 ip6 = (const struct ip6_hdr *)bp; in ip6_print()
233 ND_TCHECK(*ip6); in ip6_print()
242 if (IP6_VERSION(ip6) != 6) { in ip6_print()
284 cp = (const u_char *)ip6; in ip6_print()
[all …]
/netbsd/external/bsd/ipf/dist/lib/
H A Dipft_tx.c342 ip6_t *ip6;
349 bzero((char *)ip6, MAX(sizeof(*tcp), sizeof(*ic6)) + sizeof(*ip6));
352 ip6->ip6_vfc = 0x60;
389 switch (ip6->ip6_nxt)
404 if (ip6->ip6_nxt == IPPROTO_TCP || ip6->ip6_nxt == IPPROTO_UDP) {
429 if (ip6->ip6_nxt == IPPROTO_TCP || ip6->ip6_nxt == IPPROTO_UDP) {
491 if (ip6->ip6_nxt == IPPROTO_TCP || ip6->ip6_nxt == IPPROTO_UDP) {
492 bcopy((char *)tcp, (char *)ip6 + sizeof(*ip6),
495 bcopy((char *)ic6, (char *)ip6 + sizeof(*ip6),
503 ip6->ip6_plen++;
[all …]
/netbsd/sys/netinet6/
H A Din6_gif.c92 struct ip6_hdr *ip6; in in6_gif_output() local
159 ip6->ip6_flow = 0; in in6_gif_output()
165 ip6->ip6_nxt = proto; in in6_gif_output()
263 struct ip6_hdr *ip6; in in6_gif_input() local
301 otos = ip6->ip6_flow; in in6_gif_input()
407 struct ip6_hdr ip6; in gif_encapcheck6() local
412 m_copydata(m, 0, sizeof(ip6), (void *)&ip6); in gif_encapcheck6()
471 struct ip6_hdr *ip6; in in6_gif_ctlinput() local
491 ip6 = ip6cp->ip6c_ip6; in in6_gif_ctlinput()
493 ip6 = NULL; in in6_gif_ctlinput()
[all …]
H A Dip6_forward.c104 ip6->ip6_nxt, reason); in ip6_cantforward()
148 ip6_cantforward(ip6, rcvif, NULL, in ip6_forward()
155 if (ip6->ip6_hlim <= IPV6_HLIMDEC) { in ip6_forward()
161 ip6->ip6_hlim -= IPV6_HLIMDEC; in ip6_forward()
238 src_in6 = ip6->ip6_src; in ip6_forward()
243 ip6_cantforward(ip6, rcvif, rt->rt_ifp, in ip6_forward()
275 dst_in6 = ip6->ip6_dst; in ip6_forward()
368 ip6->ip6_nxt, if_name(rcvif), in ip6_forward()
382 in6_clearscope(&ip6->ip6_src); in ip6_forward()
383 in6_clearscope(&ip6->ip6_dst); in ip6_forward()
[all …]
H A Dip6_flow.c150 src_sum = ip6->ip6_src.s6_addr32[0] + ip6->ip6_src.s6_addr32[1] in ip6flow_hash()
151 + ip6->ip6_src.s6_addr32[2] + ip6->ip6_src.s6_addr32[3]; in ip6flow_hash()
152 dst_sum = ip6->ip6_dst.s6_addr32[0] + ip6->ip6_dst.s6_addr32[1] in ip6flow_hash()
153 + ip6->ip6_dst.s6_addr32[2] + ip6->ip6_dst.s6_addr32[3]; in ip6flow_hash()
155 hash = ip6->ip6_flow; in ip6flow_hash()
174 hash = ip6flow_hash(ip6); in ip6flow_lookup()
258 struct ip6_hdr *ip6; in ip6flow_fastforward() local
342 ip6->ip6_hlim -= IPV6_HLIMDEC; in ip6flow_fastforward()
559 const struct ip6_hdr *ip6; in ip6flow_create() local
588 ip6f = ip6flow_lookup(ip6); in ip6flow_create()
[all …]
H A Dip6_input.c252 struct ip6_hdr *ip6; in ip6_input() local
350 odst = ip6->ip6_dst; in ip6_input()
397 if (in6_clearscope(&ip6->ip6_src) || in6_clearscope(&ip6->ip6_dst)) { in ip6_input()
592 (char *)&ip6->ip6_plen - (char *)ip6); in ip6_input()
615 nxt = ip6->ip6_nxt; in ip6_input()
905 struct ip6_hdr *ip6; in ip6_process_hopopts() local
1037 struct ip6_hdr *ip6; in ip6_unknown_opt() local
1370 nxt = ip6->ip6_nxt; in ip6_get_prevhdr()
1401 struct ip6_hdr ip6; in ip6_nexthdr() local
1418 m_copydata(m, off, sizeof(ip6), (void *)&ip6); in ip6_nexthdr()
[all …]
H A Dfrag6.c161 struct ip6_hdr *ip6; in frag6_input() local
176 ip6 = mtod(m, struct ip6_hdr *); in frag6_input()
188 if (ip6->ip6_plen == 0) { in frag6_input()
288 q6->ip6q_src = ip6->ip6_src; in frag6_input()
289 q6->ip6q_dst = ip6->ip6_dst; in frag6_input()
461 ip6->ip6_src = q6->ip6q_src; in frag6_input()
462 ip6->ip6_dst = q6->ip6q_dst; in frag6_input()
469 memmove((char *)ip6 + sizeof(struct ip6_frag), ip6, offset); in frag6_input()
571 struct ip6_hdr *ip6; in frag6_freef() local
577 ip6->ip6_src = q6->ip6q_src; in frag6_freef()
[all …]
H A Dnd6_nbr.c140 ip6->ip6_hlim, IN6_PRINT(ip6buf, &ip6->ip6_src), in nd6_ns_input()
409 struct ip6_hdr *ip6; in nd6_ns_output() local
456 ip6->ip6_flow = 0; in nd6_ns_output()
461 ip6->ip6_hlim = 255; in nd6_ns_output()
526 ip6->ip6_src = *src; in nd6_ns_output()
639 ip6->ip6_hlim, IN6_PRINT(ip6buf, &ip6->ip6_src), in nd6_na_input()
904 struct ip6_hdr *ip6; in nd6_na_output() local
954 ip6->ip6_flow = 0; in nd6_na_output()
958 ip6->ip6_hlim = 255; in nd6_na_output()
971 ip6->ip6_dst = daddr6; in nd6_na_output()
[all …]
H A Draw_ip6.c177 if (faithprefix(&ip6->ip6_dst)) { in rip6_input()
270 struct ip6_hdr *ip6; in rip6_ctlinput() local
295 ip6 = ip6cp->ip6c_ip6; in rip6_ctlinput()
300 ip6 = NULL; in rip6_ctlinput()
306 if (ip6 && cmd == PRC_MSGSIZE) { in rip6_ctlinput()
371 struct ip6_hdr *ip6; in rip6_output() local
430 ip6 = mtod(m, struct ip6_hdr *); in rip6_output()
435 ip6->ip6_dst = *dst; in rip6_output()
458 ip6->ip6_dst = dstsock->sin6_addr; in rip6_output()
463 ip6->ip6_vfc |= IPV6_VERSION; in rip6_output()
[all …]
H A Dip6_mroute.c1049 if (ip6->ip6_hlim <= 1 || IN6_IS_ADDR_MC_NODELOCAL(&ip6->ip6_dst) || in ip6_mforward()
1052 ip6->ip6_hlim--; in ip6_mforward()
1070 ip6->ip6_nxt, in ip6_mforward()
1081 MF6CFIND(ip6->ip6_src, ip6->ip6_dst, rt); in ip6_mforward()
1134 hash = MF6CHASH(ip6->ip6_src, ip6->ip6_dst); in ip6_mforward()
1354 phyint_send((ip6), (mifp), (m)); \
1484 src0 = ip6->ip6_src; in ip6_mdq()
1485 dst0 = ip6->ip6_dst; in ip6_mdq()
1516 MC6_SEND(ip6, mifp, m); in ip6_mdq()
1710 struct ip6_hdr *ip6 __mrt6debugused; in pim6_input()
[all …]
/netbsd/sys/net/
H A Drss_config.c195 struct ip6_hdr *ip6; in rss_toeplitz_hash_from_mbuf_ipv6() local
202 ip6 = mtod(m, struct ip6_hdr *); in rss_toeplitz_hash_from_mbuf_ipv6()
203 KASSERT((ip6->ip6_vfc & IPV6_VERSION_MASK) == IPV6_VERSION); in rss_toeplitz_hash_from_mbuf_ipv6()
208 switch (ip6->ip6_nxt) { in rss_toeplitz_hash_from_mbuf_ipv6()
218 &ip6->ip6_src, sizeof(ip6->ip6_src) * 2, in rss_toeplitz_hash_from_mbuf_ipv6()
229 &ip6->ip6_src, sizeof(ip6->ip6_src) * 2, in rss_toeplitz_hash_from_mbuf_ipv6()
238 &ip6->ip6_src, sizeof(ip6->ip6_src) * 2, in rss_toeplitz_hash_from_mbuf_ipv6()
250 &ip6->ip6_src, sizeof(ip6->ip6_src) * 2, in rss_toeplitz_hash_from_mbuf_ipv6()
261 &ip6->ip6_src, sizeof(ip6->ip6_src) * 2, in rss_toeplitz_hash_from_mbuf_ipv6()
270 &ip6->ip6_src, sizeof(ip6->ip6_src) * 2, in rss_toeplitz_hash_from_mbuf_ipv6()
[all …]
/netbsd/sys/net/npf/
H A Dnpf_sendpkt.c77 if (in6_clearscope(&ip6->ip6_src) || in6_clearscope(&ip6->ip6_dst)) { in npf_ip6_setscope()
97 struct ip6_hdr *ip6 = NULL; in npf_return_tcp() local
152 ip6 = mtod(m, struct ip6_hdr *); in npf_return_tcp()
153 memset(ip6, 0, len); in npf_return_tcp()
155 ip6->ip6_nxt = IPPROTO_TCP; in npf_return_tcp()
156 ip6->ip6_hlim = IPV6_DEFHLIM; in npf_return_tcp()
159 ip6->ip6_plen = htons(len); in npf_return_tcp()
160 ip6->ip6_vfc = IPV6_VERSION; in npf_return_tcp()
162 th = (struct tcphdr *)(ip6 + 1); in npf_return_tcp()
195 if (npf_ip6_setscope(npc, ip6) != 0) { in npf_return_tcp()
[all …]
/netbsd/crypto/dist/ipsec-tools/src/racoon/
H A Ddump.c133 struct ip6_hdr ip6; local
173 sf_hdr.caplen = sf_hdr.len = sizeof(ip6);
198 memset(&ip6, 0, sizeof(ip6));
199 ip6.ip6_vfc = IPV6_VERSION;
201 ip6.ip6_src = ((struct sockaddr_in6 *)from)->sin6_addr;
203 ip6.ip6_dst = ((struct sockaddr_in6 *)my)->sin6_addr;
204 ip6.ip6_nxt = IPPROTO_UDP;
205 ip6.ip6_plen = htons(sizeof(uh) + msg->l);
206 ip6.ip6_hlim = 1;
207 if (write(fd, &ip6, sizeof(ip6)) < sizeof(ip6))
/netbsd/sys/netipsec/
H A Dipsecif.c521 struct ip6_hdr *ip6; in ipsecif6_output() local
583 ip6->ip6_flow = 0; in ipsecif6_output()
587 ip6->ip6_plen = htons((u_short)m->m_pkthdr.len - sizeof(*ip6)); in ipsecif6_output()
589 ip6->ip6_nxt = proto; in ipsecif6_output()
767 struct ip6_hdr *ip6; in ipsecif4_input() local
821 struct ip6_hdr *ip6; in ipsecif6_input() local
861 otos = ip6->ip6_flow; in ipsecif6_input()
1011 struct ip6_hdr *ip6; in ipsecif6_ctlinput() local
1030 ip6 = ip6cp->ip6c_ip6; in ipsecif6_ctlinput()
1032 ip6 = NULL; in ipsecif6_ctlinput()
[all …]
H A Dipsec_output.c150 struct ip6_hdr *ip6; in ipsec_process_done() local
175 ip6 = mtod(m, struct ip6_hdr *); in ipsec_process_done()
177 iphlen = sizeof(*ip6); in ipsec_process_done()
228 ip6 = mtod(m, struct ip6_hdr *); in ipsec_process_done()
232 ip6->ip6_nxt = IPPROTO_UDP; in ipsec_process_done()
338 sin6->sin6_addr = ip6->ip6_src; in ipsec_fill_saidx_bymbuf()
351 sin6->sin6_addr = ip6->ip6_dst; in ipsec_fill_saidx_bymbuf()
654 nxt = ip6->ip6_nxt; in compute_ipsec_pos()
734 struct ip6_hdr *ip6; in ipsec6_process_packet() local
764 ip6 = mtod(m, struct ip6_hdr *); in ipsec6_process_packet()
[all …]
/netbsd/external/bsd/ntp/dist/tests/libntp/
H A Dauthkeys.c212 sockaddr_u ip4, ip6, ipn; in test_AddrMatch_anull() local
223 TEST_ASSERT_FALSE(keyacc_amatch(NULL, &ip6, 0)); in test_AddrMatch_anull()
228 TEST_ASSERT_FALSE(keyacc_amatch(&ipn, &ip6, 0)); in test_AddrMatch_anull()
232 TEST_ASSERT_FALSE(keyacc_amatch(&ip6, NULL, 0)); in test_AddrMatch_anull()
233 TEST_ASSERT_FALSE(keyacc_amatch(&ip6, &ipn, 0)); in test_AddrMatch_anull()
250 sockaddr_u ip6; in test_AddrMatch_self6() local
253 TEST_ASSERT_TRUE(getaddr(AF_INET6, "::1" , &ip6)); in test_AddrMatch_self6()
255 TEST_ASSERT_TRUE(keyacc_amatch(&ip6, &ip6, bits)); in test_AddrMatch_self6()
261 sockaddr_u ip6, ip4; in test_AddrMatch_afmix() local
266 TEST_ASSERT_FALSE(keyacc_amatch(&ip4, &ip6, 0)); in test_AddrMatch_afmix()
[all …]
/netbsd/sys/net/agr/
H A Dif_agrether_hash.c128 const struct ip6_hdr *ip6; in agrether_hashmbuf() local
131 ip6 = agr_m_extract(m, off, sizeof(*ip6), &ip6_store); in agrether_hashmbuf()
132 if (ip6 == NULL) { in agrether_hashmbuf()
136 hash = HASH(&ip6->ip6_src, sizeof(ip6->ip6_src), hash); in agrether_hashmbuf()
137 hash = HASH(&ip6->ip6_dst, sizeof(ip6->ip6_dst), hash); in agrether_hashmbuf()
140 flowlabel = ip6->ip6_flow & IPV6_FLOWLABEL_MASK; in agrether_hashmbuf()
/netbsd/usr.sbin/npf/npftest/libnpftest/
H A Dnpf_mbuf_subr.c198 struct ip6_hdr *ip6; in mbuf_construct6() local
203 ip6 = mtod(m, struct ip6_hdr *); in mbuf_construct6()
205 ip6->ip6_vfc = IPV6_VERSION; in mbuf_construct6()
206 ip6->ip6_nxt = proto; in mbuf_construct6()
207 ip6->ip6_hlim = 64; in mbuf_construct6()
210 l4data = (void *)(ip6 + 1); in mbuf_construct6()
212 ip6->ip6_plen = htons(size); in mbuf_construct6()
240 *ip6 = ip6hdr; in mbuf_return_hdrs6()
266 struct ip6_hdr *ip6; in mbuf_get_pkt() local
275 ipsrc = &ip6->ip6_src; in mbuf_get_pkt()
[all …]

123456789