/dports/net/packter-agent/PackterAgent-2.5/src/ |
H A D | pt_ip6.c | 90 packter_tcp((u_char *)(p + ntohs(ip6->ip6_plen)), in packter_ip6() 91 (u_int)(len - ntohs(ip6->ip6_plen)), in packter_ip6() 96 packter_udp((u_char *)(p + ntohs(ip6->ip6_plen)), in packter_ip6() 97 (u_int)(len - ntohs(ip6->ip6_plen)), in packter_ip6() 102 packter_icmp6((u_char *)(p + ntohs(ip6->ip6_plen)), in packter_ip6() 103 (u_int)(len - ntohs(ip6->ip6_plen)), in packter_ip6()
|
H A D | proto_ip6.h | 20 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
|
/dports/net-mgmt/tcpreplay/tcpreplay-4.3.4/src/fragroute/ |
H A D | iputil.c | 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() 83 ip6->ip6_plen = htons(ntohs(ip6->ip6_plen) + optlen); in inet_add_option_6()
|
H A D | mod_ip6_opt.c | 178 pkt->pkt_ip6->ip6_plen = htons(htons(pkt->pkt_ip6->ip6_plen) + offset); in ip6_opt_apply()
|
/dports/net/miredo/miredo-1.2.6/libteredo/ |
H A D | packets.c | 140 rs.ip6.ip6_plen = htons (sizeof (rs) - sizeof (rs.ip6)); in teredo_send_rs() 166 size_t length = ntohs (ip6->ip6_plen); in teredo_parse_ra() 285 ping.ip6.ip6_plen = htons (sizeof (ping.icmp6) + PING_PAYLOAD); in SendPing() 312 size_t length = ntohs (ip6->ip6_plen); in CheckPing() 342 length = ntohs (ip6->ip6_plen); in CheckPing() 448 out->ip6_plen = htons (len);
|
H A D | checksum.h | 36 struct iovec iov = { (void *)icmp6, ntohs (ip6->ip6_plen) }; in icmp6_checksum()
|
H A D | mire.c | 132 ip6.ip6_plen = htons (sizeof (struct icmp6_hdr) + plen); in process_unknown() 171 plen = ntohs (ip6->ip6_plen); in recv_packet()
|
/dports/net/onioncat/onioncat-0.3.9/src/ |
H A D | ocaticmp.c | 111 hdr->ip6_plen = htons(ECHO_SIZE - sizeof(struct ip6_hdr)); in ocat_echo_request() 125 ckb = malloc_ckbuf(hdr->ip6_src, hdr->ip6_dst, ntohs(hdr->ip6_plen), IPPROTO_ICMPV6, icmp); in ocat_echo_request() 126 icmp->icmp6_cksum = checksum(ckb, ntohs(hdr->ip6_plen) + sizeof(struct ip6_psh)); in ocat_echo_request()
|
H A D | ocateth.c | 273 …ndp6->ip6.ip6_plen = htons(sizeof(struct nd_neighbor_advert) + sizeof(struct nd_opt_hdr) + ETHER_A… in ndp_solicit() 291 …ckb = malloc_ckbuf(ndp6->ip6.ip6_src, ndp6->ip6.ip6_dst, ntohs(ndp6->ip6.ip6_plen), IPPROTO_ICMPV6… in ndp_solicit() 292 ndp6->icmp6.icmp6_cksum = checksum(ckb, ntohs(ndp6->ip6.ip6_plen) + sizeof(struct ip6_psh)); in ndp_solicit() 361 …ckb = malloc_ckbuf(ndp6->ip6.ip6_src, ndp6->ip6.ip6_dst, ntohs(ndp6->ip6.ip6_plen), IPPROTO_ICMPV6… in ndp_soladv() 362 cksum = checksum(ckb, ntohs(ndp6->ip6.ip6_plen) + sizeof(struct ip6_psh)); in ndp_soladv() 415 …ckb = malloc_ckbuf(ndp6->ip6.ip6_src, ndp6->ip6.ip6_dst, ntohs(ndp6->ip6.ip6_plen), IPPROTO_ICMPV6… in ndp_soladv() 416 …ndp6->ndp_adv.nd_na_hdr.icmp6_cksum = checksum(ckb, ntohs(ndp6->ip6.ip6_plen) + sizeof(struct ip6_… in ndp_soladv()
|
H A D | ocatresolv.c | 54 ckbuf = malloc_ckbuf(ip6->ip6_src, ip6->ip6_dst, ntohs(ip6->ip6_plen), IPPROTO_UDP, udp); in check_dns() 55 sum = checksum(ckbuf, ntohs(ip6->ip6_plen) + sizeof(struct ip6_psh)); in check_dns()
|
/dports/net/tcpdump/tcpdump-4.99.1/ |
H A D | print-frag6.c | 49 sizeof(struct ip6_hdr) + GET_BE_U_2(ip6->ip6_plen) - in frag6_print() 54 sizeof(struct ip6_hdr) + GET_BE_U_2(ip6->ip6_plen) - in frag6_print()
|
/dports/security/openvas/openvas-scanner-21.4.3/nasl/ |
H A D | nasl_packet_forgery_v6.c | 255 ret_int = UNFIX (ip6->ip6_plen); in get_ip_v6_element() 330 pkt->ip6_plen = get_int_var_by_name (lexic, "ip6_plen", pkt->ip6_plen); in set_ip_v6_elements() 442 pl = 40 < UNFIX (ip6->ip6_plen) ? 40 : UNFIX (ip6->ip6_plen); in insert_ip_v6_options() 467 new_packet->ip6_plen = in insert_ip_v6_options() 657 if (UNFIX (ip6->ip6_plen) > ipsz) in get_tcp_v6_element() 827 if (UNFIX (ip6->ip6_plen) > ipsz) in get_tcp_v6_option() 932 if (pktsz < UNFIX (ip6->ip6_plen)) in set_tcp_v6_elements() 942 bcopy (pkt, npkt, UNFIX (ip6->ip6_plen) + 40); in set_tcp_v6_elements() 1195 if (pktsz < UNFIX (ip6->ip6_plen)) in insert_tcp_v6_options() 1209 memcpy (npkt, pkt, UNFIX (ip6->ip6_plen) + 40); in insert_tcp_v6_options() [all …]
|
H A D | capture_packet.c | 258 ip6->ip6_plen = ntohs (ip6->ip6_plen); in capture_next_v6_packet()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/netinet6/ |
H A D | frag6.c | 148 if (ip6->ip6_plen == 0) { in frag6_input() 161 (((ntohs(ip6->ip6_plen) - offset) & 0x7) != 0)) { in frag6_input() 163 offsetof(struct ip6_hdr, ip6_plen)); in frag6_input() 262 frgpartlen = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen) - offset; in frag6_input() 321 ip6af->ip6af_len = ip6->ip6_plen; in frag6_input() 416 ip6->ip6_plen = htons(next + offset - sizeof(struct ip6_hdr)); in frag6_input()
|
H A D | in6_offload.c | 169 iph->ip6_plen = htons(thlen + mss); in tcp6_segment() 199 hdrlen + offsetof(struct ip6_hdr, ip6_plen); in ip6_undefer_csum()
|
/dports/security/ipv6toolkit/ipv6toolkit-v2.0/tools/ |
H A D | jumbo6.c | 895 ipv6->ip6_plen= htons(ip6length); 897 ipv6->ip6_plen= htons(0); 962 fipv6->ip6_plen = htons((fptr - fragbuffer) - MIN_IPV6_HLEN - ETHER_HDR_LEN); 965 fipv6->ip6_plen = htons(ip6length); 967 fipv6->ip6_plen= htons(0); 1153 if( pkt_end > ((unsigned char *)pkt_icmp6 + pkt_ipv6->ip6_plen) ) 1154 pkt_end = (unsigned char *)pkt_icmp6 + pkt_ipv6->ip6_plen; 1175 if( pkt_end > ((unsigned char *)pkt_icmp6 + pkt_ipv6->ip6_plen) ) 1176 pkt_end = (unsigned char *)pkt_icmp6 + pkt_ipv6->ip6_plen;
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/third_party/quiche/src/quic/qbone/platform/ |
H A D | tcp_packet.cc | 50 ip6_header->ip6_plen) < sizeof(tcphdr))) { in CreateTcpResetPacket() 64 tcp_packet.ip_header.ip6_plen = in CreateTcpResetPacket()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/third_party/quiche/src/quic/qbone/platform/ |
H A D | tcp_packet.cc | 49 ip6_header->ip6_plen) < sizeof(tcphdr))) { in CreateTcpResetPacket() 63 tcp_packet.ip_header.ip6_plen = in CreateTcpResetPacket()
|
/dports/security/nmap/nmap-7.91/libdnet-stripped/include/dnet/ |
H A D | ip6.h | 53 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro 170 ip6->ip6_plen = htons((plen)); \
|
/dports/security/snort/snort-2.9.18/src/win32/WIN32-Includes/libdnet/dnet/ |
H A D | ip6.h | 51 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro 168 ip6->ip6_plen = htons((plen)); \
|
/dports/net/py-libdnet/libdnet-1.13/include/dnet/ |
H A D | ip6.h | 53 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro 170 ip6->ip6_plen = htons((plen)); \
|
/dports/net/libdnet/libdnet-1.13/include/dnet/ |
H A D | ip6.h | 53 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro 170 ip6->ip6_plen = htons((plen)); \
|
/dports/net-mgmt/sendip/sendip-2.5/ |
H A D | ipv6.c | 74 hdr->ip6_plen = htons((u_int16_t)strtoul(arg, (char **)NULL, 0)); in do_opt() 111 ipv6->ip6_plen = htons(data->alloc_len); in finalize()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/external/bsd/ipf/netinet/ |
H A D | ip_rcmd_pxy.c | 249 slen = ip6->ip6_plen; in ipf_p_rcmd_portmsg() 250 ip6->ip6_plen = htons(sizeof(*tcp)); in ipf_p_rcmd_portmsg() 304 ip6->ip6_plen = slen; in ipf_p_rcmd_portmsg()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/third_party/quiche/src/quic/qbone/ |
H A D | qbone_packet_processor_test_tools.cc | 16 header.ip6_plen = htons(body.size()); in PrependIPv6HeaderForTest()
|