local Iface Destination Gateway Flags RefCnt Use Metric Mask MTU Window IRTT
while read Iface Destination Gateway Flags RefCnt Use Metric Mask MTU Window IRTT; do
[[ $Destination == ${1:-00000000} && $Mask == ${2:-00000000} ]] && return 0
done </proc/net/route
return 1
# vim: ft=zsh noet ts=4 sts=4 sw=4