Searched refs:icmpv6h (Results 1 – 9 of 9) sorted by relevance
102 #define ICMPV6_GET_TYPE(p) (p)->icmpv6h->type104 #define ICMPV6_GET_CODE(p) (p)->icmpv6h->code106 #define ICMPV6_GET_RAW_CSUM(p) SCNtohs((p)->icmpv6h->csum)107 #define ICMPV6_GET_CSUM(p) (p)->icmpv6h->csum117 #define ICMPV6_GET_UNUSED(p) (p)->icmpv6h->icmpv6b.icmpv6e.unused119 #define ICMPV6_GET_ERROR_PTR(p) (p)->icmpv6h->icmpv6b.icmpv6e.error_ptr122 #define ICMPV6_HAS_MTU(p) ((p)->icmpv6h->type == ICMP6_PACKET_TOO_BIG)124 #define ICMPV6_GET_MTU(p) SCNtohl((p)->icmpv6h->icmpv6b.icmpv6e.mtu)190 (p)->icmpv6h = NULL; \
108 if (p->icmpv6h == NULL) { in GetData()112 if (((uint8_t *)p->icmpv6h + (ptrdiff_t)hlen) > in GetData()116 ((uint8_t *)p->icmpv6h + (ptrdiff_t)hlen), in GetData()122 const uint8_t *data = (const uint8_t *)p->icmpv6h; in GetData()
213 p->icmpv6h->code); in DecodeICMPV6()280 p->icmpv6h->icmpv6b.icmpv6i.id, p->icmpv6h->icmpv6b.icmpv6i.seq); in DecodeICMPV6()293 p->icmpv6h->icmpv6b.icmpv6i.id, p->icmpv6h->icmpv6b.icmpv6i.seq); in DecodeICMPV6()629 FAIL_IF(p->icmpv6h == NULL); in ICMPV6ParamProbTest01()744 FAIL_IF_NULL(p->icmpv6h); in ICMPV6TimeExceedTest01()803 FAIL_IF_NULL(p->icmpv6h); in ICMPV6DestUnreachTest01()850 FAIL_IF_NULL(p->icmpv6h); in ICMPV6EchoReqTest01()896 FAIL_IF_NULL(p->icmpv6h); in ICMPV6EchoRepTest01()949 FAIL_IF_NULL(p->icmpv6h); in ICMPV6ParamProbTest02()992 FAIL_IF_NULL(p->icmpv6h); in ICMPV6PktTooBigTest02()[all …]
811 … if (p->ip6h == NULL || p->icmpv6h == NULL || p->proto != IPPROTO_ICMPV6 || PKT_IS_PSEUDOPKT(p) || in DetectICMPV6CsumMatch()812 (GET_PKT_LEN(p) - ((uint8_t *)p->icmpv6h - GET_PKT_DATA(p))) <= 0) { in DetectICMPV6CsumMatch()822 ((uint8_t *)p->icmpv6h - (uint8_t *)p->ip6h - IPV6_HEADER_LEN); in DetectICMPV6CsumMatch()824 (uint16_t *)p->icmpv6h, in DetectICMPV6CsumMatch()828 if (p->level4_comp_csum == p->icmpv6h->csum && cd->valid == 1) in DetectICMPV6CsumMatch()830 else if (p->level4_comp_csum != p->icmpv6h->csum && cd->valid == 0) in DetectICMPV6CsumMatch()
84 BUG_ON((p)->icmpv6h == NULL); \
183 } else if (p->icmpv6h != NULL) { in FlowInit()
263 #define PKT_IS_ICMPV6(p) (((p)->icmpv6h != NULL))538 ICMPV6Hdr *icmpv6h; member805 if ((p)->icmpv6h != NULL) { \
920 if (p->icmpv6h) { in CreateEveHeader()921 jb_set_uint(js, "icmp_type", p->icmpv6h->type); in CreateEveHeader()922 jb_set_uint(js, "icmp_code", p->icmpv6h->code); in CreateEveHeader()
110 Bug #4336: ICMPv6 failed assert p->icmpv6h == NULL with icmpv6.hdr