Home
last modified time | relevance | path

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

12

/openbmc/linux/net/6lowpan/
H 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()
/openbmc/linux/include/net/
H 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 …]
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
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_proto_icmpv6.c42 tuple->dst.u.icmp.type = hp->icmp6_type; in icmpv6_pkt_to_tuple()
205 type = icmp6h->icmp6_type - 130; in nf_conntrack_icmpv6_error()
212 if (icmp6h->icmp6_type == NDISC_REDIRECT) in nf_conntrack_icmpv6_error()
216 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.c722 ic->icmp6_type, ic->icmp6_code); in dump_ipv6_packet()
724 switch (ic->icmp6_type) { in dump_ipv6_packet()
754 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.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()
/openbmc/linux/net/bridge/
H 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()
/openbmc/linux/net/ipv6/
H A Dicmp.c88 if (icmp6->icmp6_type == ICMPV6_ECHO_REQUEST) in icmpv6_err()
152 ptr+offsetof(struct icmp6hdr, icmp6_type), in is_ineligible()
587 tmp_hdr.icmp6_type = type; in icmp6_send()
751 if (icmph->icmp6_type == ICMPV6_EXT_ECHO_REQUEST) in icmpv6_echo_reply()
757 tmp_hdr.icmp6_type = type; in icmpv6_echo_reply()
807 if (icmph->icmp6_type == ICMPV6_EXT_ECHO_REQUEST) in icmpv6_echo_reply()
940 type = hdr->icmp6_type; in icmpv6_rcv()
H A Dndisc.c169 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()
484 type = icmp6h->icmp6_type; in ndisc_send_skb()
563 .icmp6_type = NDISC_NEIGHBOUR_ADVERTISEMENT, in ndisc_send_na()
631 .icmp6_type = NDISC_NEIGHBOUR_SOLICITATION, in ndisc_ns_create()
712 .icmp6_type = NDISC_ROUTER_SOLICITATION, in ndisc_send_rs()
781 const u8 *lladdr, u8 new, u32 flags, u8 icmp6_type, in ndisc_update() argument
786 ndisc_ops_update(dev, neigh, flags, icmp6_type, ndopts); in ndisc_update()
1214 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt()
1762 .icmp6_type = NDISC_REDIRECT, in ndisc_send_redirect()
[all …]
H A Dping.c148 fl6.fl6_icmp_type = user_icmph.icmp6_type; in ping_v6_sendmsg()
164 pfh.icmph.type = user_icmph.icmp6_type; in ping_v6_sendmsg()
H A Dip6_output.c435 switch (icmp6->icmp6_type) { in ip6_forward_proxy_check()
2012 u8 icmp6_type; in __ip6_make_skb() local
2016 icmp6_type = fl6->fl6_icmp_type; in __ip6_make_skb()
2018 icmp6_type = icmp6_hdr(skb)->icmp6_type; in __ip6_make_skb()
2019 ICMP6MSGOUT_INC_STATS(net, idev, icmp6_type); in __ip6_make_skb()
/openbmc/linux/include/uapi/linux/
H A Dicmpv6.h10 __u8 icmp6_type; member
/openbmc/linux/net/netfilter/ipset/
H A Dip_set_getport.c86 htons((ic->icmp6_type << 8) | ic->icmp6_code); in get_port()
/openbmc/linux/drivers/staging/gdm724x/
H 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()
/openbmc/linux/net/ipv6/netfilter/
H A Dnf_socket_ipv6.c42 if (icmph->icmp6_type & ICMPV6_INFOMSG_MASK) in extract_icmp6_fields()
H A Dip6t_NPT.c86 if (!icmpv6_is_err(icmp6_hdr(skb)->icmp6_type)) in icmpv6_bounced_ipv6hdr()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_noinline.c434 icmp_hdr->icmp6_type = 129; in send_icmp6_reply()
453 if (icmp_hdr->icmp6_type == 128) in parse_icmpv6()
455 if (icmp_hdr->icmp6_type != 3) in parse_icmpv6()
H A Dtest_cls_redirect_dynptr.c667 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()
H 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()
/openbmc/linux/tools/testing/selftests/net/
H A Dipv6_flowlabel.c45 .icmp6_type = ICMPV6_ECHO_REQUEST
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_rx.c45 if (NDISC_NEIGHBOUR_ADVERTISEMENT == icmpv6->icmp6_type) { in mwifiex_discard_gratuitous_arp()
/openbmc/linux/net/openvswitch/
H A Dflow.c562 key->tp.src = htons(icmp->icmp6_type); in parse_icmpv6()
566 (icmp->icmp6_type == NDISC_NEIGHBOUR_SOLICITATION || in parse_icmpv6()
567 icmp->icmp6_type == NDISC_NEIGHBOUR_ADVERTISEMENT)) { in parse_icmpv6()
/openbmc/linux/drivers/net/ipvlan/
H A Dipvlan_core.c194 if (icmph->icmp6_type == NDISC_NEIGHBOUR_SOLICITATION) { in ipvlan_get_L3_hdr()
377 if (ndmh->icmph.icmp6_type == NDISC_NEIGHBOUR_SOLICITATION) { in ipvlan_addr_lookup()

12