Home
last modified time | relevance | path

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

/net/6lowpan/
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()
/net/netfilter/
Dnf_conntrack_proto_icmpv6.c40 tuple->dst.u.icmp.type = hp->icmp6_type; in icmpv6_pkt_to_tuple()
204 type = icmp6h->icmp6_type - 130; in nf_conntrack_icmpv6_error()
211 if (icmp6h->icmp6_type == NDISC_REDIRECT) in nf_conntrack_icmpv6_error()
215 if (icmp6h->icmp6_type >= 128) in nf_conntrack_icmpv6_error()
Dxt_HMARK.c157 if (icmp6h->icmp6_type && icmp6h->icmp6_type < 128) { in get_inner6_hdr()
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()
821 if (inside->icmp6.icmp6_type == NDISC_REDIRECT) { in nf_nat_icmpv6_reply_translation()
/net/bridge/
Dbr_arp_nd_proxy.c237 (m->icmph.icmp6_type != NDISC_NEIGHBOUR_SOLICITATION && in br_is_nd_neigh_msg()
238 m->icmph.icmp6_type != NDISC_NEIGHBOUR_ADVERTISEMENT)) in br_is_nd_neigh_msg()
318 na->icmph.icmp6_type = NDISC_NEIGHBOUR_ADVERTISEMENT; in br_nd_send()
403 if (msg->icmph.icmp6_type == NDISC_NEIGHBOUR_ADVERTISEMENT && in br_do_suppress_nd()
410 if (msg->icmph.icmp6_type != NDISC_NEIGHBOUR_SOLICITATION) in br_do_suppress_nd()
Dbr_multicast.c1654 if (icmp6_hdr(skb)->icmp6_type != ICMPV6_MRDISC_ADV) in br_ip6_multicast_mrd_rcv()
/net/ipv6/netfilter/
Dnf_log_ipv6.c232 ic->icmp6_type, ic->icmp6_code); in dump_ipv6_packet()
234 switch (ic->icmp6_type) { in dump_ipv6_packet()
264 if (ic->icmp6_type == ICMPV6_PKT_TOOBIG) { in dump_ipv6_packet()
Dnf_socket_ipv6.c42 if (icmph->icmp6_type & ICMPV6_INFOMSG_MASK) in extract_icmp6_fields()
Dip6_tables.c1854 ic->icmp6_type, ic->icmp6_code, in icmp6_match()
/net/ipv6/
Dndisc.c166 void *data, u8 icmp6_type) in ndisc_fill_addr_option() argument
170 ndisc_ops_fill_addr_option(skb->dev, skb, icmp6_type); in ndisc_fill_addr_option()
480 type = icmp6h->icmp6_type; in ndisc_send_skb()
558 .icmp6_type = NDISC_NEIGHBOUR_ADVERTISEMENT, in ndisc_send_na()
632 .icmp6_type = NDISC_NEIGHBOUR_SOLICITATION, in ndisc_send_ns()
692 .icmp6_type = NDISC_ROUTER_SOLICITATION, in ndisc_send_rs()
761 const u8 *lladdr, u8 new, u32 flags, u8 icmp6_type, in ndisc_update() argument
766 ndisc_ops_update(dev, neigh, flags, icmp6_type, ndopts); in ndisc_update()
1149 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt()
1676 .icmp6_type = NDISC_REDIRECT, in ndisc_send_redirect()
[all …]
Dping.c113 fl6.fl6_icmp_type = user_icmph.icmp6_type; in ping_v6_sendmsg()
130 pfh.icmph.type = user_icmph.icmp6_type; in ping_v6_sendmsg()
Dicmp.c97 if (icmp6->icmp6_type == ICMPV6_ECHO_REQUEST) in icmpv6_err()
159 ptr+offsetof(struct icmp6hdr, icmp6_type), in is_ineligible()
552 tmp_hdr.icmp6_type = type; in icmp6_send()
713 tmp_hdr.icmp6_type = ICMPV6_ECHO_REPLY; in icmpv6_echo_reply()
874 type = hdr->icmp6_type; in icmpv6_rcv()
Dip6_output.c427 switch (icmp6->icmp6_type) { in ip6_forward_proxy_check()
1864 u8 icmp6_type; in __ip6_make_skb() local
1867 icmp6_type = fl6->fl6_icmp_type; in __ip6_make_skb()
1869 icmp6_type = icmp6_hdr(skb)->icmp6_type; in __ip6_make_skb()
1870 ICMP6MSGOUT_INC_STATS(net, idev, icmp6_type); in __ip6_make_skb()
Ddatagram.c306 serr->ee.ee_type = icmph->icmp6_type; in ipv6_icmp_error()
Draw.c121 unsigned int type = hdr->icmp6_type; in icmpv6_filter()
Droute.c2336 if (icmph->icmp6_type != ICMPV6_DEST_UNREACH && in ip6_multipath_l3_keys()
2337 icmph->icmp6_type != ICMPV6_PKT_TOOBIG && in ip6_multipath_l3_keys()
2338 icmph->icmp6_type != ICMPV6_TIME_EXCEED && in ip6_multipath_l3_keys()
2339 icmph->icmp6_type != ICMPV6_PARAMPROB) in ip6_multipath_l3_keys()
/net/netfilter/ipset/
Dip_set_getport.c86 htons((ic->icmp6_type << 8) | ic->icmp6_code); in get_port()
/net/openvswitch/
Dflow.c413 key->tp.src = htons(icmp->icmp6_type); in parse_icmpv6()
418 (icmp->icmp6_type == NDISC_NEIGHBOUR_SOLICITATION || in parse_icmpv6()
419 icmp->icmp6_type == NDISC_NEIGHBOUR_ADVERTISEMENT)) { in parse_icmpv6()
/net/netfilter/ipvs/
Dip_vs_core.c1032 if (ic->icmp6_type & ICMPV6_INFOMSG_MASK) { in ip_vs_out_icmp_v6()
1043 ic->icmp6_type, ntohs(icmpv6_id(ic)), in ip_vs_out_icmp_v6()
1896 if (ic->icmp6_type & ICMPV6_INFOMSG_MASK) { in ip_vs_in_icmp_v6()
1907 ic->icmp6_type, ntohs(icmpv6_id(ic)), in ip_vs_in_icmp_v6()
/net/bridge/netfilter/
Dnft_reject_bridge.c278 icmp6h->icmp6_type = ICMPV6_DEST_UNREACH; in nft_reject_br_send_v6_unreach()
/net/ipv4/
Dping.c512 type = icmp6_hdr(skb)->icmp6_type; in ping_err()
697 type = ((struct icmp6hdr *) user_icmph)->icmp6_type; in ping_common_sendmsg()
/net/batman-adv/
Dmulticast.c1034 switch (icmp6_hdr(skb)->icmp6_type) { in batadv_mcast_is_report_ipv6()