/src/lib/libwrap/ |
fix_options.c | 48 int ipproto; local in function:fix_options 72 ipproto = ip->p_proto; 74 ipproto = IPPROTO_IP; 76 if (getsockopt(fd, ipproto, IP_OPTIONS, optbuf, &optsize) == 0 140 if (setsockopt(fd, ipproto, IP_OPTIONS, (char *) 0, optsize) != 0) {
|
/src/tests/net/ipsec/ |
t_ipsec_tcp.sh | 249 local ipproto=$1 256 desc="Tests of TCP with IPsec enabled ($ipproto)" 257 name="ipsec_tcp_${ipproto}_${proto}" 259 desc="Tests of TCP with IPsec ($ipproto) $proto $algo" 260 name="ipsec_tcp_${ipproto}_${proto}_${_algo}" 270 test_tcp_${ipproto} $proto $algo
|
t_ipsec_transport.sh | 220 local ipproto=$1 224 if [ $ipproto = ipv4 ]; then 233 local ipproto=$1 239 name="ipsec_transport_${ipproto}_${proto}_${_algo}" 240 desc="Tests of IPsec ($ipproto) transport mode with $proto ($algo)" 249 test_transport_common $ipproto $proto $algo
|
t_ipsec_sockopt.sh | 334 local ipproto=$1 338 if [ $ipproto = ipv4 ]; then 347 local ipproto=$1 353 name="ipsec_IP_IPSEC_POLICY_${ipproto}_${proto}_${_algo}" 354 desc="Tests of IP_IPSEC_POLICY socket option (${ipproto}, ${proto}, ${_algo})" 363 test_IP_IPSEC_POLICY_common $ipproto $proto $algo
|
t_ipsec_tunnel.sh | 267 local ipproto=$1 271 if [ $ipproto = ipv4 ]; then 280 local ipproto=$1 286 name="ipsec_tunnel_${ipproto}_${proto}_${_algo}" 287 desc="Tests of IPsec ($ipproto) tunnel mode with $proto ($algo)" 296 test_tunnel_common $ipproto $proto $algo
|
t_ipsec_tunnel_odd.sh | 279 local ipproto=$1 283 if [ $ipproto = v4v6 ]; then 292 local ipproto=$1 298 name="ipsec_tunnel_${ipproto}_${proto}_${_algo}" 299 if [ $ipproto = v4v6 ]; then 312 test_tunnel_common $ipproto $proto $algo
|
t_ipsec_l2tp.sh | 43 local ipproto=$4 51 if [ $ipproto = ipv4 ]; then 357 local ipproto=$1 362 if [ $ipproto = ipv4 ]; then 371 local ipproto=$1 378 name="ipsec_l2tp_${ipproto}_${mode}_${proto}_${_algo}" 379 desc="Tests of l2tp/IPsec ($ipproto) ${mode} mode with $proto ($algo)" 388 test_ipsec_l2tp_common $ipproto $mode $proto $algo
|
t_ipsec_gif.sh | 45 local ipproto=$6 371 local ipproto=$1 376 if [ $ipproto = ipv4 ]; then 385 local ipproto=$1 392 name="ipsec_gif_${ipproto}_${mode}_${proto}_${_algo}" 393 desc="Tests of gif/IPsec ($ipproto) ${mode} mode with $proto ($algo)" 402 test_ipsec_gif_common $ipproto $mode $proto $algo
|
t_ipsec_tunnel_ipcomp.sh | 352 local ipproto=$1 357 if [ $ipproto = ipv4 ]; then 366 local ipproto=$1 373 name="ipsec_tunnel_ipcomp_${calgo}_${ipproto}_${proto}_${_algo}" 374 desc="Tests of IPsec ($ipproto) tunnel mode with $proto ($algo) and ipcomp ($calgo)" 383 test_tunnel_ipcomp_common $ipproto $proto $algo $calgo
|
t_ipsec_misc.sh | 272 local ipproto=$1 276 if [ $ipproto = ipv4 ]; then 285 local ipproto=$1 291 name="ipsec_lifetime_${ipproto}_${proto}_${_algo}" 292 desc="Tests of lifetime of IPsec ($ipproto) with $proto ($algo)" 301 test_lifetime_common $ipproto $proto $algo
|
/src/tests/net/carp/ |
t_basic.sh | 317 local ipproto=$1 322 name="carp_handover_${ipproto}_${halt}" 323 desc="Tests for CARP (${ipproto}) handover on ${halt}" 340 test_carp_handover_${ipproto} $halt $carpdevip
|
/src/tests/net/altq/ |
t_cbq.sh | 423 local ipproto=$3 425 name="altq_${algo}_${type}_${ipproto}" 426 desc="Tests for ALTQ $algo (${type}) on ${ipproto}" 435 test_altq_${algo}_${type}_${ipproto}
|
/src/libexec/rlogind/ |
rlogind.c | 354 int ipproto; local in function:doit 358 ipproto = ip->p_proto; 360 ipproto = IPPROTO_IP; 361 if (getsockopt(0, ipproto, IP_OPTIONS, (char *)optbuf, 370 if (setsockopt(0, ipproto, IP_OPTIONS,
|
/src/libexec/rshd/ |
rshd.c | 314 int ipproto; local in function:doit 319 ipproto = ip->p_proto; 321 ipproto = IPPROTO_IP; 322 if (!getsockopt(0, ipproto, IP_OPTIONS, (char *)optbuf, &optsize) &&
|
/src/sys/dev/pci/ixgbe/ |
ix_txrx.c | 847 u8 ipproto = 0; local in function:ixgbe_tx_ctx_setup 916 ipproto = ip->ip_p; 926 ipproto = ip6->ip6_nxt; 941 switch (ipproto) {
|