/net/6lowpan/ |
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()
|
/net/netfilter/ |
D | nf_conntrack_proto_icmpv6.c | 40 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()
|
D | xt_HMARK.c | 157 if (icmp6h->icmp6_type && icmp6h->icmp6_type < 128) { in get_inner6_hdr()
|
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() 821 if (inside->icmp6.icmp6_type == NDISC_REDIRECT) { in nf_nat_icmpv6_reply_translation()
|
/net/bridge/ |
D | br_arp_nd_proxy.c | 237 (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()
|
D | br_multicast.c | 1654 if (icmp6_hdr(skb)->icmp6_type != ICMPV6_MRDISC_ADV) in br_ip6_multicast_mrd_rcv()
|
/net/ipv6/netfilter/ |
D | nf_log_ipv6.c | 232 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()
|
D | nf_socket_ipv6.c | 42 if (icmph->icmp6_type & ICMPV6_INFOMSG_MASK) in extract_icmp6_fields()
|
D | ip6_tables.c | 1854 ic->icmp6_type, ic->icmp6_code, in icmp6_match()
|
/net/ipv6/ |
D | ndisc.c | 166 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 …]
|
D | ping.c | 113 fl6.fl6_icmp_type = user_icmph.icmp6_type; in ping_v6_sendmsg() 130 pfh.icmph.type = user_icmph.icmp6_type; in ping_v6_sendmsg()
|
D | icmp.c | 97 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()
|
D | ip6_output.c | 427 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()
|
D | datagram.c | 306 serr->ee.ee_type = icmph->icmp6_type; in ipv6_icmp_error()
|
D | raw.c | 121 unsigned int type = hdr->icmp6_type; in icmpv6_filter()
|
D | route.c | 2336 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/ |
D | ip_set_getport.c | 86 htons((ic->icmp6_type << 8) | ic->icmp6_code); in get_port()
|
/net/openvswitch/ |
D | flow.c | 413 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/ |
D | ip_vs_core.c | 1032 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/ |
D | nft_reject_bridge.c | 278 icmp6h->icmp6_type = ICMPV6_DEST_UNREACH; in nft_reject_br_send_v6_unreach()
|
/net/ipv4/ |
D | ping.c | 512 type = icmp6_hdr(skb)->icmp6_type; in ping_err() 697 type = ((struct icmp6hdr *) user_icmph)->icmp6_type; in ping_common_sendmsg()
|
/net/batman-adv/ |
D | multicast.c | 1034 switch (icmp6_hdr(skb)->icmp6_type) { in batadv_mcast_is_report_ipv6()
|