Home
last modified time | relevance | path

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

12

/linux/include/net/
A Dndisc.h208 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 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/
A Dndisc.c57 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 Dbr_arp_nd_proxy.c242 (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 Dnf_conntrack_proto_icmpv6.c42 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 Dxt_HMARK.c157 if (icmp6h->icmp6_type && icmp6h->icmp6_type < 128) { in get_inner6_hdr()
A Dnf_log_syslog.c716 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 Dnf_nat_proto.c266 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 Drtw_br_ext.c171 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 Dicmp.c98 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 Dndisc.c168 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 Dping.c112 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 Dicmpv6.h10 __u8 icmp6_type; member
/linux/drivers/staging/gdm724x/
A Dgdm_lte.c260 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 Dip_set_getport.c86 htons((ic->icmp6_type << 8) | ic->icmp6_code); in get_port()
/linux/net/ipv6/netfilter/
A Dnf_socket_ipv6.c42 if (icmph->icmp6_type & ICMPV6_INFOMSG_MASK) in extract_icmp6_fields()
A Dip6t_NPT.c86 if (!icmpv6_is_err(icmp6_hdr(skb)->icmp6_type)) in icmpv6_bounced_ipv6hdr()
/linux/tools/testing/selftests/bpf/progs/
A Dtest_cls_redirect.c771 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 Dtest_xdp_noinline.c474 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 Dflow.c418 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 Dsta_rx.c57 if (NDISC_NEIGHBOUR_ADVERTISEMENT == icmpv6->icmp6_type) { in mwifiex_discard_gratuitous_arp()
/linux/net/ipv4/
A Dip_tunnel_core.c315 .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 Dipvlan_core.c194 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 Dipv6.c209 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 Dip_vs_core.c1013 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()

Completed in 39 milliseconds

12