Home
last modified time | relevance | path

Searched refs:icmp6_type (Results 1 – 25 of 28) sorted by relevance

12

/linux/include/net/
H A Dndisc.h193 u32 flags, u8 icmp6_type,
195 int (*opt_addr_space)(const struct net_device *dev, u8 icmp6_type,
199 struct sk_buff *skb, u8 icmp6_type,
224 u8 icmp6_type, in ndisc_ops_update() argument
228 dev->ndisc_ops->update(dev, n, flags, icmp6_type, ndopts); in ndisc_ops_update()
232 u8 icmp6_type) in ndisc_ops_opt_addr_space() argument
235 icmp6_type != NDISC_REDIRECT) in ndisc_ops_opt_addr_space()
236 return dev->ndisc_ops->opt_addr_space(dev, icmp6_type, NULL, in ndisc_ops_opt_addr_space()
255 u8 icmp6_type) in ndisc_ops_fill_addr_option() argument
258 icmp6_type != NDISC_REDIRECT) in ndisc_ops_fill_addr_option()
[all …]
H A Dmld.h14 #define mld_type mld_hdr.icmp6_type
35 #define mld2r_type mld2r_hdr.icmp6_type
61 #define mld2q_type mld2q_hdr.icmp6_type
/linux/net/6lowpan/
H A Dndisc.c51 u8 icmp6_type, in lowpan_ndisc_802154_update() argument
57 switch (icmp6_type) { in lowpan_ndisc_802154_update()
95 struct neighbour *n, u32 flags, u8 icmp6_type, in lowpan_ndisc_update() argument
103 lowpan_ndisc_802154_update(n, flags, icmp6_type, ndopts); in lowpan_ndisc_update()
107 u8 icmp6_type, struct neighbour *neigh, in lowpan_ndisc_opt_addr_space() argument
117 switch (icmp6_type) { in lowpan_ndisc_opt_addr_space()
148 struct sk_buff *skb, u8 icmp6_type, in lowpan_ndisc_fill_addr_option() argument
158 switch (icmp6_type) { in lowpan_ndisc_fill_addr_option()
/linux/net/netfilter/
H A Dnf_conntrack_proto_icmpv6.c42 tuple->dst.u.icmp.type = hp->icmp6_type; in icmpv6_pkt_to_tuple()
207 type = icmp6h->icmp6_type - 130; in nf_conntrack_icmpv6_error()
214 if (icmp6h->icmp6_type == NDISC_REDIRECT) in nf_conntrack_icmpv6_error()
218 if (icmp6h->icmp6_type >= 128) in nf_conntrack_icmpv6_error()
H A Dxt_HMARK.c157 if (icmp6h->icmp6_type && icmp6h->icmp6_type < 128) { in get_inner6_hdr()
H A Dnf_log_syslog.c724 ic->icmp6_type, ic->icmp6_code); in dump_ipv6_packet()
726 switch (ic->icmp6_type) { in dump_ipv6_packet()
756 if (ic->icmp6_type == ICMPV6_PKT_TOOBIG) { in dump_ipv6_packet()
H A Dxt_tcpudp.c238 ic->icmp6_type, ic->icmp6_code, in icmp6_match()
H A Dnf_nat_proto.c226 if (hdr->icmp6_type == ICMPV6_ECHO_REQUEST || in icmpv6_manip_pkt()
227 hdr->icmp6_type == ICMPV6_ECHO_REPLY) { in icmpv6_manip_pkt()
853 if (inside->icmp6.icmp6_type == NDISC_REDIRECT) { in nf_nat_icmpv6_reply_translation()
/linux/include/uapi/linux/
H A Dicmpv6.h10 __u8 icmp6_type; member
/linux/net/netfilter/ipset/
H A Dip_set_getport.c86 htons((ic->icmp6_type << 8) | ic->icmp6_code); in get_port()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_noinline.c447 icmp_hdr->icmp6_type = 129; in send_icmp6_reply()
466 if (icmp_hdr->icmp6_type == 128) in parse_icmpv6()
468 if (icmp_hdr->icmp6_type != 3) in parse_icmpv6()
H A Dtest_cls_redirect.c772 if (icmp6.icmp6_type == ICMPV6_ECHO_REPLY) { in process_icmpv6()
777 if (icmp6.icmp6_type == ICMPV6_ECHO_REQUEST) { in process_icmpv6()
781 if (icmp6.icmp6_type != ICMPV6_PKT_TOOBIG) { in process_icmpv6()
H A Dtest_cls_redirect_dynptr.c669 if (icmp6.icmp6_type == ICMPV6_ECHO_REPLY) { in process_icmpv6()
674 if (icmp6.icmp6_type == ICMPV6_ECHO_REQUEST) { in process_icmpv6()
678 if (icmp6.icmp6_type != ICMPV6_PKT_TOOBIG) { in process_icmpv6()
H A Dtest_l4lb_noinline.c242 if (icmp_hdr->icmp6_type != ICMPV6_PKT_TOOBIG) in parse_icmpv6()
H A Dtest_l4lb.c243 if (icmp_hdr->icmp6_type != ICMPV6_PKT_TOOBIG) in parse_icmpv6()
H A Dtest_l4lb_noinline_dynptr.c246 if (icmp_hdr->icmp6_type != ICMPV6_PKT_TOOBIG) in parse_icmpv6()
/linux/net/ipv6/netfilter/
H A Dip6t_NPT.c86 if (!icmpv6_is_err(icmp6_hdr(skb)->icmp6_type)) in icmpv6_bounced_ipv6hdr()
/linux/tools/testing/selftests/net/
H A Dipv6_flowlabel.c45 .icmp6_type = ICMPV6_ECHO_REQUEST
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_rx.c45 if (NDISC_NEIGHBOUR_ADVERTISEMENT == icmpv6->icmp6_type) { in mwifiex_discard_gratuitous_arp()
/linux/net/sctp/
H A Dipv6.c207 if (hdr->icmp6_type == NDISC_REDIRECT) { in sctp_udp_v6_err()
212 if (hdr->icmp6_type == ICMPV6_PKT_TOOBIG) in sctp_udp_v6_err()
214 sctp_v6_err_handle(t, skb, hdr->icmp6_type, hdr->icmp6_code, info); in sctp_udp_v6_err()
/linux/net/ipv4/
H A Dip_tunnel_core.c324 .icmp6_type = ICMPV6_PKT_TOOBIG, in iptunnel_pmtud_build_icmpv6()
391 if (icmpv6_is_err(icmp6h->icmp6_type) || in iptunnel_pmtud_check_icmpv6()
392 icmp6h->icmp6_type == NDISC_REDIRECT) in iptunnel_pmtud_check_icmpv6()
/linux/tools/testing/selftests/net/tcp_ao/
H A Dicmps-accept.c318 packet.icmph.icmp6_type = type; in icmp6_interfere()
H A Dicmps-discard.c318 packet.icmph.icmp6_type = type; in icmp6_interfere()
/linux/drivers/net/usb/
H A Dcdc_mbim.c363 msg->icmph.icmp6_type == NDISC_NEIGHBOUR_SOLICITATION); in is_neigh_solicit()
/linux/net/batman-adv/
H A Dmulticast.c1031 switch (icmp6_hdr(skb)->icmp6_type) { in batadv_mcast_is_report_ipv6()

12