Searched refs:icmp6_type (Results 1 - 25 of 47) sorted by relevance

12

/linux-master/net/6lowpan/
H A Dndisc.c57 u8 icmp6_type,
63 switch (icmp6_type) {
103 struct neighbour *n, u32 flags, u8 icmp6_type,
111 lowpan_ndisc_802154_update(n, flags, icmp6_type, ndopts);
115 u8 icmp6_type, struct neighbour *neigh,
125 switch (icmp6_type) {
156 struct sk_buff *skb, u8 icmp6_type,
166 switch (icmp6_type) {
56 lowpan_ndisc_802154_update(struct neighbour *n, u32 flags, u8 icmp6_type, const struct ndisc_options *ndopts) argument
102 lowpan_ndisc_update(const struct net_device *dev, struct neighbour *n, u32 flags, u8 icmp6_type, const struct ndisc_options *ndopts) argument
114 lowpan_ndisc_opt_addr_space(const struct net_device *dev, u8 icmp6_type, struct neighbour *neigh, u8 *ha_buf, u8 **ha) argument
155 lowpan_ndisc_fill_addr_option(const struct net_device *dev, struct sk_buff *skb, u8 icmp6_type, const u8 *ha) argument
/linux-master/include/net/
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
H A Dndisc.h164 * u32 flags, u8 icmp6_type,
170 * int (*opt_addr_space)(const struct net_device *dev, u8 icmp6_type,
178 * struct sk_buff *skb, u8 icmp6_type,
208 u32 flags, u8 icmp6_type,
210 int (*opt_addr_space)(const struct net_device *dev, u8 icmp6_type,
214 struct sk_buff *skb, u8 icmp6_type,
248 u8 icmp6_type,
252 dev->ndisc_ops->update(dev, n, flags, icmp6_type, ndopts);
256 u8 icmp6_type)
259 icmp6_type !
246 ndisc_ops_update(const struct net_device *dev, struct neighbour *n, u32 flags, u8 icmp6_type, const struct ndisc_options *ndopts) argument
255 ndisc_ops_opt_addr_space(const struct net_device *dev, u8 icmp6_type) argument
277 ndisc_ops_fill_addr_option(const struct net_device *dev, struct sk_buff *skb, u8 icmp6_type) argument
335 ndisc_opt_addr_space(struct net_device *dev, u8 icmp6_type) argument
[all...]
/linux-master/net/netfilter/
H A Dnf_conntrack_proto_icmpv6.c42 tuple->dst.u.icmp.type = hp->icmp6_type;
205 type = icmp6h->icmp6_type - 130;
212 if (icmp6h->icmp6_type == NDISC_REDIRECT)
216 if (icmp6h->icmp6_type >= 128)
H A Dxt_HMARK.c157 if (icmp6h->icmp6_type && icmp6h->icmp6_type < 128) {
H A Dxt_tcpudp.c238 ic->icmp6_type, ic->icmp6_code,
H A Dnf_log_syslog.c722 ic->icmp6_type, ic->icmp6_code);
724 switch (ic->icmp6_type) {
754 if (ic->icmp6_type == ICMPV6_PKT_TOOBIG) {
/linux-master/net/bridge/
H A Dbr_arp_nd_proxy.c242 (m->icmph.icmp6_type != NDISC_NEIGHBOUR_SOLICITATION &&
243 m->icmph.icmp6_type != NDISC_NEIGHBOUR_ADVERTISEMENT))
323 na->icmph.icmp6_type = NDISC_NEIGHBOUR_ADVERTISEMENT;
413 if (msg->icmph.icmp6_type == NDISC_NEIGHBOUR_ADVERTISEMENT &&
420 if (msg->icmph.icmp6_type != NDISC_NEIGHBOUR_SOLICITATION)
/linux-master/net/netfilter/ipset/
H A Dip_set_getport.c86 htons((ic->icmp6_type << 8) | ic->icmp6_code);
/linux-master/include/uapi/linux/
H A Dicmpv6.h10 __u8 icmp6_type; member in struct:icmp6hdr
/linux-master/net/ipv6/
H A Dicmp.c88 if (icmp6->icmp6_type == ICMPV6_ECHO_REQUEST)
152 ptr+offsetof(struct icmp6hdr, icmp6_type),
581 tmp_hdr.icmp6_type = type;
744 if (icmph->icmp6_type == ICMPV6_EXT_ECHO_REQUEST)
750 tmp_hdr.icmp6_type = type;
799 if (icmph->icmp6_type == ICMPV6_EXT_ECHO_REQUEST)
932 type = hdr->icmp6_type;
H A Dndisc.c169 const void *data, u8 icmp6_type)
173 ndisc_ops_fill_addr_option(skb->dev, skb, icmp6_type);
482 type = icmp6h->icmp6_type;
561 .icmp6_type = NDISC_NEIGHBOUR_ADVERTISEMENT,
629 .icmp6_type = NDISC_NEIGHBOUR_SOLICITATION,
710 .icmp6_type = NDISC_ROUTER_SOLICITATION,
779 const u8 *lladdr, u8 new, u32 flags, u8 icmp6_type,
784 ndisc_ops_update(dev, neigh, flags, icmp6_type, ndopts);
1214 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type;
1774 .icmp6_type
168 ndisc_fill_addr_option(struct sk_buff *skb, int type, const void *data, u8 icmp6_type) argument
778 ndisc_update(const struct net_device *dev, struct neighbour *neigh, const u8 *lladdr, u8 new, u32 flags, u8 icmp6_type, struct ndisc_options *ndopts) argument
[all...]
H A Dping.c148 fl6.fl6_icmp_type = user_icmph.icmp6_type;
164 pfh.icmph.type = user_icmph.icmp6_type;
H A Dip6_output.c432 switch (icmp6->icmp6_type) {
1933 u8 icmp6_type; local
1937 icmp6_type = fl6->fl6_icmp_type;
1939 icmp6_type = icmp6_hdr(skb)->icmp6_type;
1940 ICMP6MSGOUT_INC_STATS(net, idev, icmp6_type);
/linux-master/net/ipv6/netfilter/
H A Dnf_socket_ipv6.c42 if (icmph->icmp6_type & ICMPV6_INFOMSG_MASK)
H A Dip6t_NPT.c86 if (!icmpv6_is_err(icmp6_hdr(skb)->icmp6_type))
/linux-master/tools/testing/selftests/net/
H A Dipv6_flowlabel.c45 .icmp6_type = ICMPV6_ECHO_REQUEST
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Dsta_rx.c45 if (NDISC_NEIGHBOUR_ADVERTISEMENT == icmpv6->icmp6_type) {
/linux-master/drivers/staging/gdm724x/
H A Dgdm_lte.c260 if (icmp6_in->icmp6_type == NDISC_ROUTER_SOLICITATION) { /* Check RS */
262 } else if (icmp6_in->icmp6_type == NDISC_NEIGHBOUR_SOLICITATION) {
272 icmp6_out.icmp6_type = NDISC_NEIGHBOUR_ADVERTISEMENT;
385 if (icmp6->icmp6_type == NDISC_NEIGHBOUR_SOLICITATION)
/linux-master/drivers/net/ipvlan/
H A Dipvlan_core.c194 if (icmph->icmp6_type == NDISC_NEIGHBOUR_SOLICITATION) {
377 if (ndmh->icmph.icmp6_type == NDISC_NEIGHBOUR_SOLICITATION) {
/linux-master/net/openvswitch/
H A Dflow.c562 key->tp.src = htons(icmp->icmp6_type);
567 (icmp->icmp6_type == NDISC_NEIGHBOUR_SOLICITATION ||
568 icmp->icmp6_type == NDISC_NEIGHBOUR_ADVERTISEMENT)) {
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect.c774 if (icmp6.icmp6_type == ICMPV6_ECHO_REPLY) {
779 if (icmp6.icmp6_type == ICMPV6_ECHO_REQUEST) {
783 if (icmp6.icmp6_type != ICMPV6_PKT_TOOBIG) {
H A Dtest_cls_redirect_dynptr.c669 if (icmp6.icmp6_type == ICMPV6_ECHO_REPLY) {
674 if (icmp6.icmp6_type == ICMPV6_ECHO_REQUEST) {
678 if (icmp6.icmp6_type != ICMPV6_PKT_TOOBIG) {
H A Dtest_xdp_noinline.c435 icmp_hdr->icmp6_type = 129;
454 if (icmp_hdr->icmp6_type == 128)
456 if (icmp_hdr->icmp6_type != 3)
/linux-master/net/sctp/
H A Dipv6.c207 if (hdr->icmp6_type == NDISC_REDIRECT) {
212 if (hdr->icmp6_type == ICMPV6_PKT_TOOBIG)
214 sctp_v6_err_handle(t, skb, hdr->icmp6_type, hdr->icmp6_code, info);

Completed in 305 milliseconds

12