Home
last modified time | relevance | path

Searched refs:IP6_HDR_LEN (Results 1 – 25 of 27) sorted by relevance

12

/dports/net-mgmt/tcpreplay/tcpreplay-4.3.4/src/fragroute/
H A Diputil.c49 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 Dmod_print.c48 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 Dpkt.c170 if (p + IP6_HDR_LEN > pkt->pkt_end) in pkt_decorate()
174 p += IP6_HDR_LEN; in pkt_decorate()
H A Dmod_ip6_opt.c125 ext = (struct ip6_ext_hdr*)(((u_char*)pkt->pkt_ip6) + IP6_HDR_LEN); in ip6_opt_apply()
H A Dmod_tcp_seg.c107 hl = IP6_HDR_LEN; in tcp_seg_apply()
H A Dmod_ip_frag.c222 hl = IP6_HDR_LEN; in ip_frag_apply_ipv6()
/dports/security/barnyard2-sguil/barnyard2-2-1.13/src/sfutil/
H A Dsf_iph.c309 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 Dsf_iph.c309 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 Dip6.h17 #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 Dip6.h17 #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 Dip6.h17 #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 Dip6.h17 #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 Dec_ip6.c29 #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 Dsf_iph.c316 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 Dip6.c27 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 Dip6.c27 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 Dip6.c31 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 Dnetutil.cc4352 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 Ddecode.c4058 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 Ddecode.h1179 #define IP6_HDR_LEN 40 macro
/dports/security/barnyard2/barnyard2-2-1.13/src/
H A Ddecode.c3822 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 Ddecode.h1016 #define IP6_HDR_LEN 40 macro
/dports/security/barnyard2-sguil/barnyard2-2-1.13/src/
H A Ddecode.c3822 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 Ddecode.h1016 #define IP6_HDR_LEN 40 macro
/dports/security/snort/snort-2.9.18/src/dynamic-plugins/sf_engine/
H A Dsf_snort_packet.h481 #define IP6_HDR_LEN 40 macro

12