| /linux/net/6lowpan/ |
| H A D | ndisc.c | 51 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/include/net/ |
| H A D | mld.h | 14 #define mld_type mld_hdr.icmp6_type 35 #define mld2r_type mld2r_hdr.icmp6_type 61 #define mld2q_type mld2q_hdr.icmp6_type
|
| H A D | addrconf.h | 292 switch (hdr->icmp6_type) { in ipv6_is_mld()
|
| /linux/net/bridge/ |
| H A D | br_arp_nd_proxy.c | 245 (m->icmph.icmp6_type != NDISC_NEIGHBOUR_SOLICITATION && in br_is_nd_neigh_msg() 246 m->icmph.icmp6_type != NDISC_NEIGHBOUR_ADVERTISEMENT)) in br_is_nd_neigh_msg() 330 na->icmph.icmp6_type = NDISC_NEIGHBOUR_ADVERTISEMENT; in br_nd_send() 421 msg->icmph.icmp6_type == NDISC_NEIGHBOUR_SOLICITATION) in br_do_suppress_nd() 424 if (msg->icmph.icmp6_type == NDISC_NEIGHBOUR_ADVERTISEMENT && in br_do_suppress_nd() 431 if (msg->icmph.icmp6_type != NDISC_NEIGHBOUR_SOLICITATION) in br_do_suppress_nd()
|
| /linux/net/ipv6/ |
| H A D | icmp.c | 88 if (icmp6->icmp6_type == ICMPV6_ECHO_REQUEST) in icmpv6_err() 152 ptr+offsetof(struct icmp6hdr, icmp6_type), in is_ineligible() 571 switch (icmp6h->icmp6_type) { in icmp6_ext_append() 779 tmp_hdr.icmp6_type = type; in icmp6_send() 954 if (icmph->icmp6_type == ICMPV6_EXT_ECHO_REQUEST) in icmpv6_echo_reply() 960 tmp_hdr.icmp6_type = type; in icmpv6_echo_reply() 1013 if (icmph->icmp6_type == ICMPV6_EXT_ECHO_REQUEST) in icmpv6_echo_reply() 1149 type = hdr->icmp6_type; in icmpv6_rcv()
|
| H A D | ndisc.c | 169 const void *data, u8 icmp6_type) in ndisc_fill_addr_option() argument 173 ndisc_ops_fill_addr_option(skb->dev, skb, icmp6_type); in ndisc_fill_addr_option() 480 type = icmp6h->icmp6_type; in ndisc_send_skb() 564 .icmp6_type = NDISC_NEIGHBOUR_ADVERTISEMENT, in ndisc_send_na() 633 .icmp6_type = NDISC_NEIGHBOUR_SOLICITATION, in ndisc_ns_create() 714 .icmp6_type = NDISC_ROUTER_SOLICITATION, in ndisc_send_rs() 780 const u8 *lladdr, u8 new, u32 flags, u8 icmp6_type, in ndisc_update() argument 785 ndisc_ops_update(dev, neigh, flags, icmp6_type, ndopts); in ndisc_update() 1210 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt() 1751 .icmp6_type = NDISC_REDIRECT, in ndisc_send_redirect() [all …]
|
| H A D | datagram.c | 299 switch (icmp6_hdr(skb)->icmp6_type) { in ipv6_icmp_error_rfc4884() 325 serr->ee.ee_type = icmph->icmp6_type; in ipv6_icmp_error()
|
| /linux/include/uapi/linux/ |
| H A D | icmpv6.h | 10 __u8 icmp6_type; member
|
| /linux/net/netfilter/ |
| H A D | xt_HMARK.c | 157 if (icmp6h->icmp6_type && icmp6h->icmp6_type < 128) { in get_inner6_hdr()
|
| H A D | xt_tcpudp.c | 240 ic->icmp6_type, ic->icmp6_code, in icmp6_match()
|
| /linux/net/netfilter/ipset/ |
| H A D | ip_set_getport.c | 86 htons((ic->icmp6_type << 8) | ic->icmp6_code); in get_port()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_xdp_noinline.c | 447 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 D | test_cls_redirect.c | 772 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 D | test_cls_redirect_dynptr.c | 669 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 D | test_l4lb_noinline.c | 242 if (icmp_hdr->icmp6_type != ICMPV6_PKT_TOOBIG) in parse_icmpv6()
|
| H A D | test_l4lb.c | 243 if (icmp_hdr->icmp6_type != ICMPV6_PKT_TOOBIG) in parse_icmpv6()
|
| H A D | test_l4lb_noinline_dynptr.c | 246 if (icmp_hdr->icmp6_type != ICMPV6_PKT_TOOBIG) in parse_icmpv6()
|
| /linux/net/ipv6/netfilter/ |
| H A D | ip6t_NPT.c | 86 if (!icmpv6_is_err(icmp6_hdr(skb)->icmp6_type)) in icmpv6_bounced_ipv6hdr()
|
| /linux/tools/testing/selftests/net/ |
| H A D | ipv6_flowlabel.c | 45 .icmp6_type = ICMPV6_ECHO_REQUEST
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | sta_rx.c | 45 if (NDISC_NEIGHBOUR_ADVERTISEMENT == icmpv6->icmp6_type) { in mwifiex_discard_gratuitous_arp()
|
| /linux/net/sctp/ |
| H A D | ipv6.c | 207 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 D | ip_tunnel_core.c | 339 .icmp6_type = ICMPV6_PKT_TOOBIG, in iptunnel_pmtud_build_icmpv6() 406 if (icmpv6_is_err(icmp6h->icmp6_type) || in iptunnel_pmtud_check_icmpv6() 407 icmp6h->icmp6_type == NDISC_REDIRECT) in iptunnel_pmtud_check_icmpv6()
|
| /linux/tools/testing/selftests/net/tcp_ao/ |
| H A D | icmps-accept.c | 318 packet.icmph.icmp6_type = type; in icmp6_interfere()
|
| H A D | icmps-discard.c | 318 packet.icmph.icmp6_type = type; in icmp6_interfere()
|
| /linux/net/batman-adv/ |
| H A D | multicast.c | 1031 switch (icmp6_hdr(skb)->icmp6_type) { in batadv_mcast_is_report_ipv6()
|