/linux/include/net/ |
A D | ndisc.h | 208 u32 flags, u8 icmp6_type, 214 struct sk_buff *skb, u8 icmp6_type, 248 u8 icmp6_type, in ndisc_ops_update() argument 252 dev->ndisc_ops->update(dev, n, flags, icmp6_type, ndopts); in ndisc_ops_update() 256 u8 icmp6_type) in ndisc_ops_opt_addr_space() argument 259 icmp6_type != NDISC_REDIRECT) in ndisc_ops_opt_addr_space() 260 return dev->ndisc_ops->opt_addr_space(dev, icmp6_type, NULL, in ndisc_ops_opt_addr_space() 279 u8 icmp6_type) in ndisc_ops_fill_addr_option() argument 282 icmp6_type != NDISC_REDIRECT) in ndisc_ops_fill_addr_option() 339 ndisc_ops_opt_addr_space(dev, icmp6_type); in ndisc_opt_addr_space() [all …]
|
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
|
/linux/net/6lowpan/ |
A D | ndisc.c | 57 u8 icmp6_type, in lowpan_ndisc_802154_update() argument 63 switch (icmp6_type) { in lowpan_ndisc_802154_update() 103 struct neighbour *n, u32 flags, u8 icmp6_type, in lowpan_ndisc_update() argument 111 lowpan_ndisc_802154_update(n, flags, icmp6_type, ndopts); in lowpan_ndisc_update() 115 u8 icmp6_type, struct neighbour *neigh, in lowpan_ndisc_opt_addr_space() argument 125 switch (icmp6_type) { in lowpan_ndisc_opt_addr_space() 156 struct sk_buff *skb, u8 icmp6_type, in lowpan_ndisc_fill_addr_option() argument 166 switch (icmp6_type) { in lowpan_ndisc_fill_addr_option()
|
/linux/net/bridge/ |
A D | br_arp_nd_proxy.c | 242 (m->icmph.icmp6_type != NDISC_NEIGHBOUR_SOLICITATION && in br_is_nd_neigh_msg() 243 m->icmph.icmp6_type != NDISC_NEIGHBOUR_ADVERTISEMENT)) in br_is_nd_neigh_msg() 323 na->icmph.icmp6_type = NDISC_NEIGHBOUR_ADVERTISEMENT; in br_nd_send() 413 if (msg->icmph.icmp6_type == NDISC_NEIGHBOUR_ADVERTISEMENT && in br_do_suppress_nd() 420 if (msg->icmph.icmp6_type != NDISC_NEIGHBOUR_SOLICITATION) in br_do_suppress_nd()
|
/linux/net/netfilter/ |
A D | nf_conntrack_proto_icmpv6.c | 42 tuple->dst.u.icmp.type = hp->icmp6_type; in icmpv6_pkt_to_tuple() 155 type = icmp6h->icmp6_type - 130; in nf_conntrack_icmpv6_error() 163 if (icmp6h->icmp6_type >= 128) in nf_conntrack_icmpv6_error()
|
A D | xt_HMARK.c | 157 if (icmp6h->icmp6_type && icmp6h->icmp6_type < 128) { in get_inner6_hdr()
|
A D | nf_log_syslog.c | 716 ic->icmp6_type, ic->icmp6_code); in dump_ipv6_packet() 718 switch (ic->icmp6_type) { in dump_ipv6_packet() 748 if (ic->icmp6_type == ICMPV6_PKT_TOOBIG) { in dump_ipv6_packet()
|
A D | nf_nat_proto.c | 266 if (hdr->icmp6_type == ICMPV6_ECHO_REQUEST || in icmpv6_manip_pkt() 267 hdr->icmp6_type == ICMPV6_ECHO_REPLY) { in icmpv6_manip_pkt() 859 if (inside->icmp6.icmp6_type == NDISC_REDIRECT) { in nf_nat_icmpv6_reply_translation()
|
/linux/drivers/staging/r8188eu/core/ |
A D | rtw_br_ext.c | 171 if (icmphdr->icmp6_type == NDISC_ROUTER_SOLICITATION) { in update_nd_link_layer_addr() 182 } else if (icmphdr->icmp6_type == NDISC_ROUTER_ADVERTISEMENT) { in update_nd_link_layer_addr() 193 } else if (icmphdr->icmp6_type == NDISC_NEIGHBOUR_SOLICITATION) { in update_nd_link_layer_addr() 204 } else if (icmphdr->icmp6_type == NDISC_NEIGHBOUR_ADVERTISEMENT) { in update_nd_link_layer_addr() 215 } else if (icmphdr->icmp6_type == NDISC_REDIRECT) { in update_nd_link_layer_addr()
|
/linux/net/ipv6/ |
A D | icmp.c | 98 if (icmp6->icmp6_type == ICMPV6_ECHO_REQUEST) in icmpv6_err() 160 ptr+offsetof(struct icmp6hdr, icmp6_type), in is_ineligible() 584 tmp_hdr.icmp6_type = type; in icmp6_send() 745 if (icmph->icmp6_type == ICMPV6_EXT_ECHO_REQUEST) in icmpv6_echo_reply() 751 tmp_hdr.icmp6_type = type; in icmpv6_echo_reply() 800 if (icmph->icmp6_type == ICMPV6_EXT_ECHO_REQUEST) in icmpv6_echo_reply() 919 type = hdr->icmp6_type; in icmpv6_rcv()
|
A D | ndisc.c | 168 const void *data, u8 icmp6_type) in ndisc_fill_addr_option() argument 172 ndisc_ops_fill_addr_option(skb->dev, skb, icmp6_type); in ndisc_fill_addr_option() 481 type = icmp6h->icmp6_type; in ndisc_send_skb() 559 .icmp6_type = NDISC_NEIGHBOUR_ADVERTISEMENT, in ndisc_send_na() 633 .icmp6_type = NDISC_NEIGHBOUR_SOLICITATION, in ndisc_send_ns() 693 .icmp6_type = NDISC_ROUTER_SOLICITATION, in ndisc_send_rs() 762 const u8 *lladdr, u8 new, u32 flags, u8 icmp6_type, in ndisc_update() argument 767 ndisc_ops_update(dev, neigh, flags, icmp6_type, ndopts); in ndisc_update() 1150 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt() 1686 .icmp6_type = NDISC_REDIRECT, in ndisc_send_redirect() [all …]
|
A D | ping.c | 112 fl6.fl6_icmp_type = user_icmph.icmp6_type; in ping_v6_sendmsg() 130 pfh.icmph.type = user_icmph.icmp6_type; in ping_v6_sendmsg()
|
/linux/include/uapi/linux/ |
A D | icmpv6.h | 10 __u8 icmp6_type; member
|
/linux/drivers/staging/gdm724x/ |
A D | gdm_lte.c | 260 if (icmp6_in->icmp6_type == NDISC_ROUTER_SOLICITATION) { /* Check RS */ in gdm_lte_emulate_ndp() 262 } else if (icmp6_in->icmp6_type == NDISC_NEIGHBOUR_SOLICITATION) { in gdm_lte_emulate_ndp() 272 icmp6_out.icmp6_type = NDISC_NEIGHBOUR_ADVERTISEMENT; in gdm_lte_emulate_ndp() 385 if (icmp6->icmp6_type == NDISC_NEIGHBOUR_SOLICITATION) in gdm_lte_tx_nic_type()
|
/linux/net/netfilter/ipset/ |
A D | ip_set_getport.c | 86 htons((ic->icmp6_type << 8) | ic->icmp6_code); in get_port()
|
/linux/net/ipv6/netfilter/ |
A D | nf_socket_ipv6.c | 42 if (icmph->icmp6_type & ICMPV6_INFOMSG_MASK) in extract_icmp6_fields()
|
A D | ip6t_NPT.c | 86 if (!icmpv6_is_err(icmp6_hdr(skb)->icmp6_type)) in icmpv6_bounced_ipv6hdr()
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | test_cls_redirect.c | 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()
|
A D | test_xdp_noinline.c | 474 icmp_hdr->icmp6_type = 129; in send_icmp6_reply() 493 if (icmp_hdr->icmp6_type == 128) in parse_icmpv6() 495 if (icmp_hdr->icmp6_type != 3) in parse_icmpv6()
|
/linux/net/openvswitch/ |
A D | flow.c | 418 key->tp.src = htons(icmp->icmp6_type); in parse_icmpv6() 423 (icmp->icmp6_type == NDISC_NEIGHBOUR_SOLICITATION || in parse_icmpv6() 424 icmp->icmp6_type == NDISC_NEIGHBOUR_ADVERTISEMENT)) { in parse_icmpv6()
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
A D | sta_rx.c | 57 if (NDISC_NEIGHBOUR_ADVERTISEMENT == icmpv6->icmp6_type) { in mwifiex_discard_gratuitous_arp()
|
/linux/net/ipv4/ |
A D | ip_tunnel_core.c | 315 .icmp6_type = ICMPV6_PKT_TOOBIG, in iptunnel_pmtud_build_icmpv6() 382 if (icmpv6_is_err(icmp6h->icmp6_type) || in iptunnel_pmtud_check_icmpv6() 383 icmp6h->icmp6_type == NDISC_REDIRECT) in iptunnel_pmtud_check_icmpv6()
|
/linux/drivers/net/ipvlan/ |
A D | ipvlan_core.c | 194 if (icmph->icmp6_type == NDISC_NEIGHBOUR_SOLICITATION) { in ipvlan_get_L3_hdr() 378 if (ndmh->icmph.icmp6_type == NDISC_NEIGHBOUR_SOLICITATION) { in ipvlan_addr_lookup()
|
/linux/net/sctp/ |
A D | ipv6.c | 209 if (hdr->icmp6_type == NDISC_REDIRECT) { in sctp_udp_v6_err() 214 if (hdr->icmp6_type == ICMPV6_PKT_TOOBIG) in sctp_udp_v6_err() 216 sctp_v6_err_handle(t, skb, hdr->icmp6_type, hdr->icmp6_code, info); in sctp_udp_v6_err()
|
/linux/net/netfilter/ipvs/ |
A D | ip_vs_core.c | 1013 if (ic->icmp6_type & ICMPV6_INFOMSG_MASK) { in ip_vs_out_icmp_v6() 1024 ic->icmp6_type, ntohs(icmpv6_id(ic)), in ip_vs_out_icmp_v6() 1831 if (ic->icmp6_type & ICMPV6_INFOMSG_MASK) { in ip_vs_in_icmp_v6() 1842 ic->icmp6_type, ntohs(icmpv6_id(ic)), in ip_vs_in_icmp_v6()
|