OVPN_MODE_P2P
[IFLA_OVPN_MODE] = NLA_POLICY_RANGE(NLA_U8, OVPN_MODE_P2P,
enum ovpn_mode mode = OVPN_MODE_P2P;
if (ovpn->mode == OVPN_MODE_P2P && (attrs[OVPN_A_PEER_VPN_IPV4] ||
if (ovpn->mode == OVPN_MODE_P2P) {
case OVPN_MODE_P2P:
case OVPN_MODE_P2P:
case OVPN_MODE_P2P:
case OVPN_MODE_P2P:
if (ovpn->mode == OVPN_MODE_P2P)
if (ovpn->mode == OVPN_MODE_P2P)
case OVPN_MODE_P2P:
if (ovpn->mode == OVPN_MODE_P2P) {
if (ovpn->mode == OVPN_MODE_P2P) {
ovpn->mode = OVPN_MODE_P2P;