Home
last modified time | relevance | path

Searched refs:msb_dst (Results 1 – 3 of 3) sorted by relevance

/dports/security/snort3/snort3-3.1.19.0/src/codecs/ip/
H A Dcd_ipv4.cc361 uint8_t msb_src, msb_dst; in IP4AddrTests() local
380 msb_dst = (uint8_t)(iph->ip_dst >> 24); in IP4AddrTests()
383 msb_dst = (uint8_t)(iph->ip_dst & 0xff); in IP4AddrTests()
386 if ( (msb_src == ip::IP4_LOOPBACK) || (msb_dst == ip::IP4_LOOPBACK) ) in IP4AddrTests()
394 if ( msb_dst == ip::IP4_THIS_NET ) in IP4AddrTests()
399 msb_dst >>= 4; in IP4AddrTests()
409 … if ( msb_dst == ip::IP4_RESERVED || sfvar_ip_in(MulticastReservedIp, snort.ip_api.get_dst()) ) in IP4AddrTests()
H A Dcd_icmp4.cc272 uint8_t msb_dst = (uint8_t)(dst >> 24); in ICMP4AddrTests() local
274 uint8_t msb_dst = (uint8_t)(dst & 0xff); in ICMP4AddrTests() local
278 msb_dst >>= 4; in ICMP4AddrTests()
280 if ( msb_dst == ip::IP4_MULTICAST ) in ICMP4AddrTests()
/dports/security/snort/snort-2.9.18/src/
H A Ddecode.c2148 uint8_t msb_src, msb_dst; in IP4AddrTests() local
2190 msb_dst = (p->iph->ip_dst.s_addr >> 24); in IP4AddrTests()
2193 msb_dst = (uint8_t)(p->iph->ip_dst.s_addr & 0xff); in IP4AddrTests()
2207 if ( msb_dst == IP4_THIS_NET ) in IP4AddrTests()
2212 msb_dst >>= 4; in IP4AddrTests()
2229 if ( msb_dst == IP4_RESERVED || in IP4AddrTests()
2239 uint8_t msb_dst; in ICMP4AddrTests() local
2251 msb_dst = (uint8_t)(dst >> 24); in ICMP4AddrTests()
2253 msb_dst = (uint8_t)(dst & 0xff); in ICMP4AddrTests()
2257 msb_dst >>= 4; in ICMP4AddrTests()
[all …]