Home
last modified time | relevance | path

Searched refs:ip6_plen (Results 1 – 25 of 269) sorted by relevance

1234567891011

/dports/net/packter-agent/PackterAgent-2.5/src/
H A Dpt_ip6.c90 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 Dproto_ip6.h20 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
/dports/net-mgmt/tcpreplay/tcpreplay-4.3.4/src/fragroute/
H A Diputil.c55 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 Dmod_ip6_opt.c178 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 Dpackets.c140 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 Dchecksum.h36 struct iovec iov = { (void *)icmp6, ntohs (ip6->ip6_plen) }; in icmp6_checksum()
H A Dmire.c132 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 Docaticmp.c111 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 Docateth.c273 …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 Docatresolv.c54 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 Dprint-frag6.c49 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 Dnasl_packet_forgery_v6.c255 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 Dcapture_packet.c258 ip6->ip6_plen = ntohs (ip6->ip6_plen); in capture_next_v6_packet()
/dports/misc/rump/buildrump.sh-b914579/src/sys/netinet6/
H A Dfrag6.c148 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 Din6_offload.c169 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 Djumbo6.c895 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 Dtcp_packet.cc50 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 Dtcp_packet.cc49 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 Dip6.h53 #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 Dip6.h51 #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 Dip6.h53 #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 Dip6.h53 #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 Dipv6.c74 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 Dip_rcmd_pxy.c249 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 Dqbone_packet_processor_test_tools.cc16 header.ip6_plen = htons(body.size()); in PrependIPv6HeaderForTest()

1234567891011