Home
last modified time | relevance | path

Searched refs:icmp6 (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/tools/testing/selftests/net/
Dipv6_flowlabel.c44 static struct icmp6hdr icmp6 = { variable
64 iov.iov_base = &icmp6; in do_send()
65 iov.iov_len = sizeof(icmp6); in do_send()
Dfcnal-test.sh4038 run_cmd ip6tables -A INPUT -p tcp --dport 12345 -j REJECT --reject-with icmp6-port-unreachable
4039 run_cmd ip6tables -A INPUT -p udp --dport 12345 -j REJECT --reject-with icmp6-port-unreachable
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_cls_redirect_dynptr.c657 struct icmp6hdr icmp6; in process_icmpv6() local
661 if (bpf_dynptr_read(&icmp6, sizeof(icmp6), dynptr, *offset, 0)) { in process_icmpv6()
667 if (icmp6.icmp6_type == ICMPV6_ECHO_REPLY) { in process_icmpv6()
672 if (icmp6.icmp6_type == ICMPV6_ECHO_REQUEST) { in process_icmpv6()
676 if (icmp6.icmp6_type != ICMPV6_PKT_TOOBIG) { in process_icmpv6()
Dtest_cls_redirect.c764 struct icmp6hdr icmp6; in process_icmpv6() local
765 if (!buf_copy(pkt, &icmp6, sizeof(icmp6))) { in process_icmpv6()
771 if (icmp6.icmp6_type == ICMPV6_ECHO_REPLY) { in process_icmpv6()
776 if (icmp6.icmp6_type == ICMPV6_ECHO_REQUEST) { in process_icmpv6()
780 if (icmp6.icmp6_type != ICMPV6_PKT_TOOBIG) { in process_icmpv6()
/linux-6.6.21/net/netfilter/
Dnf_nat_proto.c843 struct icmp6hdr icmp6; in nf_nat_icmpv6_reply_translation() member
859 if (inside->icmp6.icmp6_type == NDISC_REDIRECT) { in nf_nat_icmpv6_reply_translation()
878 if (!nf_nat_ipv6_manip_pkt(skb, hdrlen + sizeof(inside->icmp6), in nf_nat_icmpv6_reply_translation()
886 inside->icmp6.icmp6_cksum = 0; in nf_nat_icmpv6_reply_translation()
887 inside->icmp6.icmp6_cksum = in nf_nat_icmpv6_reply_translation()
/linux-6.6.21/drivers/staging/gdm724x/
Dgdm_lte.c383 struct icmp6hdr *icmp6 = in gdm_lte_tx_nic_type() local
385 if (icmp6->icmp6_type == NDISC_NEIGHBOUR_SOLICITATION) in gdm_lte_tx_nic_type()
/linux-6.6.21/Documentation/netlink/specs/
Drt_link.yaml560 name: ifla-icmp6-stats
1182 name: icmp6-stats
1184 struct: ifla-icmp6-stats
/linux-6.6.21/net/ipv6/
Dicmp.c78 struct icmp6hdr *icmp6 = (struct icmp6hdr *) (skb->data + offset); in icmpv6_err() local
88 if (icmp6->icmp6_type == ICMPV6_ECHO_REQUEST) in icmpv6_err()
Dip6_output.c417 struct icmp6hdr *icmp6; in ip6_forward_proxy_check() local
423 icmp6 = (struct icmp6hdr *)(skb_network_header(skb) + offset); in ip6_forward_proxy_check()
425 switch (icmp6->icmp6_type) { in ip6_forward_proxy_check()
/linux-6.6.21/tools/testing/selftests/net/forwarding/
Dvxlan_bridge_1d_ipv6.sh519 $MZ -6 $h1 -c 10 -d 100msec -p 64 -b $mac -B $dst -t icmp6 type=128 -q
Dvxlan_bridge_1q_ipv6.sh645 $MZ -6 $h1 -Q $vid -c 10 -d 100msec -p 64 -b $mac -B $dst -t icmp6 type=128 -q
/linux-6.6.21/drivers/net/bonding/
Dbond_main.c3304 struct icmp6hdr icmp6; in bond_na_rcv() member
3313 (combined->icmp6.icmp6_type != NDISC_NEIGHBOUR_SOLICITATION && in bond_na_rcv()
3314 combined->icmp6.icmp6_type != NDISC_NEIGHBOUR_ADVERTISEMENT)) in bond_na_rcv()
/linux-6.6.21/drivers/net/ethernet/emulex/benet/
Dbe_main.c1322 struct icmp6hdr *icmp6 = icmp6_hdr((*skb)); in be_send_pkt_to_bmc() local
1324 switch (icmp6->icmp6_type) { in be_send_pkt_to_bmc()