Lines Matching refs:icp
726 struct icmp6_hdr *icp, size_t len) in ipv6nd_handlera() argument
801 nd_ra = (struct nd_router_advert *)icp; in ipv6nd_handlera()
806 memcmp(rap->data, (unsigned char *)icp, rap->data_len) != 0)) in ipv6nd_handlera()
842 memcpy(rap->data, icp, len); in ipv6nd_handlera()
868 p = ((uint8_t *)icp) + sizeof(struct nd_router_advert); in ipv6nd_handlera()
1553 struct icmp6_hdr *icp, size_t len) in ipv6nd_handlena() argument
1576 nd_na = (struct nd_neighbor_advert *)icp; in ipv6nd_handlena()
1636 struct icmp6_hdr *icp; in ipv6nd_handledata() local
1696 icp = (struct icmp6_hdr *)ctx->rcvhdr.msg_iov[0].iov_base; in ipv6nd_handledata()
1697 if (icp->icmp6_code == 0) { in ipv6nd_handledata()
1698 switch(icp->icmp6_type) { in ipv6nd_handledata()
1700 ipv6nd_handlena(dctx, ifp, icp, (size_t)len); in ipv6nd_handledata()
1703 ipv6nd_handlera(dctx, ifp, icp, (size_t)len); in ipv6nd_handledata()
1709 icp->icmp6_type, icp->icmp6_code, ctx->sfrom); in ipv6nd_handledata()