Lines Matching full:bind

597 		log_test_addr ${a} $? 0 "ping out, device bind"
601 log_test_addr ${a} $? 0 "ping out, address bind"
645 log_test_addr ${a} $? 0 "ping local, device bind"
647 # loopback addresses not reachable from device bind
655 log_test_addr ${a} $? 1 "ping local, device bind"
672 # a viable rtable if the oif (e.g., bind to device) is set, so this
700 # a viable rtable if the oif (e.g., bind to device) is set, so this
721 # a viable rtable if the oif (e.g., bind to device) is set, so this
740 log_test_addr ${a} $? 0 "ping out, VRF bind"
744 log_test_addr ${a} $? 0 "ping out, device bind"
748 log_test_addr ${a} $? 0 "ping out, vrf device + dev address bind"
752 log_test_addr ${a} $? 0 "ping out, vrf device + vrf address bind"
773 log_test_addr ${a} $? 0 "ping local, VRF bind"
783 log_test_addr ${a} $? 0 "ping local, device bind"
791 log_test_addr ${a} $? 2 "ping local, device bind"
803 log_test_addr ${a} $? 2 "ping out, vrf bind, blocked by rule"
807 log_test_addr ${a} $? 2 "ping out, device bind, blocked by rule"
827 log_test_addr ${a} $? 2 "ping out, vrf bind, unreachable route"
831 log_test_addr ${a} $? 2 "ping out, device bind, unreachable route"
1084 run_cmd nettest -s -I ${VRF} -M ${MD5_PW} -m ${NS_NET} --no-bind-key-ifindex &
1091 run_cmd nettest -s -I ${VRF} -M ${MD5_PW} -m ${NS_NET} --force-bind-key-ifindex &
1105 run_cmd nettest -s -M ${MD5_PW} -m ${NS_NET} --force-bind-key-ifindex &
1111 run_cmd nettest -s -M ${MD5_PW} -m ${NS_NET} --force-bind-key-ifindex &
1117 run_cmd nettest -s -M ${MD5_PW} -m ${NS_NET} --no-bind-key-ifindex &
1123 run_cmd nettest -s -M ${MD5_PW} -m ${NS_NET} --no-bind-key-ifindex &
1232 log_test_addr ${a} $? 0 "Client, device bind"
1423 log_test_addr ${a} $? 0 "Client, VRF bind"
1429 log_test_addr ${a} $? 0 "Client, device bind"
1544 log_test_addr ${a} $? 0 "Client, device bind"
1556 log_test_addr ${a} $? 0 "Client, device bind via IP_UNICAST_IF"
1562 log_test_addr ${a} $? 0 "Client, device bind via IP_UNICAST_IF, with connect()"
1631 # IPv4 with device bind has really weird behavior - it overrides the
1911 # IPv4 address bind
1913 # verifies ability or inability to bind to an address / device
1924 log_test_addr ${a} $? 0 "Raw socket bind to local address"
1928 log_test_addr ${a} $? 0 "Raw socket bind to local address after device bind"
1932 # tests for nonlocal bind
1937 log_test_addr ${a} $? 0 "Raw socket bind to nonlocal address"
1941 log_test_addr ${a} $? 0 "TCP socket bind to nonlocal address"
1945 log_test_addr ${a} $? 0 "ICMP socket bind to nonlocal address"
1948 # check that ICMP sockets cannot bind to broadcast and multicast addresses
1953 log_test_addr ${a} $? 1 "ICMP socket bind to broadcast address"
1958 log_test_addr ${a} $? 1 "ICMP socket bind to multicast address"
1966 log_test_addr ${a} $? 0 "TCP socket bind to local address"
1970 log_test_addr ${a} $? 0 "TCP socket bind to local address after device bind"
1980 #log_test_addr ${a} $? 1 "TCP socket bind to out of scope local address"
1993 log_test_addr ${a} $? 1 "Raw socket bind to local address"
1997 log_test_addr ${a} $? 0 "Raw socket bind to local address after device bind"
2000 log_test_addr ${a} $? 0 "Raw socket bind to local address after VRF bind"
2007 log_test_addr ${a} $? 1 "Raw socket bind to out of scope address after VRF bind"
2010 # tests for nonlocal bind
2015 log_test_addr ${a} $? 0 "Raw socket bind to nonlocal address after VRF bind"
2019 log_test_addr ${a} $? 0 "TCP socket bind to nonlocal address after VRF bind"
2023 log_test_addr ${a} $? 0 "ICMP socket bind to nonlocal address after VRF bind"
2026 # check that ICMP sockets cannot bind to broadcast and multicast addresses
2031 log_test_addr ${a} $? 1 "ICMP socket bind to broadcast address after VRF bind"
2036 log_test_addr ${a} $? 1 "ICMP socket bind to multicast address after VRF bind"
2045 log_test_addr ${a} $? 0 "TCP socket bind to local address"
2049 log_test_addr ${a} $? 0 "TCP socket bind to local address after device bind"
2056 log_test_addr ${a} $? 1 "TCP socket bind to invalid local address for VRF"
2061 log_test_addr ${a} $? 1 "TCP socket bind to invalid local address for device bind"
2286 log_test_addr ${a} $? 0 "ping out, device bind"
2290 log_test_addr ${a} $? 0 "ping out, loopback address bind"
2310 log_test_addr ${a} $? 0 "ping local, no bind"
2317 log_test_addr ${a} $? 0 "ping local, device bind"
2325 log_test_addr ${a} $? 2 "ping local, device bind"
2343 log_test_addr ${a} $? 2 "ping out, device bind, blocked by rule"
2370 log_test_addr ${a} $? 2 "ping out, device bind, blocked by route"
2392 log_test_addr ${a} $? 2 "ping out, device bind, unreachable route"
2409 log_test_addr ${a} $? 0 "ping out, VRF bind"
2417 log_test_addr ${a} $? 1 "ping out, VRF bind"
2424 log_test_addr ${a} $? 0 "ping out, device bind"
2431 log_test_addr ${a} $? 0 "ping out, vrf device+address bind"
2458 log_test_addr ${a} $? 0 "ping local, VRF bind"
2465 log_test_addr ${a} $? 0 "ping local, device bind"
2497 log_test_addr ${a} $? 2 "ping out, device bind, blocked by rule"
2521 log_test_addr ${a} $? 2 "ping out, device bind, unreachable route"
2807 log_test_addr ${a} $? 0 "Client, device bind"
3034 log_test_addr ${a} $? 0 "Client, VRF bind"
3043 log_test_addr ${a} $? 1 "Client, VRF bind"
3051 log_test_addr ${a} $? 0 "Client, device bind"
3196 log_test_addr ${a} $? 0 "Client, device bind"
3208 log_test_addr ${a} $? 0 "Client, device bind via IPV6_UNICAST_IF"
3627 # IPv6 address bind
3638 log_test_addr ${a} $? 0 "Raw socket bind to local address"
3642 log_test_addr ${a} $? 0 "Raw socket bind to local address after device bind"
3646 # raw socket with nonlocal bind
3651 log_test_addr ${a} $? 0 "Raw socket bind to nonlocal address"
3659 log_test_addr ${a} $? 0 "TCP socket bind to local address"
3663 log_test_addr ${a} $? 0 "TCP socket bind to local address after device bind"
3672 log_test_addr ${a} $? 0 "TCP socket bind to out of scope local address"
3684 log_test_addr ${a} $? 0 "Raw socket bind to local address after vrf bind"
3688 log_test_addr ${a} $? 0 "Raw socket bind to local address after device bind"
3695 log_test_addr ${a} $? 1 "Raw socket bind to invalid local address after vrf bind"
3698 # raw socket with nonlocal bind
3703 log_test_addr ${a} $? 0 "Raw socket bind to nonlocal address after VRF bind"
3713 log_test_addr ${a} $? 0 "TCP socket bind to local address with VRF bind"
3719 log_test_addr ${a} $? 0 "TCP socket bind to local address with device bind"
3729 log_test_addr ${a} $? 0 "TCP socket bind to VRF address with device bind"
3735 log_test_addr ${a} $? 1 "TCP socket bind to invalid local address for VRF"
3740 log_test_addr ${a} $? 1 "TCP socket bind to invalid local address for device bind"
4318 ipv4_bind|bind) ipv4_addr_bind;;