| /freebsd/sys/contrib/openzfs/lib/libicp/ |
| H A D | Makefile.am | 6 libicp_la_CPPFLAGS += -I$(top_srcdir)/module/icp/include 11 module/icp/spi/kcf_spi.c \ 12 module/icp/api/kcf_ctxops.c \ 13 module/icp/api/kcf_cipher.c \ 14 module/icp/api/kcf_mac.c \ 15 module/icp/algs/aes/aes_impl_aesni.c \ 16 module/icp/algs/aes/aes_impl_generic.c \ 17 module/icp/algs/aes/aes_impl_x86-64.c \ 18 module/icp/algs/aes/aes_impl.c \ 19 module/icp/algs/aes/aes_modes.c \ [all …]
|
| /freebsd/sys/netinet/ |
| H A D | ip_icmp.c | 212 struct icmp *icp; in icmp_error() local 345 icp = mtod(m, struct icmp *); in icmp_error() 347 icp->icmp_type = type; in icmp_error() 349 icp->icmp_gwaddr.s_addr = dest; in icmp_error() 351 icp->icmp_void = 0; in icmp_error() 357 icp->icmp_pptr = code; in icmp_error() 361 icp->icmp_nextmtu = htons(mtu); in icmp_error() 364 icp->icmp_code = code; in icmp_error() 370 m_copydata(n, 0, icmplen, (caddr_t)&icp->icmp_ip); in icmp_error() 371 nip = &icp->icmp_ip; in icmp_error() [all …]
|
| /freebsd/sys/dev/cxgbe/cxgbei/ |
| H A D | cxgbei.c | 200 struct icl_cxgbei_pdu *icp; in do_rx_iscsi_hdr() local 212 icp = ip_to_icp(ip); in do_rx_iscsi_hdr() 213 icp->icp_seq = ntohl(cpl->seq); in do_rx_iscsi_hdr() 214 icp->icp_flags = ICPF_RX_HDR; in do_rx_iscsi_hdr() 218 toep->ulpcb2 = icp; in do_rx_iscsi_hdr() 222 __func__, tid, len, len_ddp, icp); in do_rx_iscsi_hdr() 236 struct icl_cxgbei_pdu *icp = toep->ulpcb2; in do_rx_iscsi_data() local 242 if (icp == NULL) { in do_rx_iscsi_data() 250 icp = ip_to_icp(ip); in do_rx_iscsi_data() 253 MPASS(icp->icp_flags == ICPF_RX_HDR); in do_rx_iscsi_data() [all …]
|
| H A D | icl_cxgbei.c | 175 struct icl_cxgbei_pdu *icp = ip_to_icp(ip); in icl_cxgbei_conn_pdu_free() local 177 KASSERT(icp->ref_cnt != 0, ("freeing deleted PDU")); in icl_cxgbei_conn_pdu_free() 178 MPASS(icp->icp_signature == CXGBEI_PDU_SIGNATURE); in icl_cxgbei_conn_pdu_free() 185 KASSERT(ic != NULL || icp->ref_cnt == 1, in icl_cxgbei_conn_pdu_free() 188 if (atomic_fetchadd_int(&icp->ref_cnt, -1) != 1) in icl_cxgbei_conn_pdu_free() 191 free(icp, M_CXGBEI); in icl_cxgbei_conn_pdu_free() 201 struct icl_cxgbei_pdu *icp = ip_to_icp(ip); in icl_cxgbei_pdu_call_cb() local 203 MPASS(icp->icp_signature == CXGBEI_PDU_SIGNATURE); in icl_cxgbei_pdu_call_cb() 205 if (icp->cb != NULL) in icl_cxgbei_pdu_call_cb() 206 icp->cb(ip, icp->error); in icl_cxgbei_pdu_call_cb() [all …]
|
| /freebsd/sys/contrib/openzfs/ |
| H A D | COPYRIGHT | 18 * Skein Checksum Implementation: module/icp/algs/skein/THIRDPARTYLICENSE 19 * AES Implementation: module/icp/asm-x86_64/aes/THIRDPARTYLICENSE.gladman 20 * AES Implementation: module/icp/asm-x86_64/aes/THIRDPARTYLICENSE.openssl 23 * GCM Implementation: module/icp/asm-x86_64/modes/THIRDPARTYLICENSE.cryptogams 24 * GCM Implementation: module/icp/asm-x86_64/modes/THIRDPARTYLICENSE.openssl 25 * GHASH Implementation: module/icp/asm-x86_64/modes/THIRDPARTYLICENSE.cryptogams 26 * GHASH Implementation: module/icp/asm-x86_64/modes/THIRDPARTYLICENSE.openssl
|
| H A D | Makefile.am | 48 dist_noinst_DATA += module/icp/algs/skein/THIRDPARTYLICENSE 49 dist_noinst_DATA += module/icp/algs/skein/THIRDPARTYLICENSE.descrip 50 dist_noinst_DATA += module/icp/asm-x86_64/aes/THIRDPARTYLICENSE.gladman 51 dist_noinst_DATA += module/icp/asm-x86_64/aes/THIRDPARTYLICENSE.gladman.descrip 52 dist_noinst_DATA += module/icp/asm-x86_64/aes/THIRDPARTYLICENSE.openssl 53 dist_noinst_DATA += module/icp/asm-x86_64/aes/THIRDPARTYLICENSE.openssl.descrip 54 dist_noinst_DATA += module/icp/asm-x86_64/modes/THIRDPARTYLICENSE.cryptogams 55 dist_noinst_DATA += module/icp/asm-x86_64/modes/THIRDPARTYLICENSE.cryptogams.descrip 56 dist_noinst_DATA += module/icp/asm-x86_64/modes/THIRDPARTYLICENSE.openssl 57 dist_noinst_DATA += module/icp/asm-x86_64/modes/THIRDPARTYLICENSE.openssl.descrip
|
| /freebsd/sbin/ipf/ipsend/ |
| H A D | iptests.c | 545 struct icmp *icp; in ip_test3() local 555 ip->ip_len = sizeof(*ip) + sizeof(*icp); in ip_test3() 556 icp = (struct icmp *)((char *)ip + (IP_HL(ip) << 2)); in ip_test3() 566 bzero((char *)icp, sizeof(*icp)); in ip_test3() 568 icp->icmp_type = i; in ip_test3() 573 icp->icmp_type = 255; in ip_test3() 584 icp->icmp_type = 3; in ip_test3() 586 icp->icmp_code = i; in ip_test3() 597 icp->icmp_type = 4; in ip_test3() 598 icp->icmp_code = 0; in ip_test3() [all …]
|
| /freebsd/sbin/ping/ |
| H A D | ping.c | 1008 struct icmp icp; in pinger() local 1013 memcpy(&icp, outpack, ICMP_MINLEN + phdr_len); in pinger() 1014 icp.icmp_type = icmp_type; in pinger() 1015 icp.icmp_code = 0; in pinger() 1016 icp.icmp_cksum = 0; in pinger() 1017 icp.icmp_seq = htons(ntransmitted); in pinger() 1018 icp.icmp_id = ident; /* ID */ in pinger() 1039 icp.icmp_otime = htonl((now.tv_sec % (24*60*60)) in pinger() 1048 memcpy(outpack, &icp, ICMP_MINLEN + phdr_len); in pinger() 1053 icp.icmp_cksum = in_cksum(outpack, cc); in pinger() [all …]
|
| H A D | ping6.c | 1293 struct icmp6_hdr *icp; in pinger() local 1302 icp = (struct icmp6_hdr *)outpack; in pinger() 1304 memset(icp, 0, sizeof(*icp)); in pinger() 1305 icp->icmp6_cksum = 0; in pinger() 1312 icp->icmp6_type = ICMP6_NI_QUERY; in pinger() 1313 icp->icmp6_code = ICMP6_NI_SUBJ_IPV6; in pinger() 1329 icp->icmp6_type = ICMP6_NI_QUERY; in pinger() 1330 icp->icmp6_code = 0; /* code field is always 0 */ in pinger() 1344 icp->icmp6_type = ICMP6_NI_QUERY; in pinger() 1345 icp->icmp6_code = ICMP6_NI_SUBJ_IPV6; in pinger() [all …]
|
| /freebsd/sys/contrib/openzfs/module/ |
| H A D | Kbuild.in | 11 icp_include = @abs_srcdir@/icp/include 20 icp_include = $(src)/icp/include 174 zfs-objs += $(addprefix icp/,$(ICP_OBJS)) 175 zfs-$(CONFIG_X86) += $(addprefix icp/,$(ICP_OBJS_X86)) 176 zfs-$(CONFIG_UML_X86)+= $(addprefix icp/,$(ICP_OBJS_X86)) 177 zfs-$(CONFIG_X86_64) += $(addprefix icp/,$(ICP_OBJS_X86_64)) 178 zfs-$(CONFIG_ARM) += $(addprefix icp/,$(ICP_OBJS_ARM)) 179 zfs-$(CONFIG_ARM64) += $(addprefix icp/,$(ICP_OBJS_ARM64)) 180 zfs-$(CONFIG_PPC) += $(addprefix icp/,$(ICP_OBJS_PPC_PPC64)) 181 zfs-$(CONFIG_PPC64) += $(addprefix icp/,$(ICP_OBJS_PPC_PPC64)) [all …]
|
| H A D | Makefile.bsd | 15 ${SRCDIR}/icp/algs/blake3 \ 16 ${SRCDIR}/icp/algs/edonr \ 17 ${SRCDIR}/icp/algs/sha2 \ 18 ${SRCDIR}/icp/asm-aarch64/blake3 \ 19 ${SRCDIR}/icp/asm-aarch64/sha2 \ 20 ${SRCDIR}/icp/asm-arm/sha2 \ 21 ${SRCDIR}/icp/asm-ppc64/sha2 \ 22 ${SRCDIR}/icp/asm-ppc64/blake3 \ 23 ${SRCDIR}/icp/asm-x86_64/blake3 \ 24 ${SRCDIR}/icp/asm-x86_64/sha2 \ [all …]
|
| /freebsd/contrib/libpcap/ |
| H A D | gencode.h | 386 #define isMarked(icp, p) ((p)->mark == (icp)->cur_mark) argument 387 #define unMarkAll(icp) (icp)->cur_mark += 1 argument 388 #define Mark(icp, p) ((p)->mark = (icp)->cur_mark) argument
|
| /freebsd/sys/modules/zfs/ |
| H A D | Makefile | 8 ${SRCDIR}/icp/algs/blake3 \ 9 ${SRCDIR}/icp/algs/edonr \ 10 ${SRCDIR}/icp/algs/sha2 \ 11 ${SRCDIR}/icp/asm-aarch64/blake3 \ 12 ${SRCDIR}/icp/asm-aarch64/sha2 \ 13 ${SRCDIR}/icp/asm-arm/sha2 \ 14 ${SRCDIR}/icp/asm-ppc64/sha2 \ 15 ${SRCDIR}/icp/asm-ppc64/blake3 \ 16 ${SRCDIR}/icp/asm-x86_64/blake3 \ 17 ${SRCDIR}/icp/asm-x86_64/modes \ [all …]
|
| /freebsd/stand/libsa/zfs/ |
| H A D | Makefile.inc | 8 .PATH: ${ZFSTOP}/module/icp/asm-aarch64/blake3 9 .PATH: ${ZFSTOP}/module/icp/algs/blake3 89 CFLAGS.blake3_impl.c+= -I${ZFSTOP}/module/icp/algs/blake3 -I${ZFSTOP}/module/icp/include -DIN_LIBSA
|
| /freebsd/usr.sbin/traceroute6/ |
| H A D | traceroute6.c | 1110 struct icmp6_hdr *icp; in send_probe() local 1129 icp = (struct icmp6_hdr *)outpacket; in send_probe() 1131 icp->icmp6_type = ICMP6_ECHO_REQUEST; in send_probe() 1132 icp->icmp6_code = 0; in send_probe() 1133 icp->icmp6_cksum = 0; in send_probe() 1134 icp->icmp6_id = ident; in send_probe() 1135 icp->icmp6_seq = htons(seq); in send_probe() 1330 struct icmp6_hdr *icp; in packet_ok() local 1356 icp = (struct icmp6_hdr *)(buf + hlen); in packet_ok() 1367 icp = (struct icmp6_hdr *)buf; in packet_ok() [all …]
|
| /freebsd/usr.sbin/rtsold/ |
| H A D | rtsol.c | 170 struct icmp6_hdr *icp; in rtsol_input() local 233 icp = (struct icmp6_hdr *)iov.iov_base; in rtsol_input() 234 if (icp->icmp6_type != ND_ROUTER_ADVERT) { in rtsol_input() 240 "invalid icmp type(%d) from %s on %s", icp->icmp6_type, in rtsol_input() 247 if (icp->icmp6_code != 0) { in rtsol_input() 249 "invalid icmp code(%d) from %s on %s", icp->icmp6_code, in rtsol_input() 291 nd_ra = (struct nd_router_advert *)icp; in rtsol_input() 358 raoptp = (char *)icp + sizeof(struct nd_router_advert); in rtsol_input() 359 while (raoptp < (char *)icp + msglen) { in rtsol_input() 371 if ((char *)RA_OPT_NEXT_HDR(raoptp) > (char *)icp + msglen) { in rtsol_input()
|
| /freebsd/cddl/usr.bin/ztest/ |
| H A D | Makefile | 18 -I${ZFSTOP}/module/icp/include \ 24 LIBADD= geom m nvpair umem zpool pthread avl zfs_core spl zutil zfs icp
|
| /freebsd/usr.sbin/traceroute/ |
| H A D | traceroute.c | 1356 register struct icmp *icp; in packet_ok() local 1371 icp = (struct icmp *)(buf + hlen); in packet_ok() 1373 icp = (struct icmp *)buf; in packet_ok() 1375 type = icp->icmp_type; in packet_ok() 1376 code = icp->icmp_code; in packet_ok() 1381 pmtu = ntohs(icp->icmp_nextmtu); in packet_ok() 1385 && (*proto->check)((u_char *)icp, (u_char)seq)) in packet_ok() 1391 hip = &icp->icmp_ip; in packet_ok() 1392 hiplen = ((u_char *)icp + cc) - (u_char *)hip; in packet_ok() 1403 u_int32_t *lp = (u_int32_t *)&icp->icmp_ip; in packet_ok() [all …]
|
| /freebsd/usr.sbin/rtadvd/ |
| H A D | rtadvd.c | 724 struct icmp6_hdr *icp; in rtadvd_input() local 793 icp = (struct icmp6_hdr *)(ip + 1); /* XXX: ext. hdr? */ in rtadvd_input() 800 icp = (struct icmp6_hdr *)rcvmhdr.msg_iov[0].iov_base; in rtadvd_input() 803 switch (icp->icmp6_type) { in rtadvd_input() 820 if (icp->icmp6_code) { in rtadvd_input() 824 icp->icmp6_code, in rtadvd_input() 839 rs_input(i, (struct nd_router_solicit *)icp, pi, &rcvfrom); in rtadvd_input() 865 if (icp->icmp6_code) { in rtadvd_input() 869 icp->icmp6_code, in rtadvd_input() 884 ra_input(i, (struct nd_router_advert *)icp, pi, &rcvfrom); in rtadvd_input() [all …]
|
| /freebsd/cddl/lib/libzfs/ |
| H A D | Makefile | 1 .PATH: ${ZFSTOP}/module/icp 97 CFLAGS+= -I${ZFSTOP}/module/icp/include
|
| /freebsd/cddl/lib/libicp/ |
| H A D | Makefile | 1 .PATH: ${ZFSTOP}/module/icp 6 LIB= icp 105 CFLAGS+= -I${ZFSTOP}/module/icp/include
|
| /freebsd/sys/contrib/device-tree/Bindings/mmc/ |
| H A D | sdhci-am654.txt | 37 - ti,trm-icp: DLL trim select 60 ti,trm-icp = <0x8>;
|
| /freebsd/sbin/bectl/ |
| H A D | Makefile | 23 CFLAGS+= -I${ZFSTOP}/module/icp/include
|
| /freebsd/cddl/usr.bin/zinject/ |
| H A D | Makefile | 19 -I${ZFSTOP}/module/icp/include \
|
| /freebsd/cddl/lib/pam_zfs_key/ |
| H A D | Makefile | 22 CFLAGS+= -I${ZFSTOP}/module/icp/include
|