has_protocol
if (has_protocol(group, protocol)) {
if (protocol == NULL || has_protocol(group, protocol)) {
if (proto != NULL && !has_protocol(group, proto)) {
if (!has_protocol(group, proto))
if (!has_protocol(group, proto))