/dports/net-mgmt/tcpreplay/tcpreplay-4.3.4/src/fragroute/ |
H A D | iputil.c | 49 p = (u_char *)buf + IP6_HDR_LEN; in inet_add_option_6() 55 datalen = ntohs(ip6->ip6_plen) + IP6_HDR_LEN - (p - (u_char *)buf); in inet_add_option_6() 63 ntohs(ip6->ip6_plen) + IP6_HDR_LEN + optlen + padlen > len) { in inet_add_option_6()
|
H A D | mod_print.c | 48 icmp = (struct icmp_hdr *)(p + IP6_HDR_LEN); in _print_icmp6() 68 tcp = (struct tcp_hdr *)(p + IP6_HDR_LEN); in _print_tcp() 260 udp = (struct udp_hdr *)(p + IP6_HDR_LEN); in _print_udp() 288 ext = (struct ip6_ext_hdr *)(p + IP6_HDR_LEN); in _print_frag6() 363 if (length < IP6_HDR_LEN) { in _print_ip6()
|
H A D | pkt.c | 170 if (p + IP6_HDR_LEN > pkt->pkt_end) in pkt_decorate() 174 p += IP6_HDR_LEN; in pkt_decorate()
|
H A D | mod_ip6_opt.c | 125 ext = (struct ip6_ext_hdr*)(((u_char*)pkt->pkt_ip6) + IP6_HDR_LEN); in ip6_opt_apply()
|
H A D | mod_tcp_seg.c | 107 hl = IP6_HDR_LEN; in tcp_seg_apply()
|
H A D | mod_ip_frag.c | 222 hl = IP6_HDR_LEN; in ip_frag_apply_ipv6()
|
/dports/security/barnyard2-sguil/barnyard2-2-1.13/src/sfutil/ |
H A D | sf_iph.c | 309 return IP6_HDR_LEN / 4 ; in ip6_ret_hlen() 314 return IP6_HDR_LEN / 4; in orig_ip6_ret_hlen() 363 p->actual_ip_len = ntohs(p->inner_ip6h.len) + IP6_HDR_LEN; in sfiph_build() 414 p->actual_ip_len = ntohs(p->inner_orig_ip6h.len) + IP6_HDR_LEN; in sfiph_orig_build()
|
/dports/security/barnyard2/barnyard2-2-1.13/src/sfutil/ |
H A D | sf_iph.c | 309 return IP6_HDR_LEN / 4 ; in ip6_ret_hlen() 314 return IP6_HDR_LEN / 4; in orig_ip6_ret_hlen() 363 p->actual_ip_len = ntohs(p->inner_ip6h.len) + IP6_HDR_LEN; in sfiph_build() 414 p->actual_ip_len = ntohs(p->inner_orig_ip6h.len) + IP6_HDR_LEN; in sfiph_orig_build()
|
/dports/security/nmap/nmap-7.91/libdnet-stripped/include/dnet/ |
H A D | ip6.h | 17 #define IP6_HDR_LEN 40 /* IPv6 header length */ macro 18 #define IP6_LEN_MIN IP6_HDR_LEN
|
/dports/security/snort/snort-2.9.18/src/win32/WIN32-Includes/libdnet/dnet/ |
H A D | ip6.h | 17 #define IP6_HDR_LEN 40 /* IPv6 header length */ macro 18 #define IP6_LEN_MIN IP6_HDR_LEN
|
/dports/net/py-libdnet/libdnet-1.13/include/dnet/ |
H A D | ip6.h | 17 #define IP6_HDR_LEN 40 /* IPv6 header length */ macro 18 #define IP6_LEN_MIN IP6_HDR_LEN
|
/dports/net/libdnet/libdnet-1.13/include/dnet/ |
H A D | ip6.h | 17 #define IP6_HDR_LEN 40 /* IPv6 header length */ macro 18 #define IP6_LEN_MIN IP6_HDR_LEN
|
/dports/net-mgmt/ettercap/ettercap-0.8.3.1/src/protocols/ |
H A D | ec_ip6.c | 29 #define IP6_HDR_LEN 40 macro 109 DECODED_LEN = IP6_HDR_LEN; in FUNC_DECODER() 191 PACKET->L3.len = IP6_HDR_LEN; in FUNC_DECODER()
|
/dports/security/snort/snort-2.9.18/src/sfutil/ |
H A D | sf_iph.c | 316 return IP6_HDR_LEN / 4 ; in ip6_ret_hlen() 321 return IP6_HDR_LEN / 4; in orig_ip6_ret_hlen() 484 p->actual_ip_len = ntohs(p->inner_ip6h.len) + IP6_HDR_LEN; in sfiph_build() 555 p->actual_ip_len = ntohs(p->inner_orig_ip6h.len) + IP6_HDR_LEN; in sfiph_orig_build()
|
/dports/net/py-libdnet/libdnet-1.13/src/ |
H A D | ip6.c | 27 for (i = IP6_HDR_LEN; IP6_IS_EXT(nxt); i += (ext->ext_len + 1) << 3) { in ip6_checksum()
|
/dports/net/libdnet/libdnet-1.13/src/ |
H A D | ip6.c | 27 for (i = IP6_HDR_LEN; IP6_IS_EXT(nxt); i += (ext->ext_len + 1) << 3) { in ip6_checksum()
|
/dports/security/nmap/nmap-7.91/libdnet-stripped/src/ |
H A D | ip6.c | 31 for (i = IP6_HDR_LEN; IP6_IS_EXT(nxt); i += (ext->ext_len + 1) << 3) { in ip6_checksum()
|
/dports/security/nmap/nmap-7.91/libnetutil/ |
H A D | netutil.cc | 4352 if (head->caplen < offset + IP6_HDR_LEN + ICMPV6_HDR_LEN) in accept_ns() 4355 icmp6_header = (struct icmpv6_hdr *)(p + offset + IP6_HDR_LEN); in accept_ns() 4384 na = (struct icmpv6_msg_nd *)(p + offset + IP6_HDR_LEN + ICMPV6_HDR_LEN); in read_ns_reply_pcap() 4399 trace_callback(2, (u8 *) p + offset, IP6_HDR_LEN + ICMPV6_HDR_LEN + 4 + 16 + 8, rcvdtime); in read_ns_reply_pcap() 4427 u8 frame[ETH_HDR_LEN + IP6_HDR_LEN + ICMPV6_HDR_LEN + 4 + 16 + 8]; in doND() 4477 …icmpv6_pack_hdr_ns_mac(frame + ETH_HDR_LEN + IP6_HDR_LEN, target_sin6->sin6_addr.s6_addr, *srcmac); in doND() 4478 ip6_checksum(frame + ETH_HDR_LEN, IP6_HDR_LEN + ICMPV6_HDR_LEN + 4 + 16 + 8); in doND() 4491 … traceND_callback(1, (u8 *) frame + ETH_HDR_LEN, IP6_HDR_LEN + ICMPV6_HDR_LEN + 4 + 16 + 8, &now); in doND()
|
/dports/security/snort/snort-2.9.18/src/ |
H A D | decode.c | 4058 if(len < IP6_HDR_LEN) in DecodeIPV6() 4094 payload_len = ntohs(hdr->ip6plen) + IP6_HDR_LEN; in DecodeIPV6() 4148 p->ip_data = pkt + IP6_HDR_LEN; in DecodeIPV6() 4155 DecodeIPV6Extensions(GET_IPH_PROTO(p), pkt + IP6_HDR_LEN, ntohs(p->ip6h->len), p); in DecodeIPV6() 4481 if ( len < IP6_HDR_LEN ) in DecodeICMPEmbeddedIP6() 4516 "%lu\n", (unsigned long)IP6_HDR_LEN);); in DecodeICMPEmbeddedIP6() 4521 p->orig_tcph = (TCPHdr *)(pkt + IP6_HDR_LEN); in DecodeICMPEmbeddedIP6() 4530 p->orig_udph = (UDPHdr *)(pkt + IP6_HDR_LEN); in DecodeICMPEmbeddedIP6() 4539 p->orig_icmph = (ICMPHdr *)(pkt + IP6_HDR_LEN); in DecodeICMPEmbeddedIP6()
|
H A D | decode.h | 1179 #define IP6_HDR_LEN 40 macro
|
/dports/security/barnyard2/barnyard2-2-1.13/src/ |
H A D | decode.c | 3822 if(len < IP6_HDR_LEN) in DecodeICMPEmbeddedIP6() 4384 if(len < IP6_HDR_LEN) in DecodeIPV6() 4408 (hdr->ip6vfc >> 4), hdr->ip6plen + IP6_HDR_LEN); in DecodeIPV6() 4451 payload_len = ntohs(hdr->ip6plen) + IP6_HDR_LEN; in DecodeIPV6() 4521 p->ip_data = pkt + IP6_HDR_LEN; in DecodeIPV6() 4524 DecodeIPV6Extensions(GET_IPH_PROTO(p), pkt + IP6_HDR_LEN, ntohs(p->ip6h->len), p); in DecodeIPV6()
|
H A D | decode.h | 1016 #define IP6_HDR_LEN 40 macro
|
/dports/security/barnyard2-sguil/barnyard2-2-1.13/src/ |
H A D | decode.c | 3822 if(len < IP6_HDR_LEN) in DecodeICMPEmbeddedIP6() 4384 if(len < IP6_HDR_LEN) in DecodeIPV6() 4408 (hdr->ip6vfc >> 4), hdr->ip6plen + IP6_HDR_LEN); in DecodeIPV6() 4451 payload_len = ntohs(hdr->ip6plen) + IP6_HDR_LEN; in DecodeIPV6() 4521 p->ip_data = pkt + IP6_HDR_LEN; in DecodeIPV6() 4524 DecodeIPV6Extensions(GET_IPH_PROTO(p), pkt + IP6_HDR_LEN, ntohs(p->ip6h->len), p); in DecodeIPV6()
|
H A D | decode.h | 1016 #define IP6_HDR_LEN 40 macro
|
/dports/security/snort/snort-2.9.18/src/dynamic-plugins/sf_engine/ |
H A D | sf_snort_packet.h | 481 #define IP6_HDR_LEN 40 macro
|