Home
last modified time | relevance | path

Searched refs:ipsec (Results 1 – 25 of 51) sorted by relevance

123

/freebsd-13-stable/sys/netpfil/ipfilter/netinet/
HDip_ipsec_pxy.c134 ipsec_pxy_t *ipsec; in ipf_p_ipsec_new() local
162 KMALLOC(ipsec, ipsec_pxy_t *); in ipf_p_ipsec_new()
163 if (ipsec == NULL) in ipf_p_ipsec_new()
168 KFREE(ipsec); in ipf_p_ipsec_new()
172 aps->aps_data = ipsec; in ipf_p_ipsec_new()
173 aps->aps_psiz = sizeof(*ipsec); in ipf_p_ipsec_new()
174 bzero((char *)ipsec, sizeof(*ipsec)); in ipf_p_ipsec_new()
176 ipsec->ipsc_rule = ipn; in ipf_p_ipsec_new()
223 bcopy(ptr, (char *)ipsec->ipsc_icookie, sizeof(ipsec_cookie_t)); in ipf_p_ipsec_new()
225 bcopy(ptr, (char *)ipsec->ipsc_rcookie, sizeof(ipsec_cookie_t)); in ipf_p_ipsec_new()
[all …]
/freebsd-13-stable/sys/dev/mlx5/mlx5_fpga/
HDmlx5fpga_ipsec.c143 spin_lock_irqsave(&fdev->ipsec->pending_cmds_lock, flags); in mlx5_fpga_ipsec_recv()
144 context = list_first_entry_or_null(&fdev->ipsec->pending_cmds, in mlx5_fpga_ipsec_recv()
149 spin_unlock_irqrestore(&fdev->ipsec->pending_cmds_lock, flags); in mlx5_fpga_ipsec_recv()
183 if (!fdev || !fdev->ipsec) in mlx5_fpga_ipsec_sa_cmd_exec()
196 spin_lock_irqsave(&fdev->ipsec->pending_cmds_lock, flags); in mlx5_fpga_ipsec_sa_cmd_exec()
197 list_add_tail(&context->list, &fdev->ipsec->pending_cmds); in mlx5_fpga_ipsec_sa_cmd_exec()
198 spin_unlock_irqrestore(&fdev->ipsec->pending_cmds_lock, flags); in mlx5_fpga_ipsec_sa_cmd_exec()
202 res = mlx5_fpga_sbu_conn_sendmsg(fdev->ipsec->conn, &context->buf); in mlx5_fpga_ipsec_sa_cmd_exec()
206 spin_lock_irqsave(&fdev->ipsec->pending_cmds_lock, flags); in mlx5_fpga_ipsec_sa_cmd_exec()
208 spin_unlock_irqrestore(&fdev->ipsec->pending_cmds_lock, flags); in mlx5_fpga_ipsec_sa_cmd_exec()
[all …]
HDcore.h74 struct mlx5_fpga_ipsec *ipsec; member
/freebsd-13-stable/sbin/ipf/libipf/
HDprintaps.c22 ipsec_pxy_t ipsec; in printaps() local
99 (ap.aps_psiz == sizeof(ipsec))) { in printaps()
100 if (kmemcpy((char *)&ipsec, (long)ap.aps_data, sizeof(ipsec))) in printaps()
104 (u_int)ntohl(ipsec.ipsc_icookie[0]), in printaps()
105 (u_int)ntohl(ipsec.ipsc_icookie[1]), in printaps()
106 (u_int)ntohl(ipsec.ipsc_rcookie[0]), in printaps()
107 (u_int)ntohl(ipsec.ipsc_rcookie[1]), in printaps()
108 ipsec.ipsc_rckset ? "(Set)" : "(Not set)"); in printaps()
/freebsd-13-stable/tests/sys/netipsec/tunnel/
HDutils.subr10 if ! sysctl -q kern.features.ipsec >/dev/null ; then
11 atf_skip "This test requires ipsec"
102 printf " ipsec esp/tunnel/${SRC_GW}-${DST_GW}/require;\n"
105 printf " ipsec esp/tunnel/${DST_GW}-${SRC_GW}/require;\n"
110 ) > ${TMPDIR}/ipsec.${jname}.conf
119 atf_check -s exit:0 -o ignore jexec ipsecA setkey -f ${TMPDIR}/ipsec.ipsecA.conf
121 atf_check -s exit:0 -o ignore jexec ipsecB setkey -f ${TMPDIR}/ipsec.ipsecB.conf
122 # Check ipsec tunnel
/freebsd-13-stable/sys/netipsec/
HDipsec_mod.c142 DECLARE_MODULE(ipsec, ipsec_mod, SI_SUB_PROTO_DOMAIN, SI_ORDER_ANY);
143 MODULE_VERSION(ipsec, 1);
145 MODULE_DEPEND(ipsec, ipsec_support, 1, 1, 1);
/freebsd-13-stable/sbin/setkey/
HDsample.cf46 spdadd fec0::10[any] fec0::11[110] tcp -P out ipsec
48 spdadd fec0::11[110] fec0::10[any] tcp -P in ipsec
72 spdadd 10.0.1.0/24 10.0.2.0/24 any -P out ipsec
74 spdadd 10.0.2.0/24 10.0.1.0/24 any -P in ipsec
89 spdadd 10.0.2.0/24 10.0.1.0/24 any -P out ipsec
91 spdadd 10.0.1.0/24 10.0.2.0/24 any -P in ipsec
112 spdadd fec0:0:0:1::/64 fec0:0:0:2::/64 any -P out ipsec
115 spdadd fec0:0:0:2::/64 fec0:0:0:1::/64 any -P in ipsec
147 spdadd fec0:0:0:1::1[any] fec0:0:0:2::2[80] tcp -P out ipsec
150 spdadd fec0:0:0:2::1[80] fec0:0:0:1::1[any] tcp -P in ipsec
HDMakefile57 LIBADD+= ipsec
/freebsd-13-stable/tools/build/options/
HDWITHOUT_IPSEC_SUPPORT2 .Xr ipsec 4
5 .Xr ipsec 4
/freebsd-13-stable/sys/modules/ipsec/
HDMakefile4 KMOD= ipsec
5 SRCS= if_ipsec.c ipsec.c ipsec_input.c ipsec_mbuf.c ipsec_mod.c \
/freebsd-13-stable/usr.bin/telnet/
HDMakefile26 LIBADD+= ipsec
31 LIBADD+= mp crypto ipsec pam
/freebsd-13-stable/sys/contrib/device-tree/Bindings/crypto/
HDpicochip-spacc.txt7 - compatible : "picochip,spacc-ipsec" for the IPSEC offload engine
16 compatible = "picochip,spacc-ipsec";
/freebsd-13-stable/tools/regression/netinet/tcpconnect/
HDREADME.tcp-md56 * add this to /etc/ipsec.conf (the md5 'secret' is just a sample)
11 and apply it with sh /etc/rc.d/ipsec start
/freebsd-13-stable/usr.bin/nc/
HDMakefile10 LIBADD= ipsec
/freebsd-13-stable/usr.sbin/inetd/
HDMakefile26 LIBADD+= ipsec
/freebsd-13-stable/usr.sbin/rrenumd/
HDMakefile25 LIBADD= ipsec
/freebsd-13-stable/usr.sbin/traceroute6/
HDMakefile36 LIBADD+= ipsec
/freebsd-13-stable/lib/libipsec/
HDMakefile33 LIB= ipsec
/freebsd-13-stable/sbin/ping/
HDMakefile35 LIBADD+= ipsec
/freebsd-13-stable/usr.sbin/traceroute/
HDMakefile30 LIBADD+= ipsec
/freebsd-13-stable/libexec/rc/
HDnetstart47 /etc/rc.d/ipsec ${_start}
/freebsd-13-stable/tools/regression/priv/
HDMakefile50 LIBADD+= ipsec
/freebsd-13-stable/sys/contrib/device-tree/src/arm/
HDpicoxcell-pc3x2.dtsi89 ipsec: spacc@100000 { label
90 compatible = "picochip,spacc-ipsec";
HDpicoxcell-pc3x3.dtsi188 ipsec: spacc@100000 { label
189 compatible = "picochip,spacc-ipsec";
/freebsd-13-stable/usr.bin/netstat/
HDMakefile7 unix.c mroute6.c ipsec.c bpf.c pfkey.c sctp.c common.c nhops.c nhgrp.c \

123